Make WordPress Core


Ignore:
Timestamp:
02/25/2020 05:48:40 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Clarify in WP_Customize_Manager::remove_*() methods that removing a setting, panel, section, or control does not destroy the class instance or remove its filters.

Props dlh, fgiannar, jon81, westonruter.
Fixes #48747.

File:
1 edited

Legend:

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

    r47364 r47367  
    38003800         * Remove a customize setting.
    38013801         *
     3802         * Note that removing the setting doesn't destroy the WP_Customize_Setting instance or remove its filters.
     3803         *
    38023804         * @since 3.4.0
    38033805         *
     
    38553857        /**
    38563858         * Remove a customize panel.
     3859         *
     3860         * Note that removing the panel doesn't destroy the WP_Customize_Panel instance or remove its filters.
    38573861         *
    38583862         * @since 4.0.0
     
    39523956         * Remove a customize section.
    39533957         *
     3958         * Note that removing the section doesn't destroy the WP_Customize_Section instance or remove its filters.
     3959         *
    39543960         * @since 3.4.0
    39553961         *
     
    40264032        /**
    40274033         * Remove a customize control.
     4034         *
     4035         * Note that removing the control doesn't destroy the WP_Customize_Control instance or remove its filters.
    40284036         *
    40294037         * @since 3.4.0
Note: See TracChangeset for help on using the changeset viewer.