PluginProbe
PlugVersions – Easily roll back to previous versions of your plugins. / 0.4.0
PlugVersions – Easily roll back to previous versions of your plugins. v0.4.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 -6 0.2.0 → 0.4.0 View file →
@@ -3,15 +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 -Requires at least: 4.9
13 -Tested up to: 6.8
12 +Version: 0.3.1
14 13 Requires PHP: 7.4
15 14 Tags: plugin, versions, revisions, restore, rollback, backup, management
16 15 */
17 16 /* This program is free software; you can redistribute it and/or modify
@@ -40,9 +39,9 @@
40 39 * It checks if the object is set and is an object, then it iterates through the response array.
41 40 * If it finds a key that matches the plugin revision key, it removes that entry from the response.
42 41 *
43 42 * @since 0.0.1
44 - */
43 + */
45 44 if( isset( $obj ) && is_object( $obj ) && isset( $obj->response ) ) {
46 45 $response = $obj->response;
47 46 $key = eos_plugin_revision_key();
48 47 foreach( $response as $p => $arr ){
@@ -87,9 +86,9 @@
87 86 *
88 87 * @param string $destination The path where the zip file will be created.
89 88 * @param string $zip_dirname The directory name to be zipped.
90 89 * @return bool True on success, false on failure.
91 - *
90 + *
92 91 * @since 0.0.6
93 92 *
94 93 */
95 94 function eos_pv_create_zip_pclzip( $destination, $zip_dirname ) {
@@ -130,5 +129,5 @@
130 129 $files_paths[] = $file_path;
131 130 }
132 131 }
133 132 return $files_paths;
134 -}
133 +}