mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-25 21:54:28 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@36784 602fd350-edb4-49c9-b593-d223f7449a82