| @@ -1,24 +1,21 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Plus WebP | |
| 3 | + * Plugin Name: Plus WebP | |
| 4 | + * Plugin URI: https://wordpress.org/plugins/plus-webp/ | |
| 5 | + * Description: Generate WebP. | |
| 6 | + * Version: 2.05 | |
| 7 | + * Author: Katsushi Kawamori | |
| 8 | + * Author URI: https://riverforest-wp.info/ | |
| 9 | + * License: GPLv2 or later | |
| 10 | + * License URI: https://www.gnu.org/licenses/gpl-2.0.html | |
| 11 | + * Text Domain: plus-webp | |
| 4 | 12 | * |
| 5 | 13 | * @package Plus WebP |
| 6 | 14 | */ |
| 7 | 15 | |
| 8 | 16 | /* |
| 9 | -Plugin Name: Plus WebP | |
| 10 | -Plugin URI: https://wordpress.org/plugins/plus-webp/ | |
| 11 | -Version: 1.04 | |
| 12 | -Description: Generate WebP. | |
| 13 | -Author: Katsushi Kawamori | |
| 14 | -Author URI: https://riverforest-wp.info/ | |
| 15 | -Text Domain: plus-webp | |
| 16 | -Domain Path: /languages | |
| 17 | -*/ | |
| 18 | - | |
| 19 | -/* | |
| 20 | -Copyright (c) 2019- Katsushi Kawamori (email : dodesyoswift312@gmail.com) | |
| 17 | + Copyright (c) 2019- Katsushi Kawamori (email : dodesyoswift312@gmail.com) | |
| 21 | 18 | This program is free software; you can redistribute it and/or modify |
| 22 | 19 | it under the terms of the GNU General Public License as published by |
| 23 | 20 | the Free Software Foundation; version 2 of the License. |
| 24 | 21 | |
| @@ -29,19 +26,9 @@ | ||
| 29 | 26 | |
| 30 | 27 | You should have received a copy of the GNU General Public License |
| 31 | 28 | along with this program; if not, write to the Free Software |
| 32 | 29 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 33 | -*/ | |
| 34 | - | |
| 35 | -add_action( 'plugins_loaded', 'pluswebp_load_textdomain' ); | |
| 36 | -/** ================================================== | |
| 37 | - * i18n | |
| 38 | - * | |
| 39 | - * @since 1.00 | |
| 40 | 30 | */ |
| 41 | -function pluswebp_load_textdomain() { | |
| 42 | - load_plugin_textdomain( 'plus-webp' ); | |
| 43 | -} | |
| 44 | 31 | |
| 45 | 32 | if ( ! class_exists( 'PlusWebp' ) ) { |
| 46 | 33 | require_once dirname( __FILE__ ) . '/lib/class-pluswebp.php'; |
| 47 | 34 | } |
| @@ -46,10 +33,7 @@ | ||
| 46 | 33 | require_once dirname( __FILE__ ) . '/lib/class-pluswebp.php'; |
| 47 | 34 | } |
| 48 | 35 | if ( ! class_exists( 'PlusWebpAdmin' ) ) { |
| 49 | 36 | require_once dirname( __FILE__ ) . '/lib/class-pluswebpadmin.php'; |
| 50 | -} | |
| 51 | -if ( ! class_exists( 'PlusWebpRegist' ) ) { | |
| 52 | - require_once dirname( __FILE__ ) . '/lib/class-pluswebpregist.php'; | |
| 53 | 37 | } |
| 54 | 38 | |
| 55 | 39 | |