Make WordPress Core


Ignore:
Timestamp:
09/11/2008 01:46:30 AM (17 years ago)
Author:
ryan
Message:

Column hiding for manage posts. see #7725

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r8857 r8858  
    258258            'time' => time()
    259259        ) );
     260
     261        $scripts->add( 'posts', '/wp-admin/js/posts.js', array('columns'), '20080910' );
     262
     263        $scripts->add( 'columns', '/wp-admin/js/columns.js', false, '20080910' );
     264        $scripts->localize( 'columns', 'columnsL10n', array(
     265            'requestFile' => admin_url('admin-ajax.php'),
     266        ) );
    260267    }
    261268}
Note: See TracChangeset for help on using the changeset viewer.