WordPress.org

Make WordPress Core

Changeset 33219


Ignore:
Timestamp:
07/13/2015 08:43:51 PM (6 years ago)
Author:
DrewAPicture
Message:

Fix syntax and add missing @access tags to a variety of methods added to WP_Customize_Nav_Menus_Panel in 4.3.

See [32855]. See #32891.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-panel.php

    r32965 r33219  
    2828     * @static
    2929     * @access protected
     30     * @static
    3031     * @var int
    3132     */
     
    312313     *
    313314     * This function is only run for panel types that have been registered with
    314      * {@see WP_Customize_Manager::register_panel_type()}.
    315      *
    316      * @since 4.3.0
     315     * WP_Customize_Manager::register_panel_type().
     316     *
     317     * @since 4.3.0
     318     *
     319     * @see WP_Customize_Manager::register_panel_type()
    317320     */
    318321    public function print_template() {
     
    331334     *
    332335     * Class variables for this panel class are available in the `data` JS object;
    333      * export custom variables by overriding {@see WP_Customize_Panel::json()}.
     336     * export custom variables by overriding WP_Customize_Panel::json().
    334337     *
    335338     * @see WP_Customize_Panel::print_template()
    336339     *
    337340     * @since 4.3.0
     341     * @access protected
    338342     */
    339343    protected function render_template() {
     
    353357     *
    354358     * Class variables for this panel class are available in the `data` JS object;
    355      * export custom variables by overriding {@see WP_Customize_Panel::json()}.
     359     * export custom variables by overriding WP_Customize_Panel::json().
    356360     *
    357361     * @see WP_Customize_Panel::print_template()
    358362     *
    359363     * @since 4.3.0
     364     * @access protected
    360365     */
    361366    protected function content_template() {
     
    386391 *
    387392 * @since 4.3.0
     393 *
     394 * @see WP_Customize_Panel
    388395 */
    389396class WP_Customize_Nav_Menus_Panel extends WP_Customize_Panel {
     
    393400     *
    394401     * @since 4.3.0
    395      *
    396402     * @access public
    397403     * @var string
     
    403409     *
    404410     * @since 4.3.0
     411     * @access public
    405412     */
    406413    public function render_screen_options() {
     
    419426     *
    420427     * @since 4.3.0
     428     * @access public
    421429     *
    422430     * @return array The advanced menu properties.
     
    438446     *
    439447     * Class variables for this panel class are available in the `data` JS object;
    440      * export custom variables by overriding {@see WP_Customize_Panel::json()}.
    441      *
    442      * @since 4.3.0
     448     * export custom variables by overriding WP_Customize_Panel::json().
     449     *
     450     * @since 4.3.0
     451     * @access protected
    443452     *
    444453     * @see WP_Customize_Panel::print_template()
    445      *
    446      * @since 4.3.0
    447454     */
    448455    protected function content_template() {
Note: See TracChangeset for help on using the changeset viewer.