git-svn-id: https://develop.svn.wordpress.org/trunk@19064 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
219bc246bc
commit
fa00acb382
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue