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: https://develop.svn.wordpress.org/trunk@20206 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-03-16 21:05:00 +00:00
parent 881ec57e40
commit 15c3656249
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>