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:
Boone Gorges 2016-02-29 21:54:25 +00:00
parent dc6a3284e8
commit 7136d00cc5

View File

@ -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.