Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




maintenance_nag [ WordPress Function ]

maintenance_nag ( No parameters )
Defined at:



No description yet.

Source


<?php
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>";
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics