Add doc blocks to functions that are missing them.

If the function has no need for `@param` or `@return`, do an archeaological dig to find `@since`.

See #32444.


git-svn-id: https://develop.svn.wordpress.org/trunk@32672 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-05-31 03:17:50 +00:00
parent 492a2ed9a2
commit 986990163f
17 changed files with 199 additions and 1 deletions
+11
View File
@@ -259,6 +259,11 @@ function update_right_now_message() {
echo "<p id='wp-version-message'>$msg</p>";
}
/**
* @since 2.9.0
*
* @return array
*/
function get_plugin_updates() {
$all_plugins = get_plugins();
$upgrade_plugins = array();
@@ -273,6 +278,9 @@ function get_plugin_updates() {
return $upgrade_plugins;
}
/**
* @since 2.9.0
*/
function wp_plugin_update_rows() {
if ( !current_user_can('update_plugins' ) )
return;
@@ -377,6 +385,9 @@ function get_theme_updates() {
return $update_themes;
}
/**
* @since 3.1.0
*/
function wp_theme_update_rows() {
if ( !current_user_can('update_themes' ) )
return;