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.
Built from https://develop.svn.wordpress.org/trunk@47367


git-svn-id: http://core.svn.wordpress.org/trunk@47154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-02-25 17:50:05 +00:00
parent 5308f570cb
commit 89689e5ba9
2 changed files with 9 additions and 1 deletions

View File

@ -3799,6 +3799,8 @@ final class WP_Customize_Manager {
/**
* Remove a customize setting.
*
* Note that removing the setting doesn't destroy the WP_Customize_Setting instance or remove its filters.
*
* @since 3.4.0
*
* @param string $id Customize Setting ID.
@ -3855,6 +3857,8 @@ final class WP_Customize_Manager {
/**
* Remove a customize panel.
*
* Note that removing the panel doesn't destroy the WP_Customize_Panel instance or remove its filters.
*
* @since 4.0.0
*
* @param string $id Panel ID to remove.
@ -3951,6 +3955,8 @@ final class WP_Customize_Manager {
/**
* Remove a customize section.
*
* Note that removing the section doesn't destroy the WP_Customize_Section instance or remove its filters.
*
* @since 3.4.0
*
* @param string $id Section ID.
@ -4026,6 +4032,8 @@ final class WP_Customize_Manager {
/**
* Remove a customize control.
*
* Note that removing the control doesn't destroy the WP_Customize_Control instance or remove its filters.
*
* @since 3.4.0
*
* @param string $id ID of the control.

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.4-beta2-47366';
$wp_version = '5.4-beta2-47367';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.