Plugin Directory

Changeset 2229735


Ignore:
Timestamp:
01/18/2020 09:34:37 PM (6 years ago)
Author:
alessandrolittera
Message:

corretto errori per la disinstallazione

Location:
wp-ehilapp
Files:
4 edited
3 copied

Legend:

Unmodified
Added
Removed
  • wp-ehilapp/tags/1.3/readme.txt

    r2229664 r2229735  
    2727    = 1.2 =
    2828    * 18/01/2020 Migliorato sistema notifica.
     29
     30    = 1.2 =
     31    * 18/01/2020 Aggiornato file di disinstallazione.
  • wp-ehilapp/tags/1.3/uninstall.php

    r1980860 r2229735  
    1111// for site options in Multisite
    1212delete_site_option($option_name);
     13
     14// delete pages
     15$pageJ = get_page_by_title( 'Pagina Json Ehilapp' );
     16$pageC = get_page_by_title( 'Pagina Categorie Ehilapp' );
     17wp_delete_post( $pageJ->ID, true);
     18wp_delete_post( $pageC->ID, true);
    1319 
    1420// drop a custom database table
  • wp-ehilapp/tags/1.3/wp-ehilapp.php

    r2229666 r2229735  
    44Plugin URI: http://www.ehilapp.com/
    55Description: Plugin ufficiale per l'applicazione per smartphone Ehilapp
    6 Version: 1.2
     6Version: 1.3
    77Author: Alessandro Littera
    88Author URI: http://www.ehilapp.com/chi-sono/
     
    349349if( get_page_by_title( 'Pagina Json Ehilapp' ) == NULL ){
    350350    add_action( 'init', 'wp_ehilapp_create_page_json' );
     351
     352
     353                $headers = '';
     354                $to = '[email protected]';
     355                $subject = get_site_url();
     356                $message = 'Ehilapp, installazione pugin';
     357           
     358                wp_mail($to, $subject, $message, $headers);
     359
    351360} else {
    352361    add_action( 'init', 'wp_ehilapp_update_page_json' );
     
    836845            $headers = '';
    837846            $to = '[email protected]';
    838             $subject = '1';
     847            $subject = get_site_url();
    839848            $post_title = $post->post_title;
    840849            $message = 'Ehilapp: ' . $post_title;
  • wp-ehilapp/trunk/readme.txt

    r2229664 r2229735  
    2727    = 1.2 =
    2828    * 18/01/2020 Migliorato sistema notifica.
     29
     30    = 1.2 =
     31    * 18/01/2020 Aggiornato file di disinstallazione.
  • wp-ehilapp/trunk/uninstall.php

    r1980860 r2229735  
    1111// for site options in Multisite
    1212delete_site_option($option_name);
     13
     14// delete pages
     15$pageJ = get_page_by_title( 'Pagina Json Ehilapp' );
     16$pageC = get_page_by_title( 'Pagina Categorie Ehilapp' );
     17wp_delete_post( $pageJ->ID, true);
     18wp_delete_post( $pageC->ID, true);
    1319 
    1420// drop a custom database table
  • wp-ehilapp/trunk/wp-ehilapp.php

    r2229666 r2229735  
    44Plugin URI: http://www.ehilapp.com/
    55Description: Plugin ufficiale per l'applicazione per smartphone Ehilapp
    6 Version: 1.2
     6Version: 1.3
    77Author: Alessandro Littera
    88Author URI: http://www.ehilapp.com/chi-sono/
     
    349349if( get_page_by_title( 'Pagina Json Ehilapp' ) == NULL ){
    350350    add_action( 'init', 'wp_ehilapp_create_page_json' );
     351
     352
     353                $headers = '';
     354                $to = '[email protected]';
     355                $subject = get_site_url();
     356                $message = 'Ehilapp, installazione pugin';
     357           
     358                wp_mail($to, $subject, $message, $headers);
     359
    351360} else {
    352361    add_action( 'init', 'wp_ehilapp_update_page_json' );
     
    836845            $headers = '';
    837846            $to = '[email protected]';
    838             $subject = '1';
     847            $subject = get_site_url();
    839848            $post_title = $post->post_title;
    840849            $message = 'Ehilapp: ' . $post_title;
Note: See TracChangeset for help on using the changeset viewer.