• Resolved Senri Miura

    (@senribb)


    1. Permission setting

    First, the first part to be corrected.
    This plugin has incompatibility with WordPress 3.0 or later in permission setting.
    Currently, a warning message is displayed on WordPress site health.
    Modify the code in line 2 (lines 738,751) of hpseo.php to be ‘administrator’ as follows:

    function add_pages() {
      //メニュー追加
       add_menu_page(
        ”hpb SEO設定”,
        ”hpb SEO設定”,
        8,
        __FILE__,
        array($this, ‘fncAdminMenu’),
        PLUGIN_IMG_URL . IMG_MENU,
        ’3.1′ //表示位置(hpbダッシュボード=3)
      );
    }

    function add_pages_err() {
      //メニュー追加
        add_menu_page(
        ”hpb SEO設定”,
        ”hpb SEO設定”,
        8,
        __FILE__,
        array($this, ‘fncAdminMenuErr’),
        PLUGIN_IMG_URL . IMG_MENU,
        ’3.1′ //表示位置(hpbダッシュボード=3)
      );
    }

    *Details are also given in the following URL:
    https://www.senris.com/has-cap-warning/

    2. Modification of “hpseo.js”

    There is an incompatibility with jQuery in WordPress 5.5.
    The jQuery Migrate Helper points out incompatibility with jQuery, so please correct it.

    [English]
    jQuery Migrate Helper — Warnings encountered
    The following warning has occurred on this page:

    https://www.senris.com/xxxxxx/wp-content/plugins/hpbseo/hpbseo.js: jQuery.fn.load() is deprecated

    hpbseo.js: jQuery.fn.load () is deprecated

    Make sure you are using the latest version of all plugins and themes. If so, you may want to ask the developers of the code mentioned in the warning to update.

    [Japanese]
    jQuery Migrate Helper — Warnings encountered
    このページでは、以下の警告が発生しました。

    https://www.senris.com/xxxxxx/wp-content/plugins/hpbseo/hpbseo.js: jQuery.fn.load() is deprecated

    hpbseo.js:jQuery.fn.load()は廃止予定

    すべてのプラグイン、テーマの最新バージョンを使用していることを確認してください。 もしそうであれば、警告に記載されているコードの開発者に更新を依頼した方がいいかもしれません。

    • This topic was modified 4 years, 3 months ago by Senri Miura.
    • This topic was modified 4 years, 3 months ago by Senri Miura.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Senri Miura

    (@senribb)

    By the way, I’ve modified the description of “hpseo.js” as follows.
     
     
    648 jQuery(window).load(function(){

       ↓

    648 jQuery(window).on(‘load’,function(){   // Modifed by Senri on 27 Aug, 2020.

    • This reply was modified 4 years, 2 months ago by Senri Miura.
    Thread Starter Senri Miura

    (@senribb)

    Confirmed the fix in Version 2.2.1.
    Thank you for your cooperation.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Request for correction of plugins (2 places)’ is closed to new replies.