After [32656], add @access annotations to methods that have no doc block in wp-includes/*.

Makes it easier to search for no doc blocks via `}[\n\t\r ]+(protected|private|public)`.

See #32444.


git-svn-id: https://develop.svn.wordpress.org/trunk@32657 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-05-29 21:36:38 +00:00
parent c49c139a22
commit ef6315a7a2
7 changed files with 61 additions and 0 deletions
+13
View File
@@ -888,6 +888,9 @@ class WP_Widget_Recent_Posts extends WP_Widget {
return $instance;
}
/**
* @access public
*/
public function flush_widget_cache() {
wp_cache_delete('widget_recent_posts', 'widget');
}
@@ -932,6 +935,9 @@ class WP_Widget_Recent_Comments extends WP_Widget {
add_action( 'transition_comment_status', array($this, 'flush_widget_cache') );
}
/**
* @access public
*/
public function recent_comments_style() {
/**
* Filter the Recent Comments default widget styles.
@@ -949,6 +955,9 @@ class WP_Widget_Recent_Comments extends WP_Widget {
<?php
}
/**
* @access public
*/
public function flush_widget_cache() {
wp_cache_delete('widget_recent_comments', 'widget');
}
@@ -1466,6 +1475,10 @@ class WP_Widget_Tag_Cloud extends WP_Widget {
</select></p><?php
}
/**
* @param array $instance
* @return string
*/
public function _get_current_taxonomy($instance) {
if ( !empty($instance['taxonomy']) && taxonomy_exists($instance['taxonomy']) )
return $instance['taxonomy'];