[wp-trac] [WordPress Trac] #22037: Live preview fetches page but does not display
WordPress Trac
noreply at wordpress.org
Thu Oct 25 14:37:34 UTC 2012
#22037: Live preview fetches page but does not display
-------------------------------+------------------------------
Reporter: marcoliverteschke | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Appearance | Version: 3.4.2
Severity: normal | Resolution:
Keywords: |
-------------------------------+------------------------------
Changes (by wdfee):
* cc: wdfee (added)
Comment:
same problem here and discussed on http://wordpress.org/support/topic
/customizelive-preview-not-working
The related #21235 doesn't match it in detail. I'm also on a multisite
install, but it doesn't work on mainsite, too.
I have two completely equal installations, one on local test server and
one on remote live server. The local one works perfectly! But on remote
everything is gone.
Server differences:
Local: Apache/2.2.22, PHP/5.3.15
Remote: Apache/2.2.21, PHP/5.3.10
Both installations WP 3.4.2, tested with different themes, including
Twenty Eleven, all plugins deactivated.
As far as I could find out, the scripts are not enqueued completely.
If I comment this action hook in class-wp-customize-manager.php the result
on my local running install is the same as on the blank remote. So if you
others want to know what our problem is, comment out this:
{{{
add_action( 'customize_controls_enqueue_scripts', array( $this,
'enqueue_control_scripts' ) );
}}}
I haven't seen this way of enqueuing scripts like in this function in
WordPress before:
{{{
public function enqueue_control_scripts() {
foreach ( $this->controls as $control ) {
$control->enqueue();
}
}
}}}
I didn't get the logic behind it yet...
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22037#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list