PluginProbe
Plus WebP or AVIF / 2.05
Plus WebP or AVIF v2.05
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 +8 -13 trunk2.05 View file →
@@ -1,10 +1,10 @@
1 1 <?php
2 2 /**
3 - * Plugin Name: Plus WebP or AVIF
3 + * Plugin Name: Plus WebP
4 4 * Plugin URI: https://wordpress.org/plugins/plus-webp/
5 - * Description: Generate WebP or AVIF.
6 - * Version: 5.21
5 + * Description: Generate WebP.
6 + * Version: 2.05
7 7 * Author: Katsushi Kawamori
8 8 * Author URI: https://riverforest-wp.info/
9 9 * License: GPLv2 or later
10 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -9,9 +9,9 @@
9 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 - * @package Plus WebP or AVIF
13 + * @package Plus WebP
14 14 */
15 15
16 16 /*
17 17 Copyright (c) 2019- Katsushi Kawamori (email : dodesyoswift312@gmail.com)
@@ -28,17 +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 -if ( ! defined( 'ABSPATH' ) ) {
33 - exit;
34 -}
35 -
36 32 if ( ! class_exists( 'PlusWebp' ) ) {
37 - require_once __DIR__ . '/lib/class-pluswebp.php';
33 + require_once dirname( __FILE__ ) . '/lib/class-pluswebp.php';
38 34 }
39 35 if ( ! class_exists( 'PlusWebpAdmin' ) ) {
40 - require_once __DIR__ . '/lib/class-pluswebpadmin.php';
36 + require_once dirname( __FILE__ ) . '/lib/class-pluswebpadmin.php';
41 37 }
42 -if ( class_exists( 'WP_CLI' ) ) {
43 - require_once __DIR__ . '/lib/class-pluswebpavifcli.php';
44 -}
38 +
39 +