Changeset 20100 for trunk/wp-admin/includes/class-wp-list-table.php
- Timestamp:
- 03/02/2012 11:06:31 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-list-table.php
r20094 r20100 904 904 * @access private 905 905 */ 906 function _js_vars( ) {906 function _js_vars( $extra_args = array() ) { 907 907 $current_screen = get_current_screen(); 908 908 … … 915 915 ); 916 916 917 if ( is_array( $extra_args ) ) 918 $args = array_merge( $args, $extra_args ); 919 917 920 printf( "<script type='text/javascript'>list_args = %s;</script>\n", json_encode( $args ) ); 918 921 }
Note: See TracChangeset
for help on using the changeset viewer.