正在查看 2 個帖子:1-2 (共 2 個帖子)
-
作者帖子
-
In the following file:
/wp-content/plugins/ WordPress -seo/vendor/yoast/license-manager/class-license-manager.php// show notice if license is invalid if ( $this->show_license_notice() && ! $this->license_is_valid() ) { if ( $this->get_license_key() == '' ) { $message = __( '<b>Warning!</b> You didn\'t set your %s license key yet, which means you\'re missing out on updates and support! <a href="%s">Enter your license key</a> or <a href="%s" target="_blank">get a license here</a>.' ); } else { $message = __( '<b>Warning!</b> Your %s license is inactive which means you\'re missing out on updates and support! <a href="%s">Activate your license</a> or <a href="%s" target="_blank">get a license here</a>.' ); } ?> <div class="notice notice-error yoast-notice-error"> <p><?php printf( __( $message, $this->product->get_text_domain() ), $this->product->get_item_name(), $this->product->get_license_page_url(), $this->product->get_tracking_url( 'activate-license-notice' ) ); ?></p> </div> <?php }
這是一個 Yoast SEO Premium 激活警報, 當您安裝插件但沒有激活許可證。
它根本不會影響您的功能或網站,但有時候對某些人來説很煩人。
因此,我們將指導您如何刪除此插件的激活警告。
刪除 Yoast SEO Premium 激活警報的説明
轉到以下鏈接:wp-content/plugins/wordpress-seo-premium/vendor/yoast/license-manager/class-license-manager.php(使用記事本或 Notepad ++編輯)
找到代碼
public function license_is_valid(){
在下面添加
return true;
-
作者帖子
正在查看 2 個帖子:1-2 (共 2 個帖子)
- 話題 「Yoast WordPress SEO Premium 去掉後台的提示。」 已關閉,不接受新回覆。