[wp-trac] [WordPress Trac] #27355: Customizer: Add framework for selective refresh (partial preview refreshes)
WordPress Trac
noreply at wordpress.org
Mon Feb 29 21:53:22 UTC 2016
#27355: Customizer: Add framework for selective refresh (partial preview refreshes)
-------------------------------------------------+-------------------------
Reporter: westonruter | Owner:
Type: task (blessed) | westonruter
Priority: normal | Status: closed
Component: Customize | Milestone: 4.5
Severity: normal | Version: 3.4
Keywords: has-patch has-unit-tests commit | Resolution: fixed
has-screenshots | Focuses: javascript
-------------------------------------------------+-------------------------
Comment (by boonebgorges):
In [changeset:"36784"]:
{{{
#!CommitTicketReference repository="" revision="36784"
More specific test for a bad callback in `WP_Customize_Partial` test.
The 'render_callback' passed to `WP_Customize_Partial` must either echo or
return a result - not both. When it's detected that the callback echoes
and
returns a value, the return value takes precedence. This is now reflected
in
the corresponding unit test.
Introduced in [36586].
See #27355. See #36016.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27355#comment:87>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list