💥 TRENDING: Changeset/ - High Quality

Changeset 2967561


Ignore:
Timestamp:
09/15/2023 03:25:13 PM (2 years ago)
Author:
andreaporotti
Message:

Updating to version 1.5.0.

Location:
smart-admin-search/trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • smart-admin-search/trunk/README.txt

    r2896523 r2967561  
    33Tags: search, admin, dashboard
    44Requires at least: 5.0
    5 Tested up to: 6.2
     5Tested up to: 6.3
    66Requires PHP: 5.6
    7 Stable tag: 1.4.1
     7Stable tag: 1.5.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9191== Changelog ==
    9292
     93**1.5.0 [2023-09-15]**
     94- Added a notice after plugin activation to suggest visiting plugin settings and choose a keyboard shortcut.
     95- Small changes to the search field appearance.
     96- Tested on WordPress 6.3.
     97
    9398**1.4.1 [2023-04-10]**
    9499- Fixed a bug in the search when the site has no custom post types.
  • smart-admin-search/trunk/admin/class-smart-admin-search-admin.php

    r2651625 r2967561  
    400400    }
    401401
     402    /**
     403     * Shows admin notice suggesting to configure a keyboard shortcut.
     404     *
     405     * @since     1.5.0
     406     */
     407    public function show_admin_notice_keys_shortcut() {
     408
     409        if ( get_option( 'sas_show_admin_notice_keys_shortcut' ) ) {
     410            ?>
     411            <div class="notice notice-warning">
     412                <p>
     413                    <?php
     414                        printf(
     415                            /* translators: %1$s is the plugin name, %2$s is the settings page url. */
     416                            wp_kses( __( 'Thank you for using %1$s, I hope you will like it! Please take a look at the <a href="%2$s">settings</a> page to choose a keyboard shortcut or configure the other plugin options.', 'smart-admin-search' ), array( 'a' => array( 'href' => array() ) ) ),
     417                            esc_html( $this->plugin_name ),
     418                            esc_url( add_query_arg( 'page', 'smart-admin-search_options', admin_url( 'options-general.php' ) ) )
     419                        );
     420                    ?>
     421                </p>
     422            </div>
     423            <?php