mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +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.
|
* 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user