X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/0459461f9ea42e0b090759ff6fe5f48360bef750..784f914b1e4b1c62d6657e86397c2e83bcee4295:/wp-admin/includes/misc.php diff --git a/wp-admin/includes/misc.php b/wp-admin/includes/misc.php index d3d2d342..64cc5215 100644 --- a/wp-admin/includes/misc.php +++ b/wp-admin/includes/misc.php @@ -635,6 +635,8 @@ function saveDomDocument($doc, $filename) { * @since 3.0.0 * * @global array $_wp_admin_css_colors + * + * @param int $user_id User ID. */ function admin_color_scheme_picker( $user_id ) { global $_wp_admin_css_colors; @@ -708,7 +710,7 @@ function wp_color_scheme_settings() { $icon_colors = $_wp_admin_css_colors['fresh']->icon_colors; } else { // Fall back to the default set of icon colors if the default scheme is missing. - $icon_colors = array( 'base' => '#999', 'focus' => '#00a0d2', 'current' => '#fff' ); + $icon_colors = array( 'base' => '#82878c', 'focus' => '#00a0d2', 'current' => '#fff' ); } echo '\n"; @@ -729,6 +731,11 @@ function _ipad_meta() { * Check lock status for posts displayed on the Posts screen * * @since 3.6.0 + * + * @param array $response The Heartbeat response. + * @param array $data The $_POST data sent. + * @param string $screen_id The screen id. + * @return array The Heartbeat response. */ function wp_check_locked_posts( $response, $data, $screen_id ) { $checked = array(); @@ -759,6 +766,11 @@ function wp_check_locked_posts( $response, $data, $screen_id ) { * Check lock status on the New/Edit Post screen and refresh the lock * * @since 3.6.0 + * + * @param array $response The Heartbeat response. + * @param array $data The $_POST data sent. + * @param string $screen_id The screen id. + * @return array The Heartbeat response. */ function wp_refresh_post_lock( $response, $data, $screen_id ) { if ( array_key_exists( 'wp-refresh-post-lock', $data ) ) { @@ -797,6 +809,11 @@ function wp_refresh_post_lock( $response, $data, $screen_id ) { * Check nonce expiration on the New/Edit Post screen and refresh if needed * * @since 3.6.0 + * + * @param array $response The Heartbeat response. + * @param array $data The $_POST data sent. + * @param string $screen_id The screen id. + * @return array The Heartbeat response. */ function wp_refresh_post_nonces( $response, $data, $screen_id ) { if ( array_key_exists( 'wp-refresh-post-nonces', $data ) ) { @@ -850,6 +867,10 @@ function wp_heartbeat_set_suspension( $settings ) { * Autosave with heartbeat * * @since 3.9.0 + * + * @param array $response The Heartbeat response. + * @param array $data The $_POST data sent. + * @return array The Heartbeat response. */ function heartbeat_autosave( $response, $data ) { if ( ! empty( $data['wp_autosave'] ) ) {