Changeset 3793586
- Timestamp:
- 11/10/2026 03:51:27 AM (3 weeks ago)
- Location:
- yet-another-tweaks-manager
- Files:
-
- 6 edited
- 1 copied
-
tags/1.0.1 (copied) (copied from yet-another-tweaks-manager/trunk )
-
tags/1.0.1/readme.txt (modified) (2 diffs)
-
tags/1.0.1/uninstall.php (modified) (1 diff)
-
tags/1.0.1/yet-another-tweaks-manager.php (modified) (7 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/uninstall.php (modified) (1 diff)
-
trunk/yet-another-tweaks-manager.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
yet-another-tweaks-manager/tags/1.0.1/readme.txt
r3772917 r3793586 6 6 Tested up to: 7.1 7 7 Requires PHP: 7.4 8 Stable tag: 1.0. 08 Stable tag: 1.0.1 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 94 94 == Changelog == 95 95 96 = 1.0.1 = 97 * Deleting the plugin on a multisite network now removes the settings from every site, not only the first 100. 98 * The login length fields note that a longer session also gives a stolen login cookie longer to work. 99 * Settings page: the stylesheet version no longer depends on the CSS file being readable. 100 * Housekeeping after a code audit: no security issues were found. 101 96 102 = 1.0.0 = 97 103 * Initial release: JPEG, WebP and AVIF quality; save JPEG uploads as WebP or AVIF; image editor choice; progressive JPEGs; largest srcset width; maximum upload size; login session and "Remember Me" lengths; page after login; form security (nonce) lifetime; post lock hold time; automatic excerpt length and ending; email "From" address and name; recovery mode email interval; outgoing request timeout. -
yet-another-tweaks-manager/tags/1.0.1/uninstall.php
r3772917 r3793586 12 12 if ( is_multisite() ) { 13 13 // Each site keeps its own settings row; deleting from the network removes them all. 14 foreach ( get_sites( array( 'fields' => 'ids' ) ) as $yatm_site_id ) { 14 // Without 'number' => 0, get_sites() stops at 100 sites. 15 $yatm_site_ids = get_sites( 16 array( 17 'fields' => 'ids', 18 'number' => 0, 19 ) 20 ); 21 foreach ( $yatm_site_ids as $yatm_site_id ) { 15 22 switch_to_blog( $yatm_site_id ); 16 23 delete_option( 'yatm_options' ); -
yet-another-tweaks-manager/tags/1.0.1/yet-another-tweaks-manager.php
r3772917 r3793586 4 4 * Plugin URI: https://whoisabhi.com/yet-another-tweak-manager-wordpress-plugin/ 5 5 * Description: Keep the feature, change the setting. Tune WordPress behaviour that core exposes only in code: images, logins, editing, email and outgoing requests. 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Requires at least: 5.8 8 8 * Requires PHP: 7.4 … … 20 20 } 21 21 22 define( 'YATM_VERSION', '1.0. 0' );22 define( 'YATM_VERSION', '1.0.1' ); 23 23 24 24 /** … … 187 187 'unit' => __( 'days', 'yet-another-tweaks-manager' ), 188 188 'default' => __( '2 days', 'yet-another-tweaks-manager' ), 189 'description' => __( 'How long a login lasts when "Remember Me" is not ticked. Takes effect at the next login. ', 'yet-another-tweaks-manager' ),189 'description' => __( 'How long a login lasts when "Remember Me" is not ticked. Takes effect at the next login. A longer session also gives a stolen login cookie longer to work.', 'yet-another-tweaks-manager' ), 190 190 ), 191 191 'remember_me_days' => array( … … 195 195 'unit' => __( 'days', 'yet-another-tweaks-manager' ), 196 196 'default' => __( '14 days', 'yet-another-tweaks-manager' ), 197 'description' => __( 'How long a login lasts when "Remember Me" is ticked. Takes effect at the next login. ', 'yet-another-tweaks-manager' ),197 'description' => __( 'How long a login lasts when "Remember Me" is ticked. Takes effect at the next login. A longer session also gives a stolen login cookie longer to work.', 'yet-another-tweaks-manager' ), 198 198 ), 199 199 'login_landing' => array( … … 940 940 * @return int 941 941 */ 942 public function filter_auth_cookie_expiration( $length, $user_id, $remember ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassAfterLastUsed942 public function filter_auth_cookie_expiration( $length, $user_id, $remember ) { 943 943 $value = $this->active_value( $remember ? 'remember_me_days' : 'login_session_days' ); 944 944 return null === $value ? $length : (int) $value * DAY_IN_SECONDS; … … 955 955 return; 956 956 } 957 $css = plugin_dir_path( __FILE__ ) . 'admin.css'; 957 958 wp_enqueue_style( 958 959 'yatm_admin_css', … … 960 961 array(), 961 962 // File time as well, so browsers refetch it after an edit without a version bump. 962 YATM_VERSION . '.' . filemtime( plugin_dir_path( __FILE__ ) . 'admin.css' )963 file_exists( $css ) ? YATM_VERSION . '.' . filemtime( $css ) : YATM_VERSION 963 964 ); 964 965 } -
yet-another-tweaks-manager/trunk/readme.txt
r3772917 r3793586 6 6 Tested up to: 7.1 7 7 Requires PHP: 7.4 8 Stable tag: 1.0. 08 Stable tag: 1.0.1 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 94 94 == Changelog == 95 95 96 = 1.0.1 = 97 * Deleting the plugin on a multisite network now removes the settings from every site, not only the first 100. 98 * The login length fields note that a longer session also gives a stolen login cookie longer to work. 99 * Settings page: the stylesheet version no longer depends on the CSS file being readable. 100 * Housekeeping after a code audit: no security issues were found. 101 96 102 = 1.0.0 = 97 103 * Initial release: JPEG, WebP and AVIF quality; save JPEG uploads as WebP or AVIF; image editor choice; progressive JPEGs; largest srcset width; maximum upload size; login session and "Remember Me" lengths; page after login; form security (nonce) lifetime; post lock hold time; automatic excerpt length and ending; email "From" address and name; recovery mode email interval; outgoing request timeout. -
yet-another-tweaks-manager/trunk/uninstall.php
r3772917 r3793586 12 12 if ( is_multisite() ) { 13 13 // Each site keeps its own settings row; deleting from the network removes them all. 14 foreach ( get_sites( array( 'fields' => 'ids' ) ) as $yatm_site_id ) { 14 // Without 'number' => 0, get_sites() stops at 100 sites. 15 $yatm_site_ids = get_sites( 16 array( 17 'fields' => 'ids', 18 'number' => 0, 19 ) 20 ); 21 foreach ( $yatm_site_ids as $yatm_site_id ) { 15 22 switch_to_blog( $yatm_site_id ); 16 23 delete_option( 'yatm_options' ); -
yet-another-tweaks-manager/trunk/yet-another-tweaks-manager.php
r3772917 r3793586 4 4 * Plugin URI: https://whoisabhi.com/yet-another-tweak-manager-wordpress-plugin/ 5 5 * Description: Keep the feature, change the setting. Tune WordPress behaviour that core exposes only in code: images, logins, editing, email and outgoing requests. 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Requires at least: 5.8 8 8 * Requires PHP: 7.4 … … 20 20 } 21 21 22 define( 'YATM_VERSION', '1.0. 0' );22 define( 'YATM_VERSION', '1.0.1' ); 23 23 24 24 /** … … 187 187 'unit' => __( 'days', 'yet-another-tweaks-manager' ), 188 188 'default' => __( '2 days', 'yet-another-tweaks-manager' ), 189 'description' => __( 'How long a login lasts when "Remember Me" is not ticked. Takes effect at the next login. ', 'yet-another-tweaks-manager' ),189 'description' => __( 'How long a login lasts when "Remember Me" is not ticked. Takes effect at the next login. A longer session also gives a stolen login cookie longer to work.', 'yet-another-tweaks-manager' ), 190 190 ), 191 191 'remember_me_days' => array( … … 195 195 'unit' => __( 'days', 'yet-another-tweaks-manager' ), 196 196 'default' => __( '14 days', 'yet-another-tweaks-manager' ), 197 'description' => __( 'How long a login lasts when "Remember Me" is ticked. Takes effect at the next login. ', 'yet-another-tweaks-manager' ),197 'description' => __( 'How long a login lasts when "Remember Me" is ticked. Takes effect at the next login. A longer session also gives a stolen login cookie longer to work.', 'yet-another-tweaks-manager' ), 198 198 ), 199 199 'login_landing' => array( … … 940 940 * @return int 941 941 */ 942 public function filter_auth_cookie_expiration( $length, $user_id, $remember ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassAfterLastUsed942 public function filter_auth_cookie_expiration( $length, $user_id, $remember ) { 943 943 $value = $this->active_value( $remember ? 'remember_me_days' : 'login_session_days' ); 944 944 return null === $value ? $length : (int) $value * DAY_IN_SECONDS; … … 955 955 return; 956 956 } 957 $css = plugin_dir_path( __FILE__ ) . 'admin.css'; 957 958 wp_enqueue_style( 958 959 'yatm_admin_css', … … 960 961 array(), 961 962 // File time as well, so browsers refetch it after an edit without a version bump. 962 YATM_VERSION . '.' . filemtime( plugin_dir_path( __FILE__ ) . 'admin.css' )963 file_exists( $css ) ? YATM_VERSION . '.' . filemtime( $css ) : YATM_VERSION 963 964 ); 964 965 }
Note:
See TracChangeset
for help on using the changeset viewer.