Plugin Directory

Changeset 2935307


Ignore:
Timestamp:
07/06/2023 05:02:06 PM (3 years ago)
Author:
pavlo.opanasenko
Message:

Version 0.5.3

Location:
searchwp-modal-search-form
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • searchwp-modal-search-form/tags/0.5.3/includes/Plugin.php

    r2934767 r2935307  
    2727            ->setup();
    2828
     29        $this->register_classes();
     30
    2931        $this->hooks();
     32    }
     33
     34    /**
     35     * Register plugin classes.
     36     *
     37     * @since 0.5.3
     38     */
     39    public function register_classes() {
     40
     41        searchwp_modal_form()
     42            ->incl( 'Utils.php' );
     43
     44        searchwp_modal_form()
     45            ->incl( 'Settings.php' )
     46            ->register( 'Settings' );
     47
     48        searchwp_modal_form()
     49            ->incl( 'Notice.php' )
     50            ->register( 'Notice' );
     51
     52        searchwp_modal_form()
     53            ->incl( 'SettingsApi.php' )
     54            ->register( 'SettingsApi' );
     55
     56        searchwp_modal_form()
     57            ->incl( 'Notifications.php' )
     58            ->register( 'Notifications' );
     59
     60        searchwp_modal_form()
     61            ->incl( 'AdminMenu.php' )
     62            ->register( 'AdminMenu' );
    3063    }
    3164
     
    73106
    74107        searchwp_modal_form()
    75             ->incl( 'Utils.php' );
     108            ->get( 'Settings' )
     109            ->hooks();
    76110
    77111        searchwp_modal_form()
    78             ->incl( 'Settings.php' )
    79             ->register( 'Settings' )
     112            ->get( 'Notice' )
    80113            ->hooks();
    81114
    82115        searchwp_modal_form()
    83             ->incl( 'Notice.php' )
    84             ->register( 'Notice' )
    85             ->hooks();
     116            ->get( 'SettingsApi' )
     117            ->init();
     118
     119        searchwp_modal_form()
     120            ->get( 'Notifications' )
     121            ->init();
    86122
    87123        searchwp_modal_form()
    88             ->incl( 'SettingsApi.php' )
    89             ->register( 'SettingsApi' )
    90             ->init();
    91 
    92         searchwp_modal_form()
    93             ->incl( 'Notifications.php' )
    94             ->register( 'Notifications' )
    95             ->init();
    96 
    97         searchwp_modal_form()
    98             ->incl( 'AdminMenu.php' )
    99             ->register( 'AdminMenu' )
     124            ->get( 'AdminMenu' )
    100125            ->hooks();
    101126    }
  • searchwp-modal-search-form/tags/0.5.3/readme.txt

    r2934767 r2935307  
    55Tested up to: 6.0
    66Requires PHP: 7.0
    7 Stable tag: 0.5.2
     7Stable tag: 0.5.3
    88
    99Quickly and easily insert modal search forms into Menus, as a Block, or directly within theme templates.
     
    9696== Changelog ==
    9797
     98*0.5.3*
     99- Fixes "Call to undefined method" error appearing on some themes.
     100
    98101*0.5.2*
    99102- Fixes deprecation notices on PHP 8.2.
  • searchwp-modal-search-form/tags/0.5.3/searchwp-modal-form.php

    r2934767 r2935307  
    44Plugin URI: https://searchwp.com/extensions/modal-form/
    55Description: Lightweight and accessible search form
    6 Version: 0.5.2
     6Version: 0.5.3
    77Requires PHP: 5.6
    88Author: SearchWP, LLC
     
    3838     * @since 0.1
    3939     */
    40     define( 'SEARCHWP_MODAL_FORM_VERSION', '0.5.2' );
     40    define( 'SEARCHWP_MODAL_FORM_VERSION', '0.5.3' );
    4141}
    4242
  • searchwp-modal-search-form/trunk/includes/Plugin.php

    r2934767 r2935307  
    2727            ->setup();
    2828
     29        $this->register_classes();
     30
    2931        $this->hooks();
     32    }
     33
     34    /**
     35     * Register plugin classes.
     36     *
     37     * @since 0.5.3
     38     */
     39    public function register_classes() {
     40
     41        searchwp_modal_form()
     42            ->incl( 'Utils.php' );
     43
     44        searchwp_modal_form()
     45            ->incl( 'Settings.php' )
     46            ->register( 'Settings' );
     47
     48        searchwp_modal_form()
     49            ->incl( 'Notice.php' )
     50            ->register( 'Notice' );
     51
     52        searchwp_modal_form()
     53            ->incl( 'SettingsApi.php' )
     54            ->register( 'SettingsApi' );
     55
     56        searchwp_modal_form()
     57            ->incl( 'Notifications.php' )
     58            ->register( 'Notifications' );
     59
     60        searchwp_modal_form()
     61            ->incl( 'AdminMenu.php' )
     62            ->register( 'AdminMenu' );
    3063    }
    3164
     
    73106
    74107        searchwp_modal_form()
    75             ->incl( 'Utils.php' );
     108            ->get( 'Settings' )
     109            ->hooks();
    76110
    77111        searchwp_modal_form()
    78             ->incl( 'Settings.php' )
    79             ->register( 'Settings' )
     112            ->get( 'Notice' )
    80113            ->hooks();
    81114
    82115        searchwp_modal_form()
    83             ->incl( 'Notice.php' )
    84             ->register( 'Notice' )
    85             ->hooks();
     116            ->get( 'SettingsApi' )
     117            ->init();
     118
     119        searchwp_modal_form()
     120            ->get( 'Notifications' )
     121            ->init();
    86122
    87123        searchwp_modal_form()
    88             ->incl( 'SettingsApi.php' )
    89             ->register( 'SettingsApi' )
    90             ->init();
    91 
    92         searchwp_modal_form()
    93             ->incl( 'Notifications.php' )
    94             ->register( 'Notifications' )
    95             ->init();
    96 
    97         searchwp_modal_form()
    98             ->incl( 'AdminMenu.php' )
    99             ->register( 'AdminMenu' )
     124            ->get( 'AdminMenu' )
    100125            ->hooks();
    101126    }
  • searchwp-modal-search-form/trunk/readme.txt

    r2934767 r2935307  
    55Tested up to: 6.0
    66Requires PHP: 7.0
    7 Stable tag: 0.5.2
     7Stable tag: 0.5.3
    88
    99Quickly and easily insert modal search forms into Menus, as a Block, or directly within theme templates.
     
    9696== Changelog ==
    9797
     98*0.5.3*
     99- Fixes "Call to undefined method" error appearing on some themes.
     100
    98101*0.5.2*
    99102- Fixes deprecation notices on PHP 8.2.
  • searchwp-modal-search-form/trunk/searchwp-modal-form.php

    r2934767 r2935307  
    44Plugin URI: https://searchwp.com/extensions/modal-form/
    55Description: Lightweight and accessible search form
    6 Version: 0.5.2
     6Version: 0.5.3
    77Requires PHP: 5.6
    88Author: SearchWP, LLC
     
    3838     * @since 0.1
    3939     */
    40     define( 'SEARCHWP_MODAL_FORM_VERSION', '0.5.2' );
     40    define( 'SEARCHWP_MODAL_FORM_VERSION', '0.5.3' );
    4141}
    4242
Note: See TracChangeset for help on using the changeset viewer.