PluginProbe
CBX Map for Google Map & OpenStreetMap / trunk
CBX Map for Google Map & OpenStreetMap vtrunk
trunk 1.1.10 1.1.11 1.1.12 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5
← All changes | uninstall.php +7 -3 2.0.1trunk View file →
@@ -1,5 +1,9 @@
1 1 <?php
2 +// If this file is called directly, abort.
3 +if ( ! defined( 'WPINC' ) ) {
4 + die;
5 +}
2 6
3 7 /**
4 8 * Fired when the plugin is uninstalled.
5 9 *
@@ -34,13 +38,13 @@
34 38
35 39 /**
36 40 * The code that runs during plugin uninstall.
37 41 */
38 -function uninstall_cbxgooglemap() {
42 +function cbxgooglemap_uninstall() {
39 43 require_once plugin_dir_path( __FILE__ ) . 'includes/CBXGoogleMapUninstall.php';
40 44
41 45 CBXGoogleMapUninstall::uninstall();
42 -}//end function uninstall_cbxgooglemap
46 +}//end function cbxgooglemap_uninstall
43 47
44 48 if ( ! defined( 'CBXGOOGLEMAP_PLUGIN_NAME' ) ) {
45 - uninstall_cbxgooglemap();
49 + cbxgooglemap_uninstall();
46 50 }