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

View File

@@ -26,7 +26,6 @@ class WP_Customize_Section {
* @since 4.1.0
*
* @static
* @access protected
* @var int
*/
protected static $instance_count = 0;
@@ -35,7 +34,6 @@ class WP_Customize_Section {
* 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_Section {
* WP_Customize_Manager instance.
*
* @since 3.4.0
* @access public
* @var WP_Customize_Manager
*/
public $manager;
@@ -53,7 +50,6 @@ class WP_Customize_Section {
* Unique identifier.
*
* @since 3.4.0
* @access public
* @var string
*/
public $id;
@@ -62,7 +58,6 @@ class WP_Customize_Section {
* Priority of the section which informs load order of sections.
*
* @since 3.4.0
* @access public
* @var integer
*/
public $priority = 160;
@@ -71,7 +66,6 @@ class WP_Customize_Section {
* Panel in which to show the section, making it a sub-section.
*
* @since 4.0.0
* @access public
* @var string
*/
public $panel = '';
@@ -80,7 +74,6 @@ class WP_Customize_Section {
* Capability required for the section.
*
* @since 3.4.0
* @access public
* @var string
*/
public $capability = 'edit_theme_options';
@@ -89,7 +82,6 @@ class WP_Customize_Section {
* Theme feature support for the section.
*
* @since 3.4.0
* @access public
* @var string|array
*/
public $theme_supports = '';
@@ -98,7 +90,6 @@ class WP_Customize_Section {
* Title of the section to show in UI.
*
* @since 3.4.0
* @access public
* @var string
*/
public $title = '';
@@ -107,7 +98,6 @@ class WP_Customize_Section {
* Description to show in the UI.
*
* @since 3.4.0
* @access public
* @var string
*/
public $description = '';
@@ -116,7 +106,6 @@ class WP_Customize_Section {
* Customizer controls for this section.
*
* @since 3.4.0
* @access public
* @var array
*/
public $controls;
@@ -125,7 +114,6 @@ class WP_Customize_Section {
* Type of this section.
*
* @since 4.1.0
* @access public
* @var string
*/
public $type = 'default';
@@ -134,7 +122,6 @@ class WP_Customize_Section {
* Active callback.
*
* @since 4.1.0
* @access public
*
* @see WP_Customize_Section::active()
*
@@ -149,7 +136,6 @@ class WP_Customize_Section {
* Show the description or hide it behind the help icon.
*
* @since 4.7.0
* @access public
*
* @var bool Indicates whether the Section's description should be
* hidden behind a help icon ("?") in the Section header,
@@ -191,7 +177,6 @@ class WP_Customize_Section {
* Check whether section is active to current Customizer preview.
*
* @since 4.1.0
* @access public
*
* @return bool Whether the section is active to the current preview.
*/
@@ -219,7 +204,6 @@ class WP_Customize_Section {
* an 'active_callback' argument to the constructor.
*
* @since 4.1.0
* @access public
*
* @return true Always true.
*/
@@ -331,7 +315,6 @@ class WP_Customize_Section {
* WP_Customize_Manager::register_section_type().
*
* @since 4.3.0
* @access public
*
* @see WP_Customize_Manager::render_template()
*/
@@ -350,7 +333,6 @@ class WP_Customize_Section {
* export custom variables by overriding WP_Customize_Section::json().
*
* @since 4.3.0
* @access protected
*
* @see WP_Customize_Section::print_template()
*/