Fix parameter description syntax for `WP_Screen::get_option()`.

Props zrothauser for the initial patch.
See [30368]. Fixes #30363.


git-svn-id: https://develop.svn.wordpress.org/trunk@30369 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture) 2014-11-17 17:10:56 +00:00
parent e6538f5e00
commit e4bebb4089
1 changed files with 3 additions and 2 deletions

View File

@ -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 ) {