mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 03:56:07 +00:00
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. Built from https://develop.svn.wordpress.org/trunk@36784 git-svn-id: http://core.svn.wordpress.org/trunk@36751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dc6a3284e8
commit
7136d00cc5
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-beta1-36783';
|
||||
$wp_version = '4.5-beta1-36784';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user