/**
* Filter the column headers for a list table on a specific screen.
*
- * The dynamic portion of the hook name, $screen->id, refers to the
+ * The dynamic portion of the hook name, `$screen->id`, refers to the
* ID of a specific screen. For example, the screen ID for the Posts
* list table is edit-post, so the filter for that screen would be
* manage_edit-post_columns.
*
* @since 2.7.0
*
- * @param string|WP_Screen $screen
+ * @param WP_Screen $screen
*/
function meta_box_prefs( $screen ) {
global $wp_meta_boxes;
* Set the current screen object
*
* @since 3.0.0
- * @uses $current_screen
*
* @param mixed $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen,
* or an existing screen object.
*
* @since 3.3.0
*
- * @param string $option Option ID.
- * @param mixed $key Optional. Specific array key for when the option is an array.
+ * @param string $option Option name.
+ * @param string $key Optional. Specific array key for when the option is an array.
+ * Default false.
+ * @return string The option value if set, null otherwise.
*/
public function get_option( $option, $key = false ) {
if ( ! isset( $this->_options[ $option ] ) )
case 'post' :
$expand = '<div class="editor-expand hidden"><label for="editor-expand-toggle">';
$expand .= '<input type="checkbox" id="editor-expand-toggle"' . checked( get_user_setting( 'editor_expand', 'on' ), 'on', false ) . ' />';
- $expand .= __( 'Expand the editor to match the window height.' ) . '</label></div>';
+ $expand .= __( 'Enable full-height editor and distraction-free functionality.' ) . '</label></div>';
$this->_screen_settings = $expand;
break;
default: