Wordpress显示我有1个插件更新,当所有插件都已更新

时间:2014-03-03 02:46:34

标签: wordpress notifications wordpress-plugin

所以我在论坛上搜索过,虽然我发现有一些人遇到类似我的问题,但我还是找不到办法解决这个问题。发生了什么事情,当我的所有插件都更新时,WordPress显示我有1个插件更新。下面是截图的imgur链接,以便您可以看到我在说什么:

http://imgur.com/HlspXv7

现在,我尝试了几件事,包括重新安装WP,并使用Artiss Transient Cleaner删除瞬态,但似乎没有任何效果。关于什么可能导致这个流氓/幽灵“插件”在没有时请求更新的任何想法?谢谢,感谢您的帮助。

8 个答案:

答案 0 :(得分:18)

我不时会看到需要激活密钥的高级插件和主题。 WP UI无论如何都不会提供更新插件或主题,但您会在UI中看到待处理的更新计数。

要追踪来源我使用以下功能:

/**
 * Debug Pending Updates
 *
 * Crude debugging method that will spit out all pending plugin
 * and theme updates for admin level users when ?debug_updates is
 * added to a /wp-admin/ URL.
 */
function debug_pending_updates() {

    // Rough safety nets
    if ( ! is_user_logged_in() || ! current_user_can( 'manage_options' ) ) return;
    if ( ! isset( $_GET['debug_updates'] ) ) return;

    $output = "";

    // Check plugins
    $plugin_updates = get_site_transient( 'update_plugins' );
    if ( $plugin_updates && ! empty( $plugin_updates->response ) ) {
        foreach ( $plugin_updates->response as $plugin => $details ) {
            $output .= "<p><strong>Plugin</strong> <u>$plugin</u> is reporting an available update.</p>";
        }
    }

    // Check themes
    wp_update_themes();
    $theme_updates = get_site_transient( 'update_themes' );
    if ( $theme_updates && ! empty( $theme_updates->response ) ) {
        foreach ( $theme_updates->response as $theme => $details ) {
            $output .= "<p><strong>Theme</strong> <u>$theme</u> is reporting an available update.</p>";
        }
    }

    if ( empty( $output ) ) $output = "No pending updates found in the database.";

    wp_die( $output );
}
add_action( 'init', 'debug_pending_updates' );

将其添加到主题的functions.php文件中,然后访问将?debug_updates添加到网址的页面。例如:yourdomain.com/wp-admin/?debug_updates。这应该会显示导致问题的任何主题或插件。

答案 1 :(得分:9)

我遇到了这个问题,而且是一个新的翻译版本(从更新页面来看,这一点并不明显,你必须进入底部的animation-name, -webkit-animation-name...);

enter image description here

更新转换后...警告消失了;

enter image description here

答案 2 :(得分:8)

一个过期的Yoast Premium插件是罪魁祸首,所以我停用了它并对其进行了反应,从而解决了更新问题。

答案 3 :(得分:5)

Kevin答案的稍作修改的版本,不需要向URL添加参数。它只是紧接在插件,主题和翻译之后,进入更新核心,并显示更新列表。

w

答案 4 :(得分:2)

我在Wordpress 5.0.1安装中遇到了同样的问题。 以我为例,这是造成此问题的强大插件的原因。 强大的支持团队也发送了一条消息,因为那里的情况已经发生变化,这是他们的消息:

Hi ,

As some of you may know, we updated the licensing software on our
site a few months ago. This meant we had to move all of the
licensing information to a new format. Unfortunately, this caused
some of the custom site limits to be reduced for add-ons that
weren’t bundled with a grandfathered license. 

We had a few people understandably ask us about this. Our solution
was that they could manually upgrade to a bundle, which would solve
the problem.  

However, over the last month we were made aware that some people
were upset with the reduction in limits, but hadn’t contacted us
about it.  

As a result, we set to work and moved everyone with a Business or
Enterprise license over to a bundle that would automatically correct
the issue.  

I want to take this opportunity to apologize for the trouble we may
have caused, and that we didn’t realize sooner that so many people
had been negatively affected. I would also like to reassure you that
we never intend to remove a grandfathered benefit from your account.


I hope you were not among the group that lost faith in us over this
issue. While we will always aim to resolve issues as soon as they
occur, we would ask that if you ever run into another problem, that
you contact us about it first. That way, we can rectify the problem
and reduce the trouble it causes you.

因此,如果插件正在更改访问开发人员api的方式,通常可能会发生这种情况。

最好的问候, 诺伯特

答案 5 :(得分:1)

我遇到了这个问题,发现W3 Total Cache是​​罪魁祸首。停用并重新激活插件可以解决问题。帽子提示this forum获取线索。

答案 6 :(得分:1)

大多数情况下,高级插件都在使用它。因此请逐个停用插件,直到通知消失并再次响应为止。问题就会解决。

答案 7 :(得分:0)

如果您有FTP访问权限,请查看插件文件夹并确保您有X号码,该号码与Wordpress中显示的号码相匹配。也许你有一个坏了,所以它仍然在检测它,但它没有正确格式化它所以它没有在Wordpress中显示。

如果您没有FTP访问权限,您仍然可以通过转到插件&gt;编辑器并查看右上角的下拉列表来查看文件。