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

git-svn-id: http://svn.automattic.com/wordpress/trunk@20206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-03-16 21:05:00 +00:00
parent 7f141db255
commit d37429e4c7
1 changed files with 0 additions and 9 deletions

View File

@ -140,8 +140,6 @@ class Custom_Image_Header {
function js_includes() {
$step = $this->step();
if ( 1 == $step )
wp_enqueue_script('jquery-masonry');
if ( ( 1 == $step || 3 == $step ) && $this->header_text() )
wp_enqueue_script('farbtastic');
elseif ( 2 == $step )
@ -639,13 +637,6 @@ class Custom_Image_Header {
<?php endif; ?>
</tbody>
</table>
<script type="text/javascript">
jQuery(function() {
jQuery('.available-headers').masonry({
itemSelector: '.default-header'
});
});
</script>
<?php if ( $this->header_text() ) : ?>
<table class="form-table">
<tbody>