Plugin Directory

Changeset 2923836


Ignore:
Timestamp:
06/09/2023 08:55:15 AM (3 years ago)
Author:
thingsym
Message:

Update to version 1.1.0 from GitHub

Location:
better-website-performance
Files:
1 added
28 edited
1 copied

Legend:

Unmodified
Added
Removed
  • better-website-performance/tags/1.1.0/better-website-performance.php

    r2920487 r2923836  
    44 * Plugin URI:  https://github.com/thingsym/better-website-performance
    55 * Description: The Better Website Performance plugin adds advanced features to improve website performance.
    6  * Version:     1.0.1
     6 * Version:     1.1.0
    77 * Author:      thingsym
    88 * Author URI:  https://www.thingslabo.com/
  • better-website-performance/tags/1.1.0/inc/class-better-website-performance.php

    r2920487 r2923836  
    2929        add_action( 'plugins_loaded', [ $this, 'init' ] );
    3030        add_action( 'plugins_loaded', [ $this, 'load_class_functions' ] );
     31
     32        register_uninstall_hook( BETTER_WEBSITE_PERFORMANCE, array( __CLASS__, 'uninstall' ) );
    3133    }
    3234
     
    8890
    8991    /**
     92     * Uninstall callback static class method for register_uninstall_hook
     93     *
     94     * @access static
     95     *
     96     * @return void
     97     *
     98     * @since 1.1.0
     99     */
     100    public static function uninstall() {
     101        \Better_Website_Performance\Emoji\Emoji::uninstall();
     102        \Better_Website_Performance\Image_Srcset\Image_Srcset::uninstall();
     103        \Better_Website_Performance\JavaScript\Async::uninstall();
     104        \Better_Website_Performance\Jquery\Jquery::uninstall();
     105        \Better_Website_Performance\Preload\Preload::uninstall();
     106        \Better_Website_Performance\Resource_Hints\Resource_Hints::uninstall();
     107        \Better_Website_Performance\Style\Concat::uninstall();
     108        \Better_Website_Performance\Wp_Custom_Css\Wp_Custom_Css::uninstall();
     109        \Better_Website_Performance\Wp_Head\Wp_Head::uninstall();
     110    }
     111
     112    /**
    90113     * Set links below a plugin on the Plugins page.
    91114     *
  • better-website-performance/tags/1.1.0/inc/emoji/class-emoji.php

    r2920487 r2923836  
    192192        );
    193193    }
     194
     195    /**
     196     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     197     *
     198     * @access static
     199     *
     200     * @return void
     201     *
     202     * @since 1.1.0
     203     */
     204    public static function uninstall() {
     205        delete_option( 'better_website_performance_emoji_options' );
     206    }
     207
    194208}
  • better-website-performance/tags/1.1.0/inc/image-srcset/class-image-srcset.php

    r2920487 r2923836  
    185185        );
    186186    }
     187
     188    /**
     189     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     190     *
     191     * @access static
     192     *
     193     * @return void
     194     *
     195     * @since 1.1.0
     196     */
     197    public static function uninstall() {
     198        delete_option( 'better_website_performance_image_srcset_options' );
     199    }
     200
    187201}
  • better-website-performance/tags/1.1.0/inc/javascript/class-async.php

    r2920487 r2923836  
    247247            ]
    248248        );
    249 
    250     }
     249    }
     250
     251    /**
     252     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     253     *
     254     * @access static
     255     *
     256     * @return void
     257     *
     258     * @since 1.1.0
     259     */
     260    public static function uninstall() {
     261        delete_option( 'better_website_performance_async_javascript_options' );
     262    }
     263
    251264}
  • better-website-performance/tags/1.1.0/inc/jquery/class-jquery.php

    r2920487 r2923836  
    289289        );
    290290    }
     291
     292    /**
     293     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     294     *
     295     * @access static
     296     *
     297     * @return void
     298     *
     299     * @since 1.1.0
     300     */
     301    public static function uninstall() {
     302        delete_option( 'better_website_performance_jquery_options' );
     303    }
     304
    291305}
  • better-website-performance/tags/1.1.0/inc/preload/class-preload.php

    r2920487 r2923836  
    225225
    226226    }
     227
     228    /**
     229     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     230     *
     231     * @access static
     232     *
     233     * @return void
     234     *
     235     * @since 1.1.0
     236     */
     237    public static function uninstall() {
     238        delete_option( 'better_website_performance_preload_options' );
     239    }
     240
    227241}
  • better-website-performance/tags/1.1.0/inc/resource-hints/class-resource-hints.php

    r2920487 r2923836  
    319319        );
    320320    }
     321
     322    /**
     323     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     324     *
     325     * @access static
     326     *
     327     * @return void
     328     *
     329     * @since 1.1.0
     330     */
     331    public static function uninstall() {
     332        delete_option( 'better_website_performance_resource_hints_options' );
     333    }
     334
    321335}
  • better-website-performance/tags/1.1.0/inc/style/class-concat.php

    r2920487 r2923836  
    335335
    336336    }
     337
     338    /**
     339     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     340     *
     341     * @access static
     342     *
     343     * @return void
     344     *
     345     * @since 1.1.0
     346     */
     347    public static function uninstall() {
     348        delete_option( 'better_website_performance_concat_style_options' );
     349    }
     350
    337351}
  • better-website-performance/tags/1.1.0/inc/wp-custom-css/class-wp-custom-css.php

    r2920487 r2923836  
    184184        );
    185185    }
     186
     187    /**
     188     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     189     *
     190     * @access static
     191     *
     192     * @return void
     193     *
     194     * @since 1.1.0
     195     */
     196    public static function uninstall() {
     197        delete_option( 'better_website_performance_wp_custom_css_options' );
     198    }
     199
    186200}
  • better-website-performance/tags/1.1.0/inc/wp-head/class-wp-head.php

    r2920487 r2923836  
    371371
    372372    }
     373
     374    /**
     375     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     376     *
     377     * @access static
     378     *
     379     * @return void
     380     *
     381     * @since 1.1.0
     382     */
     383    public static function uninstall() {
     384        delete_option( 'better_website_performance_wp_head_options' );
     385    }
     386
    373387}
  • better-website-performance/tags/1.1.0/languages/better-website-performance-ja.po

    r2920487 r2923836  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Better Website Performance 1.0.1\n"
     5"Project-Id-Version: Better Website Performance 1.1.0\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/better-website-"
    77"performance\n"
  • better-website-performance/tags/1.1.0/languages/better-website-performance.pot

    r2920487 r2923836  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Better Website Performance 1.0.1\n"
     5"Project-Id-Version: Better Website Performance 1.1.0\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/better-website-performance\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • better-website-performance/tags/1.1.0/readme.txt

    r2920487 r2923836  
    55Donate link: https://github.com/sponsors/thingsym
    66Tags: performance
    7 Stable tag: 1.0.1
     7Stable tag: 1.1.0
    88Tested up to: 6.2.0
    99Requires at least: 6.0
     
    113113== Changelog ==
    114114
     115= 1.1.0 =
     116* add test case
     117* add uninstall process
     118* add public class property
     119* fix test case
     120* ci support php version 8.0 later
     121* add github actions for deploy to wordpress.org
     122
    115123= 1.0.1 for review =
    116124* imporve code with phpcs
  • better-website-performance/trunk/better-website-performance.php

    r2920487 r2923836  
    44 * Plugin URI:  https://github.com/thingsym/better-website-performance
    55 * Description: The Better Website Performance plugin adds advanced features to improve website performance.
    6  * Version:     1.0.1
     6 * Version:     1.1.0
    77 * Author:      thingsym
    88 * Author URI:  https://www.thingslabo.com/
  • better-website-performance/trunk/inc/class-better-website-performance.php

    r2920487 r2923836  
    2929        add_action( 'plugins_loaded', [ $this, 'init' ] );
    3030        add_action( 'plugins_loaded', [ $this, 'load_class_functions' ] );
     31
     32        register_uninstall_hook( BETTER_WEBSITE_PERFORMANCE, array( __CLASS__, 'uninstall' ) );
    3133    }
    3234
     
    8890
    8991    /**
     92     * Uninstall callback static class method for register_uninstall_hook
     93     *
     94     * @access static
     95     *
     96     * @return void
     97     *
     98     * @since 1.1.0
     99     */
     100    public static function uninstall() {
     101        \Better_Website_Performance\Emoji\Emoji::uninstall();
     102        \Better_Website_Performance\Image_Srcset\Image_Srcset::uninstall();
     103        \Better_Website_Performance\JavaScript\Async::uninstall();
     104        \Better_Website_Performance\Jquery\Jquery::uninstall();
     105        \Better_Website_Performance\Preload\Preload::uninstall();
     106        \Better_Website_Performance\Resource_Hints\Resource_Hints::uninstall();
     107        \Better_Website_Performance\Style\Concat::uninstall();
     108        \Better_Website_Performance\Wp_Custom_Css\Wp_Custom_Css::uninstall();
     109        \Better_Website_Performance\Wp_Head\Wp_Head::uninstall();
     110    }
     111
     112    /**
    90113     * Set links below a plugin on the Plugins page.
    91114     *
  • better-website-performance/trunk/inc/emoji/class-emoji.php

    r2920487 r2923836  
    192192        );
    193193    }
     194
     195    /**
     196     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     197     *
     198     * @access static
     199     *
     200     * @return void
     201     *
     202     * @since 1.1.0
     203     */
     204    public static function uninstall() {
     205        delete_option( 'better_website_performance_emoji_options' );
     206    }
     207
    194208}
  • better-website-performance/trunk/inc/image-srcset/class-image-srcset.php

    r2920487 r2923836  
    185185        );
    186186    }
     187
     188    /**
     189     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     190     *
     191     * @access static
     192     *
     193     * @return void
     194     *
     195     * @since 1.1.0
     196     */
     197    public static function uninstall() {
     198        delete_option( 'better_website_performance_image_srcset_options' );
     199    }
     200
    187201}
  • better-website-performance/trunk/inc/javascript/class-async.php

    r2920487 r2923836  
    247247            ]
    248248        );
    249 
    250     }
     249    }
     250
     251    /**
     252     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     253     *
     254     * @access static
     255     *
     256     * @return void
     257     *
     258     * @since 1.1.0
     259     */
     260    public static function uninstall() {
     261        delete_option( 'better_website_performance_async_javascript_options' );
     262    }
     263
    251264}
  • better-website-performance/trunk/inc/jquery/class-jquery.php

    r2920487 r2923836  
    289289        );
    290290    }
     291
     292    /**
     293     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     294     *
     295     * @access static
     296     *
     297     * @return void
     298     *
     299     * @since 1.1.0
     300     */
     301    public static function uninstall() {
     302        delete_option( 'better_website_performance_jquery_options' );
     303    }
     304
    291305}
  • better-website-performance/trunk/inc/preload/class-preload.php

    r2920487 r2923836  
    225225
    226226    }
     227
     228    /**
     229     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     230     *
     231     * @access static
     232     *
     233     * @return void
     234     *
     235     * @since 1.1.0
     236     */
     237    public static function uninstall() {
     238        delete_option( 'better_website_performance_preload_options' );
     239    }
     240
    227241}
  • better-website-performance/trunk/inc/resource-hints/class-resource-hints.php

    r2920487 r2923836  
    319319        );
    320320    }
     321
     322    /**
     323     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     324     *
     325     * @access static
     326     *
     327     * @return void
     328     *
     329     * @since 1.1.0
     330     */
     331    public static function uninstall() {
     332        delete_option( 'better_website_performance_resource_hints_options' );
     333    }
     334
    321335}
  • better-website-performance/trunk/inc/style/class-concat.php

    r2920487 r2923836  
    335335
    336336    }
     337
     338    /**
     339     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     340     *
     341     * @access static
     342     *
     343     * @return void
     344     *
     345     * @since 1.1.0
     346     */
     347    public static function uninstall() {
     348        delete_option( 'better_website_performance_concat_style_options' );
     349    }
     350
    337351}
  • better-website-performance/trunk/inc/wp-custom-css/class-wp-custom-css.php

    r2920487 r2923836  
    184184        );
    185185    }
     186
     187    /**
     188     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     189     *
     190     * @access static
     191     *
     192     * @return void
     193     *
     194     * @since 1.1.0
     195     */
     196    public static function uninstall() {
     197        delete_option( 'better_website_performance_wp_custom_css_options' );
     198    }
     199
    186200}
  • better-website-performance/trunk/inc/wp-head/class-wp-head.php

    r2920487 r2923836  
    371371
    372372    }
     373
     374    /**
     375     * Uninstall callback for static class method \Better_Website_Performance\Better_Website_Performance::uninstall()
     376     *
     377     * @access static
     378     *
     379     * @return void
     380     *
     381     * @since 1.1.0
     382     */
     383    public static function uninstall() {
     384        delete_option( 'better_website_performance_wp_head_options' );
     385    }
     386
    373387}
  • better-website-performance/trunk/languages/better-website-performance-ja.po

    r2920487 r2923836  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Better Website Performance 1.0.1\n"
     5"Project-Id-Version: Better Website Performance 1.1.0\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/better-website-"
    77"performance\n"
  • better-website-performance/trunk/languages/better-website-performance.pot

    r2920487 r2923836  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Better Website Performance 1.0.1\n"
     5"Project-Id-Version: Better Website Performance 1.1.0\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/better-website-performance\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • better-website-performance/trunk/readme.txt

    r2920487 r2923836  
    55Donate link: https://github.com/sponsors/thingsym
    66Tags: performance
    7 Stable tag: 1.0.1
     7Stable tag: 1.1.0
    88Tested up to: 6.2.0
    99Requires at least: 6.0
     
    113113== Changelog ==
    114114
     115= 1.1.0 =
     116* add test case
     117* add uninstall process
     118* add public class property
     119* fix test case
     120* ci support php version 8.0 later
     121* add github actions for deploy to wordpress.org
     122
    115123= 1.0.1 for review =
    116124* imporve code with phpcs
Note: See TracChangeset for help on using the changeset viewer.