Changeset 3345058
- Timestamp:
- 08/15/2025 08:48:21 AM (8 months ago)
- Location:
- admin-optimizer/trunk
- Files:
-
- 4 edited
-
admin-optimizer.php (modified) (1 diff)
-
modules/custom-login-url/settings/custom-login-url-settings.php (modified) (3 diffs)
-
modules/settings/media-management/media-management.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
admin-optimizer/trunk/admin-optimizer.php
r3343907 r3345058 4 4 * Plugin URI: https://www.yipresser.com 5 5 * Description: An all-in-one plugin to enhance your WordPress sites 6 * Version: 1.0. 16 * Version: 1.0.2 7 7 * Requires PHP: 7.2.5 8 8 * Author: Yipresser -
admin-optimizer/trunk/modules/custom-login-url/settings/custom-login-url-settings.php
r3343907 r3345058 47 47 [ 48 48 'id' => 'adminoptimizer-custom-login', 49 'title' => __( 'Custom Login URL', 'admin-optimizer' ),49 'title' => '', 50 50 'description' => '', 51 51 'menu_slug' => Custom_Login_Url::OPTION_NAME, … … 57 57 'id' => 'custom-url', 58 58 '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' ), 60 60 'callback' => [ $this, 'render_custom_login_url_field' ], 61 61 ], … … 83 83 ?> 84 84 <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> 86 86 <?php 87 87 } -
admin-optimizer/trunk/modules/settings/media-management/media-management.php
r3343907 r3345058 47 47 add_action( 'add_attachment', [ $this, 'add_image_alt_tag' ] ); 48 48 } 49 if ( ! empty( $this->options['enable_image-_underscore_to_hyp en'] ) ) {50 add_filter( 'sanitize_file_name', [ $this, 'convert_imagename_underscore_hyp en' ] );49 if ( ! empty( $this->options['enable_image-_underscore_to_hyphen'] ) ) { 50 add_filter( 'sanitize_file_name', [ $this, 'convert_imagename_underscore_hyphen' ] ); 51 51 } 52 52 if ( ! empty( $this->options['enable_svg_upload'] ) ) { … … 107 107 [ 108 108 'type' => 'slider-checkbox', 109 'title' => __( 'Convert underscore (_) in image filename to hyp en (-)', 'admin-optimizer' ),110 'id' => 'enable-image-underscore-to-hyp en',111 'name' => 'enable_image_underscore_to_hyp en',112 'desc' => __( 'Auto sanitize the image filename and convert underscore (_) to hyp en (-) 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' ), 113 113 ], 114 114 [ … … 151 151 152 152 /** 153 * Convert image name underscore to hypen153 * Convert image name underscore to hyphen 154 154 * 155 155 * @param string $filename Filename. … … 157 157 * @return string 158 158 */ 159 public function convert_imagename_underscore_hyp en( $filename ){159 public function convert_imagename_underscore_hyphen( $filename ): string { 160 160 161 161 $info = pathinfo( $filename ); -
admin-optimizer/trunk/readme.txt
r3343907 r3345058 7 7 Requires PHP: 7.2.5 8 8 Tested up to: 6.8 9 Stable tag: 1.0. 19 Stable tag: 1.0.2 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 101 101 == Changelog == 102 102 103 = 1.0.2 - 15 August 2025 = 104 105 * Minor bug fixes: fixed spelling error 106 103 107 = 1.0.1 - 13 August 2025 = 104 108
Note: See TracChangeset
for help on using the changeset viewer.