PluginProbe ʕ •ᴥ•ʔ
Firebase Authentication / 1.6.9
Firebase Authentication v1.6.9
1.7.0 trunk 1.0.0 1.1.1 1.1.2 1.1.3 1.1.4 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.8 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9
firebase-authentication / uninstall.php
firebase-authentication Last commit date
admin 3 weeks ago includes 3 weeks ago languages 3 weeks ago public 3 weeks ago views 3 weeks ago README.txt 3 weeks ago class-mo-firebase-config.php 3 weeks ago class-mo-firebase-contact-us.php 3 weeks ago firebase-authentication.php 3 weeks ago index.php 3 weeks ago uninstall.php 3 weeks ago
uninstall.php
46 lines
1 <?php
2 /**
3 * Fired when the plugin is uninstalled.
4 *
5 * When populating this file, consider the following flow
6 * of control:
7 *
8 * - This method should be static
9 * - Check if the $_REQUEST content actually is the plugin name
10 * - Run an admin referrer check to make sure it goes through authentication
11 * - Verify the output of $_GET makes sense
12 * - Repeat with other user roles. Best directly by using the links/query string parameters.
13 * - Repeat things for multisite. Once for a single site in the network, once sitewide.
14 *
15 * This file may be updated more in future version of the Boilerplate; however, this is the
16 * general skeleton and outline for how the file should work.
17 *
18 * For more information, see the following discussion:
19 * https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/pull/123#issuecomment-28541913
20 *
21 * @link https://miniorange.com
22 * @since 1.0.0
23 *
24 * @package Firebase_Authentication
25 */
26
27 // If uninstall not called from WordPress, then exit.
28 if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
29 exit;
30 }
31
32 delete_option( 'mo_firebase_auth_project_id' );
33 delete_option( 'mo_firebase_auth_api_key' );
34 delete_option( 'mo_enable_firebase_auth' );
35 delete_option( 'mo_firebase_auth_disable_wordpress_login' );
36 delete_option( 'mo_firebase_auth_enable_admin_wp_login' );
37 delete_option( 'mo_firebase_auth_api_key' );
38 delete_option( 'mo_firebase_auth_kid1' );
39 delete_option( 'mo_firebase_auth_cert1' );
40 delete_option( 'mo_firebase_auth_kid2' );
41 delete_option( 'mo_firebase_auth_cert2' );
42 delete_option( 'mo_firebase_auth_woocommerce_intigration' );
43 delete_option( 'mo_enable_firebase_auto_register' );
44 delete_option( 'mo_firebase_auth_buddypress_intigration' );
45 delete_option( 'mo_fb_host_name' );
46