Dashboard: Community events formatting improvements

Props Soean.
See #40702.


git-svn-id: https://develop.svn.wordpress.org/trunk@40669 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Konstantin Obenland 2017-05-15 09:43:36 +00:00
parent ddcd8b6ddb
commit 41431d153d

View File

@ -364,7 +364,7 @@ class WP_Community_Events {
*/
protected function trim_events( $response_body ) {
if ( isset( $response_body['events'] ) ) {
$current_timestamp = current_time('timestamp' );
$current_timestamp = current_time( 'timestamp' );
foreach ( $response_body['events'] as $key => $event ) {
// Skip WordCamps, because they might be multi-day events.
@ -401,7 +401,7 @@ class WP_Community_Events {
* @since 4.8.0
*
* @param string $message A description of what occurred.
* @param array $debugging_info Details that provide more context for the
* @param array $details Details that provide more context for the
* log entry.
*/
protected function maybe_log_events_response( $message, $details ) {