PluginProbe
Plus WebP or AVIF / 5.03
Plus WebP or AVIF v5.03
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
plus-webp / readme.txt

readme.txt in Plus WebP or AVIF 5.03, at readme.txt

217 lines 5.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 === Plus WebP or AVIF ===
2 Contributors: Katsushi Kawamori
3 Donate link: https://shop.riverforest-wp.info/donate/
4 Tags: media, upload, webp, avif
5 Requires at least: 6.6
6 Requires PHP: 8.1
7 Tested up to: 6.7
8 Stable tag: 5.03
9 License: GPLv2 or later
10 License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
12 Generate WebP or AVIF.
13
14 == Description ==
15
16 = Generate WebP or AVIF =
17 * Generate WebP or AVIF file when adding image file in Media Library.
18 * Generate WebP or AVIF from all the images by async/await.
19 * Optionally, Can replace image files with WebP or AVIF when adding new media, and delete the original image file. Also, when generating all images, the original image file ID will be overwritten as WebP or AVIF and the original image file will be deleted. All URLs in the content are also replaced.
20
21 = WP-CLI =
22
23 WP-CLI commands are available. If you have a large number of files, WP-CLI commands is more reliable.
24 * `wp pluswebpavif`
25 * `wp pluswebpavif webp` -> Generated WebP.
26 * `wp pluswebpavif avif` -> Generated AVIF.
27 * `wp pluswebpavif webp --mail=true` -> Send results via email.
28 * `wp pluswebpavif webp --pid=12152` -> Process only specified Media ID.
29 * `wp pluswebpavif avif --quality=90` -> Specifies the quality of WebP or AVIF.
30 * `wp pluswebpavif webp --replace=false` -> WebP or AVIF replacement of images and contents.
31 * `wp pluswebpavif avif --addext=true` -> Append the webp or avif extension to the original filename.
32 * `wp pluswebpavif webp --types=image/png,image/gif` -> MIME type to convert.
33
34 = How it works =
35 [youtube https://youtu.be/EIheJryR7j0]
36
37 = Filter hooks =
38 ~~~
39 /** ==================================================
40 * Filter for advanced change database.
41 * If you want to replace other databases besides content.
42 */
43 add_filter(
44 'plus_webp_advanced_change_db',
45 function( $before_url, $after_url ) {
46 /* Your processing */
47 return array( $before_url, $after_url );
48 },
49 10,
50 2
51 );
52 ~~~
53
54 == Installation ==
55
56 1. Upload `plus-webp` directory to the `/wp-content/plugins/` directory
57 2. Activate the plugin through the 'Plugins' menu in WordPress
58
59 == Frequently Asked Questions ==
60
61 none
62
63 == Screenshots ==
64
65 1. Media Library
66 2. Generate
67 3. Settings
68
69 == Changelog ==
70
71 = [5.03] 2024/11/14 =
72 * Fix - Rebuilt javascript.
73
74 = [5.02] 2024/11/14 =
75 * Fix - Rebuilt javascript.
76
77 = [5.01] 2024/11/12 =
78 * Fix - Rebuilt javascript.
79 * Change - Changed the required version of WordPress.
80
81 = [5.00] 2024/08/23 =
82 * Changed - Plugin name changed from "Plus WebP" to "Plus WebP or AVIF".
83 * Added - AVIF conversion.
84
85 = [4.20] 2024/08/21 =
86 * Added - WP-CLI command arguments for settings.
87 * Changed - Classified WP-CLI commands.
88
89 = [4.11] 2024/08/17 =
90 * Fixed - Transparent PNG conversion issue.
91 * Added - Added whether to send email to WP-CLI command arguments.
92 * Added - Added the media ID to the WP-CLI command argument.
93
94 = [4.10] 2024/07/19 =
95 * Added - 'plus_webp_advanced_change_db' filter for Replacement of non-content databases.
96 * Removed - Blogname for mail from name.
97
98 = [4.09] 2024/07/18 =
99 * Added - WP-CLI command for warning indication at console output.
100 * Tweak - Webp bulk generation by React.
101 * Added - Blogname for mail from name.
102
103 = [4.08] 2024/07/15 =
104 * Fix - Support for cases where media exists in the database and does not exist as a file.
105 * Thanks - [Marcus Karlos](https://profiles.wordpress.org/power2009/).
106
107 = [4.07] 2024/06/20 =
108 * Added - WP-CLI command for webp bulk generation.
109
110 = [4.06] 2024/03/05 =
111 * Fix - Changed file operations to WP_Filesystem.
112
113 = 4.05 =
114 Changed json_encode to wp_json_encode.
115
116 = 4.04 =
117 Supported WordPress 6.4.
118
119 = 4.03 =
120 Fixed link to plugin page.
121
122 = 4.02 =
123 Fixed about sending e-mail.
124
125 = 4.01 =
126 Added description.
127 Removed unnecessary codes.
128
129 = 4.00 =
130 Moved the location of the Admin page to the Media Library.
131 The admin screen has been converted to React.
132 Batch generation of webp by async/await is now supported.
133 Fixed a problem where title name comparison failed and generated duplicate files.
134 Metadata generation for WordPress 6.1-alpha to match WordPress 6.2.
135
136 = 3.00 =
137 Supported WordPress 6.1-alpha.
138
139 = 2.07 =
140 Added a hook for [Organize Media Folder](https://wordpress.org/plugins/organize-media-folder/).
141
142 = 2.06 =
143 Fixed with processing when media does not exist.
144
145 = 2.05 =
146 Supported XAMPP.
147
148 = 2.04 =
149 Fixed problem of metadta.
150
151 = 2.03 =
152 Fixed problem of metadta.
153
154 = 2.02 =
155 Fixed content replacement issue.
156
157 = 2.01 =
158 Fixes various messages and branches in ajax.
159
160 = 2.00 =
161 Added ajax generation for webp.
162
163 = 1.13 =
164 Fixed an issue with saving options.
165 Added options for extension.
166
167 = 1.12 =
168 Fixed clear cron schedules issue.
169 Fixed problem of threshold big image.
170
171 = 1.11 =
172 Fixed the problem of title acquisition in bulk generation.
173
174 = 1.10 =
175 Fixed background processing.
176
177 = 1.09 =
178 Give details when email notification.
179 Added the management screen notification of the end of batch generation.
180
181 = 1.08 =
182 Added ability to choose which file types to convert and which not.
183
184 = 1.07 =
185 Supported transparent gif & png.
186 Fixed file name issue.
187
188 = 1.06 =
189 Fixed content URL replacement issue.
190
191 = 1.05 =
192 Fixed an image replacement issue.
193 Conformed to the WordPress coding standard.
194
195 = 1.04 =
196 Conformed to the WordPress coding standard.
197
198 = 1.03 =
199 Added html escape on the management screen.
200
201 = 1.02 =
202 Fixed an issue with image conversion.
203 Fixed an image replacement issue.
204 Added the setting of quality.
205
206 = 1.01 =
207 Fixed problem of PNG files.
208 Added uninstall script.
209
210 = 1.00 =
211 Initial release.
212
213 == Upgrade Notice ==
214
215 = 1.00 =
216 Initial release.
217