mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
Customize: Update parameter name in api.Class.extend()
.
This makes the name consistent with the documentation and the `inherits()` function signature. Props ribaricplusplus, davidbaumwald. Fixes #51652. Built from https://develop.svn.wordpress.org/trunk@49353 git-svn-id: http://core.svn.wordpress.org/trunk@49113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a33d6305d1
commit
e37d1acc1c
@ -112,8 +112,8 @@ window.wp = window.wp || {};
|
||||
* @param object staticProps Properties to apply directly to the class.
|
||||
* @return child The subclass.
|
||||
*/
|
||||
api.Class.extend = function( protoProps, classProps ) {
|
||||
var child = inherits( this, protoProps, classProps );
|
||||
api.Class.extend = function( protoProps, staticProps ) {
|
||||
var child = inherits( this, protoProps, staticProps );
|
||||
child.extend = this.extend;
|
||||
return child;
|
||||
};
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.6-beta2-49352';
|
||||
$wp_version = '5.6-beta2-49353';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user