| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | /** |
| 4 | 4 | * Plugin Name: Passster |
| 5 | 5 | * Plugin URI: https://passster.com/ |
| 6 | 6 | * Description: A simple plugin to password-protect your complete website, some pages/posts or just parts of your content. |
| 7 | - * Version: 4.3.15 | |
| 7 | + * Version: 4.2.17 | |
| 8 | 8 | * Author: WPChill |
| 9 | 9 | * Author URI: https://wpchill.com |
| 10 | 10 | * License: GPL-2.0+ |
| 11 | 11 | * License URI: http://www.gnu.org/licenses/gpl-2.0.txt |
| @@ -18,9 +18,9 @@ | ||
| 18 | 18 | * Patrick Posner transferred ownership rights on: 6th of December, 2024 when ownership was handed over to WPChill |
| 19 | 19 | */ |
| 20 | 20 | define( 'PASSSTER_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) ); |
| 21 | 21 | define( 'PASSSTER_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) ); |
| 22 | -define( 'PASSSTER_VERSION', '4.3.15' ); | |
| 22 | +define( 'PASSSTER_VERSION', '4.2.17' ); | |
| 23 | 23 | // run plugin. |
| 24 | 24 | if ( !function_exists( 'passster_run_plugin' ) ) { |
| 25 | 25 | add_action( 'plugins_loaded', 'passster_run_plugin' ); |
| 26 | 26 | /** |
| @@ -33,16 +33,14 @@ | ||
| 33 | 33 | // Include files. |
| 34 | 34 | require_once PASSSTER_PATH . '/inc/class-ps-conditional.php'; |
| 35 | 35 | require_once PASSSTER_PATH . '/inc/class-ps-helper.php'; |
| 36 | 36 | require_once PASSSTER_PATH . '/inc/class-ps-form.php'; |
| 37 | + require_once PASSSTER_PATH . '/inc/class-ps-ajax.php'; | |
| 37 | 38 | require_once PASSSTER_PATH . '/inc/class-ps-public.php'; |
| 38 | 39 | require_once PASSSTER_PATH . '/inc/class-ps-migrator.php'; |
| 39 | 40 | require_once PASSSTER_PATH . '/inc/class-ps-block-editor.php'; |
| 40 | 41 | require_once PASSSTER_PATH . '/inc/class-ps-rest-handler.php'; |
| 41 | - require_once PASSSTER_PATH . '/inc/class-ps-protected-areas-rest-controller.php'; | |
| 42 | - require_once PASSSTER_PATH . '/inc/class-ps-rest-api.php'; | |
| 43 | 42 | require_once PASSSTER_PATH . '/inc/class-ps-protected-posts.php'; |
| 44 | - require_once PASSSTER_PATH . '/inc/class-ps-category-lock.php'; | |
| 45 | 43 | // admin. |
| 46 | 44 | require_once PASSSTER_PATH . '/inc/admin/inc/class-ps-admin-settings.php'; |
| 47 | 45 | require_once PASSSTER_PATH . '/inc/admin/inc/class-ps-upsells.php'; |
| 48 | 46 | require_once PASSSTER_PATH . '/inc/admin/inc/class-ps-admin.php'; |
| @@ -60,12 +58,12 @@ | ||
| 60 | 58 | passster\PS_Admin_Settings::get_instance(); |
| 61 | 59 | passster\PS_Meta::get_instance(); |
| 62 | 60 | passster\PS_Dynamic_Styles::get_instance(); |
| 63 | 61 | passster\PS_Form::get_instance(); |
| 62 | + passster\PS_Ajax::get_instance(); | |
| 64 | 63 | passster\PS_Public::get_instance(); |
| 65 | 64 | passster\PS_Block_Editor::get_instance(); |
| 66 | 65 | passster\PS_Rest_Handler::get_instance(); |
| 67 | - passster\PS_Rest_API::get_instance(); | |
| 68 | 66 | passster\PS_Upsells::get_instance(); |
| 69 | 67 | // Maybe migrate settings. |
| 70 | 68 | $options = get_option( 'passster' ); |
| 71 | 69 | if ( empty( $options ) ) { |
| @@ -71,8 +69,7 @@ | ||
| 71 | 69 | if ( empty( $options ) ) { |
| 72 | 70 | passster\PS_Migrator::migrate(); |
| 73 | 71 | } |
| 74 | 72 | passster\PS_Protected_Posts::get_instance(); |
| 75 | - passster\PS_Category_Lock::get_instance(); | |
| 76 | 73 | } |
| 77 | 74 | |
| 78 | 75 | } |