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

git-svn-id: http://svn.automattic.com/wordpress/trunk@19064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-10-25 16:05:39 +00:00
parent 68225fdf13
commit 1e6e52e1c1

View File

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