去掉 WP Project Manager Pro 2.0 插件以上版本的未激活錯誤提示信息。

正在查看 2 個帖子:1-2 (共 2 個帖子)
  • 作者
    帖子
  • 風間
    參與者
    • 文章數量: 670
    @fengjian
    樓主

    這個是後台的錯誤提示信息,所以我們需要將其去掉,免得看着煩心。

    找到文件路徑 /plugins/wedevs-project-manager-business/core/Update/Wedevs_Updater.php

    文件名為 Wedevs_Updater.php

    定位到差不多 218 行,將下面的代碼刪掉即可。

            <div class="error">
                <p><?php printf( __( 'Please <a href="%s">enter</a> your <strong>%s</strong> plugin license key to get regular update and support.', 'pm-pro' ), admin_url( 'admin.php?page=pm_projects#/license' ), $this->name ); ?></p>
            </div>
    風間
    參與者
    • 文章數量: 670
    @fengjian
    樓主

    找到同一文件夾內的 Update.php 文件打開,找到最下方,差不多 100 行,刪掉下面的代碼。

            <div class="error">
                <p><?php printf( __( 'Please <a href="%s">enter</a> your <strong>%s</strong> plugin license key to get regular update and support.', 'pm-pro' ), admin_url( 'admin.php?page=pm_projects#/license' ), $this->name ); ?></p>
            </div>

    即可。

正在查看 2 個帖子:1-2 (共 2 個帖子)
  • 哎呀,回覆話題必需登錄。

話題信息