From 6b83230aa5b21846f2a16dd4d89f737d55a8e2b0 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 17 Nov 2014 17:11:23 +0000 Subject: [PATCH] Fix parameter description syntax for `WP_Screen::get_option()`. Props zrothauser for the initial patch. See [30368]. Fixes #30363. Built from https://develop.svn.wordpress.org/trunk@30369 git-svn-id: http://core.svn.wordpress.org/trunk@30367 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/screen.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/screen.php b/wp-admin/includes/screen.php index e3ae1f6ef4..a62150cfd7 100644 --- a/wp-admin/includes/screen.php +++ b/wp-admin/includes/screen.php @@ -647,8 +647,9 @@ final class WP_Screen { * * @since 3.3.0 * - * @param string $option Option ID. - * @param string $key Optional. Specific array key for when the option is an array. Default false. + * @param string $option Option name. + * @param string $key Optional. Specific array key for when the option is an array. + * Default false. * @return mixed The option value if set, null otherwise. */ public function get_option( $option, $key = false ) {