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:
parent
7f141db255
commit
d37429e4c7
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue