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:
parent
5308f570cb
commit
89689e5ba9
|
@ -3799,6 +3799,8 @@ final class WP_Customize_Manager {
|
||||||
/**
|
/**
|
||||||
* Remove a customize setting.
|
* 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
|
* @since 3.4.0
|
||||||
*
|
*
|
||||||
* @param string $id Customize Setting ID.
|
* @param string $id Customize Setting ID.
|
||||||
|
@ -3855,6 +3857,8 @@ final class WP_Customize_Manager {
|
||||||
/**
|
/**
|
||||||
* Remove a customize panel.
|
* 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
|
* @since 4.0.0
|
||||||
*
|
*
|
||||||
* @param string $id Panel ID to remove.
|
* @param string $id Panel ID to remove.
|
||||||
|
@ -3951,6 +3955,8 @@ final class WP_Customize_Manager {
|
||||||
/**
|
/**
|
||||||
* Remove a customize section.
|
* 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
|
* @since 3.4.0
|
||||||
*
|
*
|
||||||
* @param string $id Section ID.
|
* @param string $id Section ID.
|
||||||
|
@ -4026,6 +4032,8 @@ final class WP_Customize_Manager {
|
||||||
/**
|
/**
|
||||||
* Remove a customize control.
|
* 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
|
* @since 3.4.0
|
||||||
*
|
*
|
||||||
* @param string $id ID of the control.
|
* @param string $id ID of the control.
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue