Make WordPress Core

Changeset 9973


Ignore:
Timestamp:
11/30/2008 03:51:45 AM (17 years ago)
Author:
azaozz
Message:

Bulk Edit improvements, includes patch by FFEMTcJ, fixes #8376

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r9969 r9973  
    950950
    951951    <fieldset class="inline-edit-col-left"><div class="inline-edit-col">
    952         <h4><?php echo $bulk ? __( 'Bulk Edit' ) : __( 'Quick Edit' ); ?></h4>
     952        <h4><?php echo $bulk ? ( $is_page ? __( 'Bulk Edit Pages' ) : __( 'Bulk Edit Posts' ) ) : __( 'Quick Edit' ); ?></h4>
    953953
    954954
  • trunk/wp-admin/js/inline-edit-post.js

    r9738 r9973  
    8989            if ( $(this).attr('checked') ) {
    9090                var id = $(this).val();
    91                 var theTitle = $('#inline_'+id+' .post_title').text() || '#'+id;
    92                 te += '<div id="ttle'+id+'"><a id="_'+id+'" class="ntdelbutton">X</a>'+theTitle+'</div>';
     91                var theTitle = $('#inline_'+id+' .post_title').text() || inlineEditL10n.notitle;
     92                te += '<div id="ttle'+id+'"><a id="_'+id+'" class="ntdelbutton" title="'+inlineEditL10n.ntdeltitle+'">X</a>'+theTitle+'</div>';
    9393            }
    9494        });
  • trunk/wp-admin/wp-admin.css

    r9964 r9973  
    27012701    font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
    27022702    font-style: italic;
     2703    line-height: 1.8em;
    27032704}
    27042705
  • trunk/wp-includes/script-loader.php

    r9964 r9973  
    251251        $scripts->add( 'theme-preview', '/wp-admin/js/theme-preview.js', array( 'thickbox', 'jquery' ), '20080625' );
    252252
    253         $scripts->add( 'inline-edit-post', '/wp-admin/js/inline-edit-post.js', array( 'jquery', 'jquery-form', 'suggest' ), '20081117' );
     253        $scripts->add( 'inline-edit-post', '/wp-admin/js/inline-edit-post.js', array( 'jquery', 'jquery-form', 'suggest' ), '20081129' );
    254254        $scripts->localize( 'inline-edit-post', 'inlineEditL10n', array(
    255             'error' => __('Error while saving the changes.')
     255            'error' => __('Error while saving the changes.'),
     256            'ntdeltitle' => __('Remove From Bulk Edit'),
     257            'notitle' => __('(no title)')
    256258        ) );
    257259
Note: See TracChangeset for help on using the changeset viewer.