Make WordPress Core


Ignore:
Timestamp:
03/16/2012 09:05:00 PM (15 years ago)
Author:
nacin
Message:

Remove jQuery Masonry from Appearance > Header until we figure out sporadic issues relating to overlapping images (probably due to lame markup). see #17242.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/custom-header.php

    r20060 r20206  
    141141                $step = $this->step();
    142142
    143                 if ( 1 == $step )
    144                         wp_enqueue_script('jquery-masonry');
    145143                if ( ( 1 == $step || 3 == $step ) && $this->header_text() )
    146144                        wp_enqueue_script('farbtastic');
    … …  
    640638</tbody>
    641639</table>
    642 <script type="text/javascript">
    643 jQuery(function() {
    644         jQuery('.available-headers').masonry({
    645                 itemSelector: '.default-header'
    646         });
    647 });
    648 </script>
    649640        <?php if ( $this->header_text() ) : ?>
    650641<table class="form-table">
Note: See TracChangeset for help on using the changeset viewer.