| @@ -2,12 +2,12 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: Plus WebP |
| 4 | 4 | * Plugin URI: https://wordpress.org/plugins/plus-webp/ |
| 5 | 5 | * Description: Generate WebP. |
| 6 | - * Version: 1.08 | |
| 6 | + * Version: 2.06 | |
| 7 | 7 | * Author: Katsushi Kawamori |
| 8 | 8 | * Author URI: https://riverforest-wp.info/ |
| 9 | - * License: GPL2 | |
| 9 | + * License: GPLv2 or later | |
| 10 | 10 | * License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 11 | 11 | * Text Domain: plus-webp |
| 12 | 12 | * |
| 13 | 13 | * @package Plus WebP |
| @@ -28,25 +28,12 @@ | ||
| 28 | 28 | along with this program; if not, write to the Free Software |
| 29 | 29 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 30 | 30 | */ |
| 31 | 31 | |
| 32 | -add_action( 'plugins_loaded', 'pluswebp_load_textdomain' ); | |
| 33 | -/** ================================================== | |
| 34 | - * i18n | |
| 35 | - * | |
| 36 | - * @since 1.00 | |
| 37 | - */ | |
| 38 | -function pluswebp_load_textdomain() { | |
| 39 | - load_plugin_textdomain( 'plus-webp' ); | |
| 40 | -} | |
| 41 | - | |
| 42 | 32 | if ( ! class_exists( 'PlusWebp' ) ) { |
| 43 | 33 | require_once dirname( __FILE__ ) . '/lib/class-pluswebp.php'; |
| 44 | 34 | } |
| 45 | 35 | if ( ! class_exists( 'PlusWebpAdmin' ) ) { |
| 46 | 36 | require_once dirname( __FILE__ ) . '/lib/class-pluswebpadmin.php'; |
| 47 | -} | |
| 48 | -if ( ! class_exists( 'PlusWebpRegist' ) ) { | |
| 49 | - require_once dirname( __FILE__ ) . '/lib/class-pluswebpregist.php'; | |
| 50 | 37 | } |
| 51 | 38 | |
| 52 | 39 | |