Add missing keyword. fixes #19046, see #18785.

git-svn-id: https://develop.svn.wordpress.org/trunk@19064 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2011-10-25 16:05:39 +00:00
parent 219bc246bc
commit fa00acb382
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ final class WP_Screen {
* Defaults to the current $hook_suffix global.
* @return WP_Screen Screen object.
*/
public function get( $hook_name = '' ) {
public static function get( $hook_name = '' ) {
if ( is_a( $hook_name, 'WP_Screen' ) )
return $hook_name;