mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-13 21:30:26 +00:00
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:
@@ -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) )
|
||||
|
||||
Reference in New Issue
Block a user