Plugin Directory

Changeset 3345058


Ignore:
Timestamp:
08/15/2025 08:48:21 AM (8 months ago)
Author:
yipresser
Message:

minor bugs fix: fixed spelling error

Location:
admin-optimizer/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • admin-optimizer/trunk/admin-optimizer.php

    r3343907 r3345058  
    44 * Plugin URI: https://www.yipresser.com
    55 * Description: An all-in-one plugin to enhance your WordPress sites
    6  * Version: 1.0.1
     6 * Version: 1.0.2
    77 * Requires PHP: 7.2.5
    88 * Author: Yipresser
  • admin-optimizer/trunk/modules/custom-login-url/settings/custom-login-url-settings.php

    r3343907 r3345058  
    4747            [
    4848                'id'          => 'adminoptimizer-custom-login',
    49                 'title'       => __( 'Custom Login URL', 'admin-optimizer' ),
     49                'title'       => '',
    5050                'description' => '',
    5151                'menu_slug'   => Custom_Login_Url::OPTION_NAME,
     
    5757                        'id'       => 'custom-url',
    5858                        'name'     => 'custom_slug',
    59                         'desc'     => __( 'Protect your website by changing the login URL and preventing access to the wp-login.php page and the wp-admin directory to non-connected people.', 'admin-optimizer' ),
     59                        'desc'     => __( 'Change the default login URL and prevent public access to the login page.', 'admin-optimizer' ),
    6060                        'callback' => [ $this, 'render_custom_login_url_field' ],
    6161                    ],
     
    8383        ?>
    8484        <code><?php echo esc_url( home_url( '/' ) ); ?></code> <input id="custom-url" type="text" name="<?php echo esc_attr( Custom_Login_Url::OPTION_NAME ); ?>[custom_slug]" value="<?php echo esc_attr( $value ); ?>"> <code>/</code>
    85         <p class="description"><?php esc_html_e( 'Protect your website by changing the login URL and preventing access to the wp-login.php page and the wp-admin directory to non-connected people.', 'admin-optimizer' ); ?></p>
     85        <p class="description"><?php esc_html_e( 'Change the default login URL and prevent public access to the login page.', 'admin-optimizer' ); ?></p>
    8686        <?php
    8787    }
  • admin-optimizer/trunk/modules/settings/media-management/media-management.php

    r3343907 r3345058  
    4747            add_action( 'add_attachment', [ $this, 'add_image_alt_tag' ] );
    4848        }
    49         if ( ! empty( $this->options['enable_image-_underscore_to_hypen'] ) ) {
    50             add_filter( 'sanitize_file_name', [ $this, 'convert_imagename_underscore_hypen' ] );
     49        if ( ! empty( $this->options['enable_image-_underscore_to_hyphen'] ) ) {
     50            add_filter( 'sanitize_file_name', [ $this, 'convert_imagename_underscore_hyphen' ] );
    5151        }
    5252        if ( ! empty( $this->options['enable_svg_upload'] ) ) {
     
    107107                    [
    108108                        'type'  => 'slider-checkbox',
    109                         'title' => __( 'Convert underscore (_) in image filename to hypen (-)', 'admin-optimizer' ),
    110                         'id'    => 'enable-image-underscore-to-hypen',
    111                         'name'  => 'enable_image_underscore_to_hypen',
    112                         'desc'  => __( 'Auto sanitize the image filename and convert underscore (_) to hypen (-) during image upload', 'admin-optimizer' ),
     109                        'title' => __( 'Convert underscore (_) in image filename to hyphen (-)', 'admin-optimizer' ),
     110                        'id'    => 'enable-image-underscore-to-hyphen',
     111                        'name'  => 'enable_image_underscore_to_hyphen',
     112                        'desc'  => __( 'Auto sanitize the image filename and convert underscore (_) to hyphen (-) during image upload', 'admin-optimizer' ),
    113113                    ],
    114114                    [
     
    151151
    152152    /**
    153      * Convert imagename underscore to hypen
     153     * Convert image name underscore to hyphen
    154154     *
    155155     * @param string $filename Filename.
     
    157157     * @return string
    158158     */
    159     public function convert_imagename_underscore_hypen( $filename ) {
     159    public function convert_imagename_underscore_hyphen( $filename ): string {
    160160
    161161        $info = pathinfo( $filename );
  • admin-optimizer/trunk/readme.txt

    r3343907 r3345058  
    77Requires PHP: 7.2.5
    88Tested up to: 6.8
    9 Stable tag: 1.0.1
     9Stable tag: 1.0.2
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    101101== Changelog ==
    102102
     103= 1.0.2 - 15 August 2025 =
     104
     105* Minor bug fixes: fixed spelling error
     106
    103107= 1.0.1 - 13 August 2025 =
    104108
Note: See TracChangeset for help on using the changeset viewer.