mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -20,7 +20,6 @@ class WP_Widget_Recent_Posts extends WP_Widget {
|
||||
* Sets up a new Recent Posts widget instance.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @access public
|
||||
*/
|
||||
public function __construct() {
|
||||
$widget_ops = array(
|
||||
@@ -36,7 +35,6 @@ class WP_Widget_Recent_Posts extends WP_Widget {
|
||||
* Outputs the content for the current Recent Posts widget instance.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @access public
|
||||
*
|
||||
* @param array $args Display arguments including 'before_title', 'after_title',
|
||||
* 'before_widget', and 'after_widget'.
|
||||
@@ -101,7 +99,6 @@ class WP_Widget_Recent_Posts extends WP_Widget {
|
||||
* Handles updating the settings for the current Recent Posts 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().
|
||||
@@ -120,7 +117,6 @@ class WP_Widget_Recent_Posts extends WP_Widget {
|
||||
* Outputs the settings form for the Recent Posts widget.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @access public
|
||||
*
|
||||
* @param array $instance Current settings.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user