phpdoc for wp-admin. Props jacobsantos. see #7527

git-svn-id: https://develop.svn.wordpress.org/trunk@9119 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-10-10 18:21:16 +00:00
parent 4ab4dbf7aa
commit 6d727a9c2b
17 changed files with 445 additions and 73 deletions
+10
View File
@@ -59,6 +59,16 @@ $page_links = paginate_links( array(
$themes = array_slice( $themes, $start, $per_page );
/**
* Check if there is an update for a theme available.
*
* Will display link, if there is an update available.
*
* @since 2.7.0
*
* @param object $theme Theme data object.
* @return bool False if no valid info was passed.
*/
function theme_update_available( $theme ) {
static $themes_update;
if ( !isset($themes_update) )