| @@ -1,26 +1,45 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /* |
| 3 | -Plugin Name: WordPress Database Reset | |
| 4 | -Plugin URI: https://github.com/chrisberthe/wordpress-database-reset | |
| 5 | -Description: A plugin that allows you to skip the 5 minute installation and reset WordPress's database back to its original state. | |
| 6 | -Version: 3.0.2 | |
| 7 | -Author: Chris Berthe | |
| 8 | -Author URI: https://github.com/chrisberthe | |
| 9 | -License: GNU General Public License | |
| 10 | -Text-domain: wp-reset | |
| 3 | + Plugin Name: WP Database Reset | |
| 4 | + Plugin URI: https://wordpress.org/plugins/wordpress-database-reset/ | |
| 5 | + Description: Reset all or some WP database tables back to their original state. | |
| 6 | + Version: 3.21 | |
| 7 | + Author: WebFactory Ltd | |
| 8 | + Author URI: https://www.webfactoryltd.com/ | |
| 9 | + License: GNU General Public License | |
| 10 | + Text-domain: wordpress-database-reset | |
| 11 | + | |
| 12 | + Copyright 2011 - 2022 WebFactory Ltd (email: support@webfactoryltd.com) | |
| 13 | + | |
| 14 | + This program is free software; you can redistribute it and/or modify | |
| 15 | + it under the terms of the GNU General Public License, version 2, as | |
| 16 | + published by the Free Software Foundation. | |
| 17 | + | |
| 18 | + This program is distributed in the hope that it will be useful, | |
| 19 | + but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 20 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 21 | + GNU General Public License for more details. | |
| 22 | + | |
| 23 | + You should have received a copy of the GNU General Public License | |
| 24 | + along with this program; if not, write to the Free Software | |
| 25 | + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
| 11 | 26 | */ |
| 12 | 27 | |
| 13 | -define( 'DB_RESET_VERSION', '3.0.2' ); | |
| 28 | +define( 'DB_RESET_VERSION', '3.21' ); | |
| 14 | 29 | define( 'DB_RESET_PATH', dirname( __FILE__ ) ); |
| 15 | 30 | define( 'DB_RESET_NAME', basename( DB_RESET_PATH ) ); |
| 31 | +define( 'DB_RESET_FILE', __FILE__ ); | |
| 16 | 32 | define( 'AUTOLOADER', DB_RESET_PATH . '/lib/class-plugin-autoloader.php' ); |
| 17 | 33 | |
| 18 | 34 | require_once( DB_RESET_PATH . '/lib/helpers.php' ); |
| 19 | 35 | |
| 36 | +require_once dirname(__FILE__) . '/wf-flyout/wf-flyout.php'; | |
| 37 | +new wf_flyout(__FILE__); | |
| 38 | + | |
| 20 | 39 | register_activation_hook( __FILE__, 'db_reset_activate' ); |
| 21 | 40 | |
| 22 | -load_plugin_textdomain( 'wordpress-database-reset', false, DB_RESET_NAME . '/languages/' ); | |
| 41 | +load_plugin_textdomain( 'wordpress-database-reset' ); | |
| 23 | 42 | |
| 24 | 43 | if ( file_exists( AUTOLOADER ) ) { |
| 25 | 44 | require_once( AUTOLOADER ); |
| 26 | 45 | new Plugin_Autoloader( DB_RESET_PATH ); |