@@ -88,14 +88,14 @@ discard block |
||
88 | 88 | */ |
89 | 89 | private $_core_cron_hooks = array( |
90 | 90 | 'do_pings', |
91 | - 'importer_scheduled_cleanup', // WP 3.1+. |
|
91 | + 'importer_scheduled_cleanup', // WP 3.1+. |
|
92 | 92 | 'publish_future_post', |
93 | - 'update_network_counts', // WP 3.1+. |
|
94 | - 'upgrader_scheduled_cleanup', // WP 3.3+. |
|
95 | - 'wp_maybe_auto_update', // WP 3.7+. |
|
93 | + 'update_network_counts', // WP 3.1+. |
|
94 | + 'upgrader_scheduled_cleanup', // WP 3.3+. |
|
95 | + 'wp_maybe_auto_update', // WP 3.7+. |
|
96 | 96 | 'wp_scheduled_auto_draft_delete', // WP 3.4+. |
97 | - 'wp_scheduled_delete', // WP 2.9+. |
|
98 | - 'wp_split_shared_term_batch', // WP 4.3+. |
|
97 | + 'wp_scheduled_delete', // WP 2.9+. |
|
98 | + 'wp_split_shared_term_batch', // WP 4.3+. |
|
99 | 99 | 'wp_update_plugins', |
100 | 100 | 'wp_update_themes', |
101 | 101 | 'wp_version_check', |
@@ -255,10 +255,10 @@ discard block |
||
255 | 255 | $this->_total_crons += count( $data ); |
256 | 256 | |
257 | 257 | if ( in_array( $hook, $this->_core_cron_hooks, true ) ) { |
258 | - $this->_core_crons[ $time ][ $hook ] = $data; |
|
258 | + $this->_core_crons[$time][$hook] = $data; |
|
259 | 259 | $this->_total_core_crons += count( $data ); |
260 | 260 | } else { |
261 | - $this->_user_crons[ $time ][ $hook ] = $data; |
|
261 | + $this->_user_crons[$time][$hook] = $data; |
|
262 | 262 | $this->_total_user_crons += count( $data ); |
263 | 263 | } |
264 | 264 | } |