PluginProbe
Plus WebP or AVIF / 1.00
Plus WebP or AVIF v1.00
5.21 5.20 5.12 5.11 trunk 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 2.00 2.01 2.02 2.03 2.04 2.05 All 47 releases
← All changes | pluswebp.php +19 -38 1.051.00 View file →
@@ -1,15 +1,9 @@
1 1 <?php
2 -/**
3 - * Plus WebP
4 - *
5 - * @package Plus WebP
6 - */
7 -
8 2 /*
9 3 Plugin Name: Plus WebP
10 4 Plugin URI: https://wordpress.org/plugins/plus-webp/
11 -Version: 1.05
5 +Version: 1.00
12 6 Description: Generate WebP.
13 7 Author: Katsushi Kawamori
14 8 Author URI: https://riverforest-wp.info/
15 9 Text Domain: plus-webp
@@ -15,41 +9,28 @@
15 9 Text Domain: plus-webp
16 10 Domain Path: /languages
17 11 */
18 12
19 -/*
20 -Copyright (c) 2019- Katsushi Kawamori (email : dodesyoswift312@gmail.com)
21 - This program is free software; you can redistribute it and/or modify
22 - it under the terms of the GNU General Public License as published by
23 - the Free Software Foundation; version 2 of the License.
13 +/* Copyright (c) 2019- Katsushi Kawamori (email : dodesyoswift312@gmail.com)
14 + This program is free software; you can redistribute it and/or modify
15 + it under the terms of the GNU General Public License as published by
16 + the Free Software Foundation; version 2 of the License.
24 17
25 - This program is distributed in the hope that it will be useful,
26 - but WITHOUT ANY WARRANTY; without even the implied warranty of
27 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 - GNU General Public License for more details.
18 + This program is distributed in the hope that it will be useful,
19 + but WITHOUT ANY WARRANTY; without even the implied warranty of
20 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 + GNU General Public License for more details.
29 22
30 - You should have received a copy of the GNU General Public License
31 - along with this program; if not, write to the Free Software
32 - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 + You should have received a copy of the GNU General Public License
24 + along with this program; if not, write to the Free Software
25 + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
33 26 */
34 27
35 -add_action( 'plugins_loaded', 'pluswebp_load_textdomain' );
36 -/** ==================================================
37 - * i18n
38 - *
39 - * @since 1.00
40 - */
41 -function pluswebp_load_textdomain() {
42 - load_plugin_textdomain( 'plus-webp' );
43 -}
28 + add_action( 'plugins_loaded', 'pluswebp_load_textdomain' );
29 + function pluswebp_load_textdomain() {
30 + load_plugin_textdomain('plus-webp');
31 + }
44 32
45 -if ( ! class_exists( 'PlusWebp' ) ) {
46 - require_once dirname( __FILE__ ) . '/lib/class-pluswebp.php';
47 -}
48 -if ( ! class_exists( 'PlusWebpAdmin' ) ) {
49 - require_once dirname( __FILE__ ) . '/lib/class-pluswebpadmin.php';
50 -}
51 -if ( ! class_exists( 'PlusWebpRegist' ) ) {
52 - require_once dirname( __FILE__ ) . '/lib/class-pluswebpregist.php';
53 -}
33 + if(!class_exists('PlusWebp')) require_once( dirname(__FILE__).'/lib/PlusWebp.php' );
34 + if(!class_exists('PlusWebpAdmin')) require_once( dirname(__FILE__).'/lib/PlusWebpAdmin.php' );
54 35
55 -
36 +?>