mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 07:36:58 +00:00
git-svn-id: https://develop.svn.wordpress.org/trunk@18853 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -897,9 +897,14 @@ class WP_List_Table {
|
||||
* @access private
|
||||
*/
|
||||
function _js_vars() {
|
||||
$current_screen = get_current_screen();
|
||||
|
||||
$args = array(
|
||||
'class' => get_class( $this ),
|
||||
'screen' => get_current_screen()
|
||||
'class' => get_class( $this ),
|
||||
'screen' => array(
|
||||
'id' => $current_screen->id,
|
||||
'base' => $current_screen->base,
|
||||
)
|
||||
);
|
||||
|
||||
printf( "<script type='text/javascript'>list_args = %s;</script>\n", json_encode( $args ) );
|
||||
|
||||
Reference in New Issue
Block a user