WordPress.org

Make WordPress Core

Changeset 38300


Ignore:
Timestamp:
08/22/2016 12:55:42 AM (3 years ago)
Author:
westonruter
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/customize-nav-menus.js

    r37901 r38300  
    647647
    648648        /**
    649          * @since Menu Customizer 0.3
     649         * Initialize.
     650         *
     651         * @since 4.3.0
    650652         *
    651653         * @param {String} id
     
    659661
    660662        /**
    661          *
     663         * Ready.
    662664         */
    663665        ready: function() {
     
    799801
    800802        /**
    801          * @param {array} themeLocations
     803         * @param {Array} themeLocationSlugs Theme location slugs.
    802804         */
    803805        updateAssignedLocationsInSectionTitle: function( themeLocationSlugs ) {
     
    862864         * Add behaviors for the accordion section.
    863865         *
    864          * @since Menu Customizer 0.3
     866         * @since 4.3.0
    865867         */
    866868        attachEvents: function() {
     
    10151017
    10161018        /**
    1017          * @since Menu Customizer 0.3
    1018          *
    10191019         * Override the embed() method to do nothing,
    10201020         * so that the control isn't embedded on load,
    10211021         * unless the containing section is already expanded.
     1022         *
     1023         * @since 4.3.0
    10221024         */
    10231025        embed: function() {
     
    10381040         * will only get embedded when the Section is first expanded.
    10391041         *
    1040          * @since Menu Customizer 0.3
     1042         * @since 4.3.0
    10411043         */
    10421044        actuallyEmbed: function() {
Note: See TracChangeset for help on using the changeset viewer.