Advertisements

maintenance_nag

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

Advertisements

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: