Improve some docs for @param. Remove an unneeded $wpdb global import.

See #30799.


git-svn-id: https://develop.svn.wordpress.org/trunk@30979 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-12-20 20:55:21 +00:00
parent 04ed6499cd
commit f6f12912e2
6 changed files with 8 additions and 6 deletions

View File

@@ -368,7 +368,7 @@ final class WP_Screen {
* @since 3.3.0
* @access public
*
* @param string $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen.
* @param string|WP_Screen $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen.
* Defaults to the current $hook_suffix global.
* @return WP_Screen Screen object.
*/