Visibility section for the Publish Module for Pages

git-svn-id: https://develop.svn.wordpress.org/trunk@9641 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2008-11-12 19:31:39 +00:00
parent 31f0b9f7a0
commit 7b09b8e47b
4 changed files with 177 additions and 59 deletions

View File

@@ -194,13 +194,12 @@ function wp_default_scripts( &$scripts ) {
'saveDraft' => __('Save Draft'),
'private' => __('Private'),
'public' => __('Public'),
'publicSticky' => __('Public, sticky'),
'password' => __('Password protected'),
'publicSticky' => __('Public, Sticky'),
'password' => __('Password Protected'),
'privatelyPublished' => __('Privately Published'),
'published' => __('Published')
) );
$scripts->add( 'page', '/wp-admin/js/page.js', array('jquery', 'slug', 'wp-lists', 'postbox'), '20081107' );
$scripts->add( 'page', '/wp-admin/js/page.js', array('jquery', 'slug', 'wp-lists', 'postbox'), '20081112' );
$scripts->localize( 'page', 'postL10n', array(
'cancel' => __('Cancel'),
'edit' => __('Edit'),
@@ -213,7 +212,12 @@ function wp_default_scripts( &$scripts ) {
'schedule' => __('Schedule'),
'update' => __('Update Page'),
'savePending' => __('Save as Pending'),
'saveDraft' => __('Save Draft')
'saveDraft' => __('Save Draft'),
'private' => __('Private'),
'public' => __('Public'),
'password' => __('Password Protected'),
'privatelyPublished' => __('Privately Published'),
'published' => __('Published')
) );
$scripts->add( 'link', '/wp-admin/js/link.js', array('jquery-ui-tabs', 'wp-lists', 'postbox'), '20080925' );
$scripts->add( 'comment', '/wp-admin/js/comment.js', array('jquery'), '20081103' );