From e37d1acc1c9cb3762d19850fb2051f7554374c35 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 28 Oct 2020 00:45:06 +0000 Subject: [PATCH] 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 --- wp-includes/js/customize-base.js | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/js/customize-base.js b/wp-includes/js/customize-base.js index 8fd247052c..e6aeb8b641 100644 --- a/wp-includes/js/customize-base.js +++ b/wp-includes/js/customize-base.js @@ -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; }; diff --git a/wp-includes/version.php b/wp-includes/version.php index 831f710396..f835bc6da7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.