mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-11 02:49:04 +01:00
git-svn-id: http://svn.automattic.com/wordpress/trunk@19064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
68225fdf13
commit
1e6e52e1c1
@ -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
Block a user