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. Built from https://develop.svn.wordpress.org/trunk@41162 git-svn-id: http://core.svn.wordpress.org/trunk@41002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -21,7 +21,6 @@ class WP_Widget_Calendar extends WP_Widget {
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @static
|
||||
* @access private
|
||||
* @var int
|
||||
*/
|
||||
private static $instance = 0;
|
||||
@@ -30,7 +29,6 @@ class WP_Widget_Calendar extends WP_Widget {
|
||||
* Sets up a new Calendar widget instance.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @access public
|
||||
*/
|
||||
public function __construct() {
|
||||
$widget_ops = array(
|
||||
@@ -45,7 +43,6 @@ class WP_Widget_Calendar extends WP_Widget {
|
||||
* Outputs the content for the current Calendar widget instance.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @access public
|
||||
*
|
||||
* @param array $args Display arguments including 'before_title', 'after_title',
|
||||
* 'before_widget', and 'after_widget'.
|
||||
@@ -75,7 +72,6 @@ class WP_Widget_Calendar extends WP_Widget {
|
||||
* Handles updating settings for the current Calendar widget instance.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @access public
|
||||
*
|
||||
* @param array $new_instance New settings for this instance as input by the user via
|
||||
* WP_Widget::form().
|
||||
@@ -93,7 +89,6 @@ class WP_Widget_Calendar extends WP_Widget {
|
||||
* Outputs the settings form for the Calendar widget.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @access public
|
||||
*
|
||||
* @param array $instance Current settings.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user