Make WordPress Core

Ticket #12369: 12369.diff

File 12369.diff, 1.5 KB (added by mdawaffe, 15 years ago)
  • wp-includes/script-loader.php

     
    278278                $scripts->add( 'postbox', "/wp-admin/js/postbox$suffix.js", array('jquery-ui-sortable'), '20091012' );
    279279                $scripts->add_data( 'postbox', 'group', 1 );
    280280
    281                 $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '20100217' );
     281                $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '20100224' );
    282282                $scripts->add_data( 'post', 'group', 1 );
    283283                $scripts->localize( 'post', 'postL10n', array(
    284284                        'tagsUsed' =>  __('Tags used on this post:'),
  • wp-admin/js/post.dev.js

     
    321321                        return false;
    322322                });
    323323
    324                 $('#' + taxonomy + 'checklist').children('li.popular-category').add( $('#' + taxonomy + 'checklist-pop').children() ).find(':checkbox').live( 'click', function(){
     324                $('#' + taxonomy + 'checklist li.popular-category :checkbox, #' + taxonomy + 'checklist-pop :checkbox').live( 'click', function(){
    325325                        var t = $(this), c = t.is(':checked'), id = t.val();
    326326                        if ( id && t.parents('#taxonomy-'+taxonomy).length )
    327327                                $('#in-' + taxonomy + '-' + id + ', #in-popular-' + taxonomy + '-' + id).attr( 'checked', c );