Docs: Fix default values for `customize/controls.js`.

The old values cannot be parsed by JSDoc.

Props herregroen.
Fixes #44520.

Built from https://develop.svn.wordpress.org/trunk@43391


git-svn-id: http://core.svn.wordpress.org/trunk@43219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
atimmer 2018-07-05 14:07:24 +00:00
parent 5f461574e8
commit 44b8c2e36b
2 changed files with 31 additions and 31 deletions

View File

@ -938,16 +938,16 @@
* *
* @borrows wp.customize~focus as focus * @borrows wp.customize~focus as focus
* *
* @param {string} id - The ID for the container. * @param {string} id - The ID for the container.
* @param {object} options - Object containing one property: params. * @param {object} options - Object containing one property: params.
* @param {string} options.title - Title shown when panel is collapsed and expanded. * @param {string} options.title - Title shown when panel is collapsed and expanded.
* @param {string=} [options.description] - Description shown at the top of the panel. * @param {string} [options.description] - Description shown at the top of the panel.
* @param {number=100} [options.priority] - The sort priority for the panel. * @param {number} [options.priority=100] - The sort priority for the panel.
* @param {string} [options.templateId] - Template selector for container. * @param {string} [options.templateId] - Template selector for container.
* @param {string=default} [options.type] - The type of the panel. See wp.customize.panelConstructor. * @param {string} [options.type=default] - The type of the panel. See wp.customize.panelConstructor.
* @param {string=} [options.content] - The markup to be used for the panel container. If empty, a JS template is used. * @param {string} [options.content] - The markup to be used for the panel container. If empty, a JS template is used.
* @param {boolean=true} [options.active] - Whether the panel is active or not. * @param {boolean} [options.active=true] - Whether the panel is active or not.
* @param {object} [options.params] - Deprecated wrapper for the above properties. * @param {object} [options.params] - Deprecated wrapper for the above properties.
*/ */
initialize: function ( id, options ) { initialize: function ( id, options ) {
var container = this; var container = this;
@ -1406,17 +1406,17 @@
* *
* @since 4.1.0 * @since 4.1.0
* *
* @param {string} id - The ID for the section. * @param {string} id - The ID for the section.
* @param {object} options - Options. * @param {object} options - Options.
* @param {string} options.title - Title shown when section is collapsed and expanded. * @param {string} options.title - Title shown when section is collapsed and expanded.
* @param {string=} [options.description] - Description shown at the top of the section. * @param {string} [options.description] - Description shown at the top of the section.
* @param {number=100} [options.priority] - The sort priority for the section. * @param {number} [options.priority=100] - The sort priority for the section.
* @param {string=default} [options.type] - The type of the section. See wp.customize.sectionConstructor. * @param {string} [options.type=default] - The type of the section. See wp.customize.sectionConstructor.
* @param {string=} [options.content] - The markup to be used for the section container. If empty, a JS template is used. * @param {string} [options.content] - The markup to be used for the section container. If empty, a JS template is used.
* @param {boolean=true} [options.active] - Whether the section is active or not. * @param {boolean} [options.active=true] - Whether the section is active or not.
* @param {string} options.panel - The ID for the panel this section is associated with. * @param {string} options.panel - The ID for the panel this section is associated with.
* @param {string=} [options.customizeAction] - Additional context information shown before the section title when expanded. * @param {string} [options.customizeAction] - Additional context information shown before the section title when expanded.
* @param {object} [options.params] - Deprecated wrapper for the above properties. * @param {object} [options.params] - Deprecated wrapper for the above properties.
*/ */
initialize: function ( id, options ) { initialize: function ( id, options ) {
var section = this, params; var section = this, params;
@ -2756,15 +2756,15 @@
* *
* @since 4.1.0 * @since 4.1.0
* *
* @param {string} id - The ID for the panel. * @param {string} id - The ID for the panel.
* @param {object} options - Object containing one property: params. * @param {object} options - Object containing one property: params.
* @param {string} options.title - Title shown when panel is collapsed and expanded. * @param {string} options.title - Title shown when panel is collapsed and expanded.
* @param {string=} [options.description] - Description shown at the top of the panel. * @param {string} [options.description] - Description shown at the top of the panel.
* @param {number=100} [options.priority] - The sort priority for the panel. * @param {number} [options.priority=100] - The sort priority for the panel.
* @param {string=default} [options.type] - The type of the panel. See wp.customize.panelConstructor. * @param {string} [options.type=default] - The type of the panel. See wp.customize.panelConstructor.
* @param {string=} [options.content] - The markup to be used for the panel container. If empty, a JS template is used. * @param {string} [options.content] - The markup to be used for the panel container. If empty, a JS template is used.
* @param {boolean=true} [options.active] - Whether the panel is active or not. * @param {boolean} [options.active=true] - Whether the panel is active or not.
* @param {object} [options.params] - Deprecated wrapper for the above properties. * @param {object} [options.params] - Deprecated wrapper for the above properties.
*/ */
initialize: function ( id, options ) { initialize: function ( id, options ) {
var panel = this, params; var panel = this, params;

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.0-alpha-43390'; $wp_version = '5.0-alpha-43391';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.