Comments post-box: show comments on the currently edited post with ajax, 20 at a time

git-svn-id: https://develop.svn.wordpress.org/trunk@9225 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2008-10-17 09:44:22 +00:00
parent 3a47d129af
commit 492d8278cb
6 changed files with 98 additions and 18 deletions

View File

@@ -183,6 +183,8 @@ function wp_default_scripts( &$scripts ) {
'separate' => __('Separate tags with commas'),
'cancel' => __('Cancel'),
'edit' => __('Edit'),
'showcomm' => __('Show more comments'),
'endcomm' => __('No more comments found.')
) );
$scripts->add( 'page', '/wp-admin/js/page.js', array('jquery', 'slug', 'postbox', 'settings-box'), '20080925' );
$scripts->localize( 'page', 'postL10n', array(