Docs: Remove @access notations from method DocBlocks in wp-includes/* classes.

Prior to about 2013, many class methods lacked even access modifiers which made the `@access` notations that much more useful. Now that we've gotten to a point where the codebase is more mature from a maintenance perspective and we can finally remove these notations. Notable exceptions to this change include standalone functions notated as private as well as some classes still considered to represent "private" APIs.

See #41452.


git-svn-id: https://develop.svn.wordpress.org/trunk@41162 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes
2017-07-27 00:40:27 +00:00
parent 829139ba1a
commit b4d81bd654
135 changed files with 2 additions and 1906 deletions
@@ -26,7 +26,6 @@ class WP_Customize_Panel {
* @since 4.1.0
*
* @static
* @access protected
* @var int
*/
protected static $instance_count = 0;
@@ -35,7 +34,6 @@ class WP_Customize_Panel {
* Order in which this instance was created in relation to other instances.
*
* @since 4.1.0
* @access public
* @var int
*/
public $instance_number;
@@ -44,7 +42,6 @@ class WP_Customize_Panel {
* WP_Customize_Manager instance.
*
* @since 4.0.0
* @access public
* @var WP_Customize_Manager
*/
public $manager;
@@ -53,7 +50,6 @@ class WP_Customize_Panel {
* Unique identifier.
*
* @since 4.0.0
* @access public
* @var string
*/
public $id;
@@ -62,7 +58,6 @@ class WP_Customize_Panel {
* Priority of the panel, defining the display order of panels and sections.
*
* @since 4.0.0
* @access public
* @var integer
*/
public $priority = 160;
@@ -71,7 +66,6 @@ class WP_Customize_Panel {
* Capability required for the panel.
*
* @since 4.0.0
* @access public
* @var string
*/
public $capability = 'edit_theme_options';
@@ -80,7 +74,6 @@ class WP_Customize_Panel {
* Theme feature support for the panel.
*
* @since 4.0.0
* @access public
* @var string|array
*/
public $theme_supports = '';
@@ -89,7 +82,6 @@ class WP_Customize_Panel {
* Title of the panel to show in UI.
*
* @since 4.0.0
* @access public
* @var string
*/
public $title = '';
@@ -98,7 +90,6 @@ class WP_Customize_Panel {
* Description to show in the UI.
*
* @since 4.0.0
* @access public
* @var string
*/
public $description = '';
@@ -107,7 +98,6 @@ class WP_Customize_Panel {
* Auto-expand a section in a panel when the panel is expanded when the panel only has the one section.
*
* @since 4.7.4
* @access public
* @var bool
*/
public $auto_expand_sole_section = false;
@@ -116,7 +106,6 @@ class WP_Customize_Panel {
* Customizer sections for this panel.
*
* @since 4.0.0
* @access public
* @var array
*/
public $sections;
@@ -125,7 +114,6 @@ class WP_Customize_Panel {
* Type of this panel.
*
* @since 4.1.0
* @access public
* @var string
*/
public $type = 'default';
@@ -134,7 +122,6 @@ class WP_Customize_Panel {
* Active callback.
*
* @since 4.1.0
* @access public
*
* @see WP_Customize_Section::active()
*
@@ -179,7 +166,6 @@ class WP_Customize_Panel {
* Check whether panel is active to current Customizer preview.
*
* @since 4.1.0
* @access public
*
* @return bool Whether the panel is active to the current preview.
*/
@@ -207,7 +193,6 @@ class WP_Customize_Panel {
* provide an 'active_callback' argument to the constructor.
*
* @since 4.1.0
* @access public
*
* @return bool Always true.
*/
@@ -303,7 +288,6 @@ class WP_Customize_Panel {
* Panel containers are now rendered in JS by default, see WP_Customize_Panel::print_template().
*
* @since 4.0.0
* @access protected
*/
protected function render() {}
@@ -313,7 +297,6 @@ class WP_Customize_Panel {
* Panel contents are now rendered in JS by default, see WP_Customize_Panel::print_template().
*
* @since 4.1.0
* @access protected
*/
protected function render_content() {}
@@ -347,7 +330,6 @@ class WP_Customize_Panel {
* @see WP_Customize_Panel::print_template()
*
* @since 4.3.0
* @access protected
*/
protected function render_template() {
?>
@@ -370,7 +352,6 @@ class WP_Customize_Panel {
* @see WP_Customize_Panel::print_template()
*
* @since 4.3.0
* @access protected
*/
protected function content_template() {
?>