Customize: Define params on `WP_Customize_Partial::render_callback()` for the sake of subclasses overriding this method.
Fixes a strict standards notice regarding the method signature needing to be compatible. See #27355. Built from https://develop.svn.wordpress.org/trunk@36801 git-svn-id: http://core.svn.wordpress.org/trunk@36768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ef7a559e2e
commit
b757de7da9
|
@ -272,9 +272,12 @@ class WP_Customize_Partial {
|
|||
* @since 4.5.0
|
||||
* @access public
|
||||
*
|
||||
* @param WP_Customize_Partial $partial Partial.
|
||||
* @param array $context Context.
|
||||
* @return string|array|false
|
||||
*/
|
||||
public function render_callback() {
|
||||
public function render_callback( WP_Customize_Partial $partial, $context = array() ) {
|
||||
unset( $partial, $context );
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-beta1-36800';
|
||||
$wp_version = '4.5-beta1-36801';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue