- $scripts->add( 'page', "/wp-admin/js/page$suffix.js", array('jquery', 'slug', 'wp-lists', 'postbox'), '20090526' );
- $scripts->add_data( 'page', 'group', 1 );
- $scripts->localize( 'page', 'postL10n', array(
- 'cancel' => __('Cancel'),
- 'edit' => __('Edit'),
- 'publishOn' => __('Publish on:'),
- 'publishOnFuture' => __('Schedule for:'),
- 'publishOnPast' => __('Published on:'),
- 'showcomm' => __('Show more comments'),
- 'endcomm' => __('No more comments found.'),
- 'publish' => __('Publish'),
- 'schedule' => __('Schedule'),
- 'update' => __('Update Page'),
- 'savePending' => __('Save as Pending'),
- 'saveDraft' => __('Save Draft'),
- 'private' => __('Private'),
- 'public' => __('Public'),
- 'password' => __('Password Protected'),
- 'privatelyPublished' => __('Privately Published'),
- 'published' => __('Published'),
- 'l10n_print_after' => 'try{convertEntities(postL10n);}catch(e){};'
- ) );
-
- $scripts->add( 'link', "/wp-admin/js/link$suffix.js", array('wp-lists', 'postbox'), '20090506' );