update_right_now_message [ WordPress Function ]
update_right_now_message ( No parameters )
| Defined at: |
|
Soorgelijke functies: show_message, update_home_siteurl, update_user_meta, update_post_meta, update_nag
No description yet.
Source
<?php
function update_right_now_message() {
$msg = sprintf( __('You are using <span class="b">WordPress %s</span>.'), $GLOBALS['wp_version'] );
if ( current_user_can('update_core') ) {
$cur = get_preferred_from_update_core();
if ( isset( $cur->response ) && $cur->response == 'upgrade' )
$msg .= " <a href='" . network_admin_url( 'update-core.php' ) . "' class='button'>" . sprintf( __('Update to %s'), $cur->current ? $cur->current : __( 'Latest' ) ) . '</a>';
}
echo "<span id='wp-version-message'>$msg</span>";
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Add filter hook to update_right_now_message - WordPress Trac
Hi I'd like a filter to be added to the core function update_right_now_message(). Problem: Currently I'm managing/maintaining several sites via svn, which can ...
core.trac.wordpress.org - Fatal error: Call to undefined function: update_right_now_message()
Fatal error: Call to undefined function: update_right_now_message() in /home/ content/s/k/y/skyltoiz/html/varietyartsblog/wp-admin/index.php on line 117 ...
wordpress.org - update_right_now_message
Function and Method Cross Reference. update_right_now_message(). Defined at: /wp-admin/includes/update.php -> line 139. Referenced 1 times: ...
phpxref.ftwr.co.uk - update_right_now_message (WordPress Function) - WPSeek.com
WordPress lookup for update_right_now_message, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com