Plugin Directory

Changeset 3374733


Ignore:
Timestamp:
10/08/2025 01:51:20 AM (3 months ago)
Author:
codexpert
Message:

Deploy ThumbPress version 5.8.32

Location:
image-sizes/trunk
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • image-sizes/trunk/app/AJAX.php

    r3275222 r3374733  
    145145        wp_send_json( $response );
    146146    }
     147
     148    public function thumbpress_init_notice_handler() {
     149        // Update the option in the database
     150        update_option( 'thumbpress_settings_init', 1 );
     151
     152        wp_send_json_success( 'Option updated successfully' );
     153    }
    147154}
  • image-sizes/trunk/app/Admin.php

    r3300833 r3374733  
    156156        } else {
    157157            printf(
    158                 '<div class="notice notice-warning is-dismissible thumbpress-notice"><p>%s</p></div>',
     158                '<div class="notice notice-warning is-dismissible thumbpress-notice" id="thumbpress_settings_init"><p>%s</p></div>',
    159159                sprintf(
    160160                    /* Translators: %s is the link to the setup wizard */
     
    221221     */
    222222    public function enqueue_scripts() {
     223        $min = defined( 'THUMBPRESS_DEBUG' ) && THUMBPRESS_DEBUG ? '' : '.min';
     224
     225        wp_enqueue_script( $this->slug, plugins_url( "/assets/js/thumb-notice{$min}.js", THUMBPRESS ), [ 'jquery' ], $this->version, true );
     226        $localized2 = array(
     227            'ajaxurl'     => admin_url( 'admin-ajax.php' ),
     228            'nonce'       => wp_create_nonce( $this->slug ),
     229        );
     230        wp_localize_script( $this->slug, 'THUMBPRESS', $localized2  );
     231
    223232        $screen        = get_current_screen();
    224233        $valid_screens = array( 'upload', 'media', 'dashboard' );
     
    227236            return;
    228237        }
    229         $min = defined( 'THUMBPRESS_DEBUG' ) && THUMBPRESS_DEBUG ? '' : '.min';
    230238
    231239        wp_enqueue_style( $this->slug, plugins_url( '/assets/css/admin.css', THUMBPRESS ), '', time(), 'all' );
  • image-sizes/trunk/image-sizes.php

    r3315838 r3374733  
    33 * Plugin Name:         ThumbPress
    44 * Plugin URI:          https://thumbpress.co
    5  * Description:         A complete image and thumbnail management solution for WordPress.
    6  * Version:             5.8.31
     5 * Description:         Image Management Suite for Performance and Optimization
     6 * Version:             5.8.32
    77 * Requires at least:   6.0
    88 * Requires PHP:        7.0
    9  * Tested up to:        6.8
     9 * Tested up to:        6.8.3
    1010 * Author:              ThumbPress
    1111 * Author URI:          https://thumbpress.co
     
    137137        $this->plugin['TextDomain'] = 'image-sizes';
    138138        $this->plugin['Name']       = 'ThumbPress';
    139         $this->plugin['Version']    = '5.8.31';
     139        $this->plugin['Version']    = '5.8.32';
    140140        $this->plugin['server']     = apply_filters( 'image-sizes_server', 'https://my.pluggable.io' );
    141141        $this->plugin['icon']       = THUMBPRESS_ASSET . '/img/icon.png';
     
    255255        $ajax->priv( 'image_sizes-dismiss', 'image_sizes_dismiss' );
    256256        $ajax->all( 'image-sizes_dismiss_notice', 'image_sizes_dismiss_notice_callback' );
     257        $ajax->priv( 'thumbpress_init_notice_dismiss', 'thumbpress_init_notice_handler' );
    257258    }
    258259
  • image-sizes/trunk/readme.txt

    r3315838 r3374733  
    1 === ThumbPress - Disable Thumbnails, Regenerate Thumbnails, Optimize Images, Convert to WebP, Disable Right Click, Compress Images, Image Editor & More ===
     1=== ThumbPress - Image Management Suite for Performance and Optimization ===
    22Contributors: pluggable, codexpert, thumbpressco, mukto90
    33Donate link: https://thumbpress.co/?utm_source=free-plugins&utm_medium=readme&utm_campaign=image-sizes
    44Tags: compress images, disable thumbnails, image editor, optimize images, regenerate thumbnails
    55Requires at least: 5.0
    6 Tested up to: 6.8.1
    7 Stable tag: 5.8.31
     6Tested up to: 6.8.3
     7Stable tag: 5.8.32
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    163163
    164164== Changelog ==
     165
     166= v5.8.32 - 2025-10-08 =
     167* [imp] Version compatibility tested with 6.8.3
    165168
    166169= v5.8.31 - 2025-06-22 =
  • image-sizes/trunk/vendor/composer/installed.php

    r3315838 r3374733  
    22    'root' => array(
    33        'name' => '__root__',
    4         'pretty_version' => 'v5.8.31',
    5         'version' => '5.8.31.0',
    6         'reference' => '405fb979c4c7a6446f8d751bf42b78950deb8ba8',
     4        'pretty_version' => 'v5.8.32',
     5        'version' => '5.8.32.0',
     6        'reference' => '7117def978590fe1c05425676a7c1ce5d9c4ef26',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        '__root__' => array(
    14             'pretty_version' => 'v5.8.31',
    15             'version' => '5.8.31.0',
    16             'reference' => '405fb979c4c7a6446f8d751bf42b78950deb8ba8',
     14            'pretty_version' => 'v5.8.32',
     15            'version' => '5.8.32.0',
     16            'reference' => '7117def978590fe1c05425676a7c1ce5d9c4ef26',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
  • image-sizes/trunk/vendor/composer/platform_check.php

    r2933330 r3374733  
    2020        }
    2121    }
    22     trigger_error(
    23         'Composer detected issues in your platform: ' . implode(' ', $issues),
    24         E_USER_ERROR
     22    throw new \RuntimeException(
     23        'Composer detected issues in your platform: ' . implode(' ', $issues)
    2524    );
    2625}
Note: See TracChangeset for help on using the changeset viewer.