Changeset 40669
- Timestamp:
- 05/15/2017 09:43:36 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-community-events.php
r40607 r40669 240 240 * @since 4.8.0 241 241 * 242 * @param string 242 * @param string $address The IP address that should be anonymized. 243 243 * @return bool|string The anonymized address on success; the given address 244 244 * or false on failure. … … 270 270 * @since 4.8.0 271 271 * 272 * @param array 272 * @param array $location Should contain 'latitude' and 'longitude' indexes. 273 273 * @return bool|string false on failure, or a string on success. 274 274 */ … … 289 289 * @since 4.8.0 290 290 * 291 * @param array $events 291 * @param array $events Response body from the API request. 292 292 * @param int|bool $expiration Optional. Amount of time to cache the events. Defaults to false. 293 293 * @return bool true if events were cached; false if not. … … 365 365 protected function trim_events( $response_body ) { 366 366 if ( isset( $response_body['events'] ) ) { 367 $current_timestamp = current_time( 'timestamp' );367 $current_timestamp = current_time( 'timestamp' ); 368 368 369 369 foreach ( $response_body['events'] as $key => $event ) { … … 401 401 * @since 4.8.0 402 402 * 403 * @param string $message 404 * @param array $de bugging_infoDetails that provide more context for the405 * 403 * @param string $message A description of what occurred. 404 * @param array $details Details that provide more context for the 405 * log entry. 406 406 */ 407 407 protected function maybe_log_events_response( $message, $details ) {
Note: See TracChangeset
for help on using the changeset viewer.