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.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 | admin/pr-ajax-admin.php +4 -0 0.0.8 → 0.3.0 View file →
@@ -9,8 +9,12 @@
9 9
10 10 add_action( 'wp_ajax_eos_plugin_reviews_restore_version','eos_plugin_reviews_restore_version' );
11 11 /**
12 12 * Restore plugin version
13 + * This function is triggered by an Ajax request to restore a plugin version.
14 + * It verifies the nonce for security, checks user permissions, and restores the plugin version
15 + * from a specified directory. It unzips the plugin version if it is in zip format, renames the
16 + * plugin directory, and activates the plugin.
13 17 *
14 18 * @since 0.0.1
15 19 */
16 20 function eos_plugin_reviews_restore_version(){