PluginProbe
PlugVersions – Easily roll back to previous versions of your plugins. / 0.3.0
PlugVersions – Easily roll back to previous versions of your plugins. v0.3.0
0.3.1 0.4.0 0.3.0 0.0.6.RC-1 0.0.7 0.0.8 0.1.0 0.2.0 0.2.1 trunk 0.0.1 0.0.2 0.0.3 0.0.4 0.0.5 0.0.6
← All changes | plugversions.php +5 -4 0.2.0 → 0.3.0 View file →
@@ -3,13 +3,14 @@
3 3 Plugin Name: PlugVersions
4 4 Description: it retains up to three versions when you update a plugin. It works also with premium and custom plugins.
5 5 Author: Jose Mortellaro
6 6 Author URI: https://josemortellaro.com
7 +Plugin URI: https://josemortellaro.com
7 8 Domain Path: /languages/
8 9 Text Domain: plugversions
9 10 License: GPLv2 or later
10 11 License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11 -Version: 0.2.0
12 +Version: 0.3.0
12 13 Requires at least: 4.9
13 14 Tested up to: 6.8
14 15 Requires PHP: 7.4
15 16 Tags: plugin, versions, revisions, restore, rollback, backup, management
@@ -40,9 +41,9 @@
40 41 * It checks if the object is set and is an object, then it iterates through the response array.
41 42 * If it finds a key that matches the plugin revision key, it removes that entry from the response.
42 43 *
43 44 * @since 0.0.1
44 - */
45 + */
45 46 if( isset( $obj ) && is_object( $obj ) && isset( $obj->response ) ) {
46 47 $response = $obj->response;
47 48 $key = eos_plugin_revision_key();
48 49 foreach( $response as $p => $arr ){
@@ -87,9 +88,9 @@
87 88 *
88 89 * @param string $destination The path where the zip file will be created.
89 90 * @param string $zip_dirname The directory name to be zipped.
90 91 * @return bool True on success, false on failure.
91 - *
92 + *
92 93 * @since 0.0.6
93 94 *
94 95 */
95 96 function eos_pv_create_zip_pclzip( $destination, $zip_dirname ) {
@@ -130,5 +131,5 @@
130 131 $files_paths[] = $file_path;
131 132 }
132 133 }
133 134 return $files_paths;
134 -}
135 +}