Definition:
function maintenance_nag() {}
Source code
function maintenance_nag() {
global $upgrading;
if ( ! isset( $upgrading ) )
return false;
if ( current_user_can('update_core') )
$msg = sprintf( __('An automated WordPress update has failed to complete - <a href="%s">please attempt the update again now</a>.'), 'update-core.php' );
else
$msg = __('An automated WordPress update has failed to complete! Please notify the site administrator.');
echo "<div class='update-nag'>$msg</div>";
}
2305

February 12, 2011 


No comments yet... Be the first to leave a reply!