Docs: Update jsdoc in `customize-nav-menus.js` to remove references to Menu Customizer plugin.

Also fix `@param` for `updateAssignedLocationsInSectionTitle`.

Props gma992, westonruter.
Fixes #37520.

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


git-svn-id: http://core.svn.wordpress.org/trunk@38241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2016-08-22 00:56:27 +00:00
parent 44c499329a
commit 57740f3c91
2 changed files with 10 additions and 8 deletions

View File

@ -646,7 +646,9 @@
api.Menus.MenuSection = api.Section.extend({ api.Menus.MenuSection = api.Section.extend({
/** /**
* @since Menu Customizer 0.3 * Initialize.
*
* @since 4.3.0
* *
* @param {String} id * @param {String} id
* @param {Object} options * @param {Object} options
@ -658,7 +660,7 @@
}, },
/** /**
* * Ready.
*/ */
ready: function() { ready: function() {
var section = this; var section = this;
@ -798,7 +800,7 @@
}, },
/** /**
* @param {array} themeLocations * @param {Array} themeLocationSlugs Theme location slugs.
*/ */
updateAssignedLocationsInSectionTitle: function( themeLocationSlugs ) { updateAssignedLocationsInSectionTitle: function( themeLocationSlugs ) {
var section = this, var section = this,
@ -861,7 +863,7 @@
/** /**
* Add behaviors for the accordion section. * Add behaviors for the accordion section.
* *
* @since Menu Customizer 0.3 * @since 4.3.0
*/ */
attachEvents: function() { attachEvents: function() {
var section = this; var section = this;
@ -1014,11 +1016,11 @@
}, },
/** /**
* @since Menu Customizer 0.3
*
* Override the embed() method to do nothing, * Override the embed() method to do nothing,
* so that the control isn't embedded on load, * so that the control isn't embedded on load,
* unless the containing section is already expanded. * unless the containing section is already expanded.
*
* @since 4.3.0
*/ */
embed: function() { embed: function() {
var control = this, var control = this,
@ -1037,7 +1039,7 @@
* This function is called in Section.onChangeExpanded() so the control * This function is called in Section.onChangeExpanded() so the control
* will only get embedded when the Section is first expanded. * will only get embedded when the Section is first expanded.
* *
* @since Menu Customizer 0.3 * @since 4.3.0
*/ */
actuallyEmbed: function() { actuallyEmbed: function() {
var control = this; var control = this;

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.7-alpha-38299'; $wp_version = '4.7-alpha-38300';
/** /**
* 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.