Plugin Directory

Changeset 2299402


Ignore:
Timestamp:
05/06/2020 03:09:27 PM (6 years ago)
Author:
guestapp
Message:

Fixed uninstall bug and updated API Url

Location:
guestapp
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • guestapp/tags/1.4.9/README.txt

    r2239936 r2299402  
    44Requires at least: 3.1
    55Tested up to: 5.2
    6 Stable tag: 1.4.8
     6Stable tag: 1.4.9
    77Requires PHP: 5.2
    88License: GPLv2
  • guestapp/tags/1.4.9/guestapp.php

    r2239936 r2299402  
    55Plugin URI: https://wordpress.org/plugins/guestapp/
    66Description: Guest Suite Plugin
    7 Version: 1.4.8
     7Version: 1.4.9
    88Author: Guest Suite
    99Author URI: https://www.guest-suite.com
     
    225225 * Delete everything related to GuestApp when uninstalling
    226226 */
    227 register_uninstall_hook(__FILE__, 'uninstall' );
    228 function uninstall() {
    229     if (!defined('WP_UNINSTALL_PLUGIN')) {
    230         die();
    231     }
     227register_uninstall_hook(__FILE__, 'guestapp_uninstall' );
     228function guestapp_uninstall() {
    232229    remove_shortcode('guestapp');
    233230    remove_action('media_buttons', 'add_form_button');
  • guestapp/trunk/README.txt

    r2239936 r2299402  
    44Requires at least: 3.1
    55Tested up to: 5.2
    6 Stable tag: 1.4.8
     6Stable tag: 1.4.9
    77Requires PHP: 5.2
    88License: GPLv2
  • guestapp/trunk/guestapp.php

    r2239936 r2299402  
    55Plugin URI: https://wordpress.org/plugins/guestapp/
    66Description: Guest Suite Plugin
    7 Version: 1.4.8
     7Version: 1.4.9
    88Author: Guest Suite
    99Author URI: https://www.guest-suite.com
     
    225225 * Delete everything related to GuestApp when uninstalling
    226226 */
    227 register_uninstall_hook(__FILE__, 'uninstall' );
    228 function uninstall() {
    229     if (!defined('WP_UNINSTALL_PLUGIN')) {
    230         die();
    231     }
     227register_uninstall_hook(__FILE__, 'guestapp_uninstall' );
     228function guestapp_uninstall() {
    232229    remove_shortcode('guestapp');
    233230    remove_action('media_buttons', 'add_form_button');
Note: See TracChangeset for help on using the changeset viewer.