Plugin Directory

Changeset 3206455


Ignore:
Timestamp:
12/11/2024 03:24:50 PM (13 months ago)
Author:
looswebstudio
Message:

Update to version 3.6.2 from GitHub

Location:
seo-simple-pack
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • seo-simple-pack/tags/3.6.2/class/menu.php

    r3190017 r3206455  
    2626     */
    2727    public static function init() {
    28         add_action( 'admin_menu', [ 'SSP_Menu', 'add_menus' ] );
    29     }
    30 
    31 
    32     /**
    33      * メニューの追加
    34      */
    35     public static function add_menus() {
    36 
    3728        self::$top_menu_tabs = [
    3829            'basic'     => __( 'Basic setting', 'seo-simple-pack' ),    // 基本設定
     
    4940            'twitter'  => 'Twitter',
    5041        ];
     42    }
     43
     44    /**
     45     * create
     46     */
     47    public static function create() {
     48        add_action( 'admin_menu', [ 'SSP_Menu', 'add_menus' ] );
     49    }
     50
     51
     52    /**
     53     * メニューの追加
     54     */
     55    public static function add_menus() {
    5156
    5257        // トップレベルメニュー
  • seo-simple-pack/tags/3.6.2/class/metabox.php

    r3190017 r3206455  
    4242     */
    4343    public static function init() {
    44 
    45         // post meta追加
    46         add_action( 'add_meta_boxes', [ 'SSP_MetaBox', 'add_ssp_metabox' ], 1 );
    47         add_action( 'save_post', [ 'SSP_MetaBox', 'save_post_metas' ] );
    48 
    49         // term meta追加 -> init:99 で $custom_taxonomies セットしているのでそれよりあとで実行
    50         add_action( 'wp_loaded', function() {
    51             $tax_names = array_merge( [ 'category', 'post_tag' ], array_keys( SSP_Data::$custom_taxonomies ) );
    52             foreach ( $tax_names as $tax_name ) {
    53                 add_action( $tax_name . '_edit_form_fields', [ 'SSP_MetaBox', 'add_term_edit_fields' ], 20 );
    54                 // add_action( $tax_name . '_add_form_fields', [ 'SSP_MetaBox', 'add_term_fields' ] );
    55             }
    56 
    57             // 保存処理フック
    58             add_action( 'edited_terms', [ 'SSP_MetaBox', 'save_term_metas' ] );
    59             // add_action( 'created_term', [ 'SSP_MetaBox', 'save_term_metas' ] );
    60         });
    61     }
    62 
    63 
    64     /**
    65      * Add metabox.
    66      */
    67     public static function add_ssp_metabox() {
    68         $args       = [
    69             'public'   => true,
    70             '_builtin' => false,
    71         ];
    72         $post_types = get_post_types( $args, 'names', 'and' );
    73         $screens    = array_merge( [ 'post', 'page' ], $post_types );
    74 
    75         // Set choices
     44        // Set choices options
    7645        self::$robots_options = [
    7746            ''                 => __( 'Keep default settings', 'seo-simple-pack' ), // デフォルト設定のまま
     
    8251            'noindex,nofollow' => 'noindex,nofollow',
    8352        ];
     53    }
     54
     55
     56    /**
     57     * create
     58     */
     59    public static function create() {
     60
     61        // post meta追加
     62        add_action( 'add_meta_boxes', [ 'SSP_MetaBox', 'add_ssp_metabox' ], 1 );
     63        add_action( 'save_post', [ 'SSP_MetaBox', 'save_post_metas' ] );
     64
     65        // term meta追加 -> init:99 で $custom_taxonomies セットしているのでそれよりあとで実行
     66        add_action( 'wp_loaded', function() {
     67            $tax_names = array_merge( [ 'category', 'post_tag' ], array_keys( SSP_Data::$custom_taxonomies ) );
     68            foreach ( $tax_names as $tax_name ) {
     69                add_action( $tax_name . '_edit_form_fields', [ 'SSP_MetaBox', 'add_term_edit_fields' ], 20 );
     70                // add_action( $tax_name . '_add_form_fields', [ 'SSP_MetaBox', 'add_term_fields' ] );
     71            }
     72
     73            // 保存処理フック
     74            add_action( 'edited_terms', [ 'SSP_MetaBox', 'save_term_metas' ] );
     75            // add_action( 'created_term', [ 'SSP_MetaBox', 'save_term_metas' ] );
     76        });
     77    }
     78
     79
     80    /**
     81     * Add metabox.
     82     */
     83    public static function add_ssp_metabox() {
     84        $args       = [
     85            'public'   => true,
     86            '_builtin' => false,
     87        ];
     88        $post_types = get_post_types( $args, 'names', 'and' );
     89        $screens    = array_merge( [ 'post', 'page' ], $post_types );
    8490
    8591        add_meta_box(
  • seo-simple-pack/tags/3.6.2/readme.txt

    r3197068 r3206455  
    55Requires at least: 4.9
    66Tested up to: 6.7
    7 Stable tag: 3.6.1
     7Stable tag: 3.6.2
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    121121== Changelog ==
    122122
     123= 3.6.2 =
     124- Fixed a bug where some items were not displayed on the taxonomy editing page.
     125
     126
    123127= 3.6.0 =
    124128- Support for WordPress 6.7.
  • seo-simple-pack/tags/3.6.2/seo-simple-pack.php

    r3197068 r3206455  
    44 * Plugin URI: https://wemo.tech/1670
    55 * Description: A very simple SEO plugin. You can easily set and customize meta tags and OGP tags for each page.
    6  * Version: 3.6.1
     6 * Version: 3.6.2
    77 * Author: LOOS,Inc.
    88 * Author URI: https://loos-web-studio.com/
     
    6767            // Dataセット
    6868            SSP_Data::init();
     69            SSP_Menu::init();
     70            SSP_MetaBox::init();
    6971        }, 0 );
    7072
     73        SSP_Menu::create();
     74        SSP_MetaBox::create();
    7175        SSP_Hooks::init();
    72         SSP_Menu::init();
    73         SSP_MetaBox::init();
    7476        SSP_Output::init();
    7577    }
  • seo-simple-pack/trunk/class/menu.php

    r3190017 r3206455  
    2626     */
    2727    public static function init() {
    28         add_action( 'admin_menu', [ 'SSP_Menu', 'add_menus' ] );
    29     }
    30 
    31 
    32     /**
    33      * メニューの追加
    34      */
    35     public static function add_menus() {
    36 
    3728        self::$top_menu_tabs = [
    3829            'basic'     => __( 'Basic setting', 'seo-simple-pack' ),    // 基本設定
     
    4940            'twitter'  => 'Twitter',
    5041        ];
     42    }
     43
     44    /**
     45     * create
     46     */
     47    public static function create() {
     48        add_action( 'admin_menu', [ 'SSP_Menu', 'add_menus' ] );
     49    }
     50
     51
     52    /**
     53     * メニューの追加
     54     */
     55    public static function add_menus() {
    5156
    5257        // トップレベルメニュー
  • seo-simple-pack/trunk/class/metabox.php

    r3190017 r3206455  
    4242     */
    4343    public static function init() {
    44 
    45         // post meta追加
    46         add_action( 'add_meta_boxes', [ 'SSP_MetaBox', 'add_ssp_metabox' ], 1 );
    47         add_action( 'save_post', [ 'SSP_MetaBox', 'save_post_metas' ] );
    48 
    49         // term meta追加 -> init:99 で $custom_taxonomies セットしているのでそれよりあとで実行
    50         add_action( 'wp_loaded', function() {
    51             $tax_names = array_merge( [ 'category', 'post_tag' ], array_keys( SSP_Data::$custom_taxonomies ) );
    52             foreach ( $tax_names as $tax_name ) {
    53                 add_action( $tax_name . '_edit_form_fields', [ 'SSP_MetaBox', 'add_term_edit_fields' ], 20 );
    54                 // add_action( $tax_name . '_add_form_fields', [ 'SSP_MetaBox', 'add_term_fields' ] );
    55             }
    56 
    57             // 保存処理フック
    58             add_action( 'edited_terms', [ 'SSP_MetaBox', 'save_term_metas' ] );
    59             // add_action( 'created_term', [ 'SSP_MetaBox', 'save_term_metas' ] );
    60         });
    61     }
    62 
    63 
    64     /**
    65      * Add metabox.
    66      */
    67     public static function add_ssp_metabox() {
    68         $args       = [
    69             'public'   => true,
    70             '_builtin' => false,
    71         ];
    72         $post_types = get_post_types( $args, 'names', 'and' );
    73         $screens    = array_merge( [ 'post', 'page' ], $post_types );
    74 
    75         // Set choices
     44        // Set choices options
    7645        self::$robots_options = [
    7746            ''                 => __( 'Keep default settings', 'seo-simple-pack' ), // デフォルト設定のまま
     
    8251            'noindex,nofollow' => 'noindex,nofollow',
    8352        ];
     53    }
     54
     55
     56    /**
     57     * create
     58     */
     59    public static function create() {
     60
     61        // post meta追加
     62        add_action( 'add_meta_boxes', [ 'SSP_MetaBox', 'add_ssp_metabox' ], 1 );
     63        add_action( 'save_post', [ 'SSP_MetaBox', 'save_post_metas' ] );
     64
     65        // term meta追加 -> init:99 で $custom_taxonomies セットしているのでそれよりあとで実行
     66        add_action( 'wp_loaded', function() {
     67            $tax_names = array_merge( [ 'category', 'post_tag' ], array_keys( SSP_Data::$custom_taxonomies ) );
     68            foreach ( $tax_names as $tax_name ) {
     69                add_action( $tax_name . '_edit_form_fields', [ 'SSP_MetaBox', 'add_term_edit_fields' ], 20 );
     70                // add_action( $tax_name . '_add_form_fields', [ 'SSP_MetaBox', 'add_term_fields' ] );
     71            }
     72
     73            // 保存処理フック
     74            add_action( 'edited_terms', [ 'SSP_MetaBox', 'save_term_metas' ] );
     75            // add_action( 'created_term', [ 'SSP_MetaBox', 'save_term_metas' ] );
     76        });
     77    }
     78
     79
     80    /**
     81     * Add metabox.
     82     */
     83    public static function add_ssp_metabox() {
     84        $args       = [
     85            'public'   => true,
     86            '_builtin' => false,
     87        ];
     88        $post_types = get_post_types( $args, 'names', 'and' );
     89        $screens    = array_merge( [ 'post', 'page' ], $post_types );
    8490
    8591        add_meta_box(
  • seo-simple-pack/trunk/readme.txt

    r3197068 r3206455  
    55Requires at least: 4.9
    66Tested up to: 6.7
    7 Stable tag: 3.6.1
     7Stable tag: 3.6.2
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    121121== Changelog ==
    122122
     123= 3.6.2 =
     124- Fixed a bug where some items were not displayed on the taxonomy editing page.
     125
     126
    123127= 3.6.0 =
    124128- Support for WordPress 6.7.
  • seo-simple-pack/trunk/seo-simple-pack.php

    r3197068 r3206455  
    44 * Plugin URI: https://wemo.tech/1670
    55 * Description: A very simple SEO plugin. You can easily set and customize meta tags and OGP tags for each page.
    6  * Version: 3.6.1
     6 * Version: 3.6.2
    77 * Author: LOOS,Inc.
    88 * Author URI: https://loos-web-studio.com/
     
    6767            // Dataセット
    6868            SSP_Data::init();
     69            SSP_Menu::init();
     70            SSP_MetaBox::init();
    6971        }, 0 );
    7072
     73        SSP_Menu::create();
     74        SSP_MetaBox::create();
    7175        SSP_Hooks::init();
    72         SSP_Menu::init();
    73         SSP_MetaBox::init();
    7476        SSP_Output::init();
    7577    }
Note: See TracChangeset for help on using the changeset viewer.