Plugin Directory

Changeset 3793586


Ignore:
Timestamp:
11/10/2026 03:51:27 AM (3 weeks ago)
Author:
fitehal
Message:

Release 1.0.1

Location:
yet-another-tweaks-manager
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • yet-another-tweaks-manager/tags/1.0.1/readme.txt

    r3772917 r3793586  
    66Tested up to: 7.1
    77Requires PHP: 7.4
    8 Stable tag: 1.0.0
     8Stable tag: 1.0.1
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    9494== Changelog ==
    9595
     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
    96102= 1.0.0 =
    97103* 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  
    1212if ( is_multisite() ) {
    1313        // 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 ) {
    1522                switch_to_blog( $yatm_site_id );
    1623                delete_option( 'yatm_options' );
  • yet-another-tweaks-manager/tags/1.0.1/yet-another-tweaks-manager.php

    r3772917 r3793586  
    44 * Plugin URI: https://whoisabhi.com/yet-another-tweak-manager-wordpress-plugin/
    55 * 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.0
     6 * Version: 1.0.1
    77 * Requires at least: 5.8
    88 * Requires PHP: 7.4
    … …  
    2020}
    2121
    22 define( 'YATM_VERSION', '1.0.0' );
     22define( 'YATM_VERSION', '1.0.1' );
    2323
    2424/**
    … …  
    187187                                'unit'        => __( 'days', 'yet-another-tweaks-manager' ),
    188188                                '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' ),
    190190                        ),
    191191                        'remember_me_days'     => array(
    … …  
    195195                                'unit'        => __( 'days', 'yet-another-tweaks-manager' ),
    196196                                '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' ),
    198198                        ),
    199199                        'login_landing'        => array(
    … …  
    940940         * @return int
    941941         */
    942         public function filter_auth_cookie_expiration( $length, $user_id, $remember ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassAfterLastUsed
     942        public function filter_auth_cookie_expiration( $length, $user_id, $remember ) {
    943943                $value = $this->active_value( $remember ? 'remember_me_days' : 'login_session_days' );
    944944                return null === $value ? $length : (int) $value * DAY_IN_SECONDS;
    … …  
    955955                        return;
    956956                }
     957                $css = plugin_dir_path( __FILE__ ) . 'admin.css';
    957958                wp_enqueue_style(
    958959                        'yatm_admin_css',
    … …  
    960961                        array(),
    961962                        // 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
    963964                );
    964965        }
  • yet-another-tweaks-manager/trunk/readme.txt

    r3772917 r3793586  
    66Tested up to: 7.1
    77Requires PHP: 7.4
    8 Stable tag: 1.0.0
     8Stable tag: 1.0.1
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    9494== Changelog ==
    9595
     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
    96102= 1.0.0 =
    97103* 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  
    1212if ( is_multisite() ) {
    1313        // 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 ) {
    1522                switch_to_blog( $yatm_site_id );
    1623                delete_option( 'yatm_options' );
  • yet-another-tweaks-manager/trunk/yet-another-tweaks-manager.php

    r3772917 r3793586  
    44 * Plugin URI: https://whoisabhi.com/yet-another-tweak-manager-wordpress-plugin/
    55 * 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.0
     6 * Version: 1.0.1
    77 * Requires at least: 5.8
    88 * Requires PHP: 7.4
    … …  
    2020}
    2121
    22 define( 'YATM_VERSION', '1.0.0' );
     22define( 'YATM_VERSION', '1.0.1' );
    2323
    2424/**
    … …  
    187187                                'unit'        => __( 'days', 'yet-another-tweaks-manager' ),
    188188                                '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' ),
    190190                        ),
    191191                        'remember_me_days'     => array(
    … …  
    195195                                'unit'        => __( 'days', 'yet-another-tweaks-manager' ),
    196196                                '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' ),
    198198                        ),
    199199                        'login_landing'        => array(
    … …  
    940940         * @return int
    941941         */
    942         public function filter_auth_cookie_expiration( $length, $user_id, $remember ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassAfterLastUsed
     942        public function filter_auth_cookie_expiration( $length, $user_id, $remember ) {
    943943                $value = $this->active_value( $remember ? 'remember_me_days' : 'login_session_days' );
    944944                return null === $value ? $length : (int) $value * DAY_IN_SECONDS;
    … …  
    955955                        return;
    956956                }
     957                $css = plugin_dir_path( __FILE__ ) . 'admin.css';
    957958                wp_enqueue_style(
    958959                        'yatm_admin_css',
    … …  
    960961                        array(),
    961962                        // 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
    963964                );
    964965        }
Note: See TracChangeset for help on using the changeset viewer.