mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 02:04:26 +00:00
Column hiding for manage posts. see #7725
git-svn-id: https://develop.svn.wordpress.org/trunk@8858 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -257,6 +257,13 @@ function wp_default_scripts( &$scripts ) {
|
||||
'uid' => $userid,
|
||||
'time' => time()
|
||||
) );
|
||||
|
||||
$scripts->add( 'posts', '/wp-admin/js/posts.js', array('columns'), '20080910' );
|
||||
|
||||
$scripts->add( 'columns', '/wp-admin/js/columns.js', false, '20080910' );
|
||||
$scripts->localize( 'columns', 'columnsL10n', array(
|
||||
'requestFile' => admin_url('admin-ajax.php'),
|
||||
) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user