Plugin Directory

Changeset 2954958


Ignore:
Timestamp:
08/17/2023 01:20:03 PM (3 years ago)
Author:
joppuyo
Message:

Update to version 6.0.3 from GitHub

Location:
acf-image-aspect-ratio-crop
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • acf-image-aspect-ratio-crop/tags/6.0.3/acf-image-aspect-ratio-crop.php

    r2774728 r2954958  
    55Plugin URI: https://github.com/joppuyo/acf-image-aspect-ratio-crop
    66Description: ACF field that allows user to crop image to a specific aspect ratio or pixel size
    7 Version: 6.0.2
     7Version: 6.0.3
    88Author: Johannes Siipola
    99Author URI: https://siipo.la
     
    7878                }
    7979
    80                 $temp_post_id = $_POST['aiarc_temp_post_id'];
     80                $temp_post_id = !empty($_POST['aiarc_temp_post_id']) ? $_POST['aiarc_temp_post_id'] : null;
    8181
    8282                // Bail early if we don't have data to process
     
    280280        add_action('admin_menu', function () {
    281281            add_submenu_page(
    282                 null,
     282                'options-general.php',
    283283                __(
    284284                    'ACF Image Aspect Ratio Crop',
     
    13371337    public static function extension_list_to_mime_array($mime_types)
    13381338    {
     1339        if (empty($mime_types)) {
     1340            $mime_types = 'jpeg,png,gif';
     1341        }
    13391342        $extension_array = explode(',', $mime_types);
    13401343        $extension_array = array_map(function ($extension) {
  • acf-image-aspect-ratio-crop/tags/6.0.3/composer.json

    r2617222 r2954958  
    2626  },
    2727  "config": {
    28     "process-timeout": 0
     28    "process-timeout": 0,
     29    "allow-plugins": true
    2930  }
    3031}
  • acf-image-aspect-ratio-crop/tags/6.0.3/readme.txt

    r2774728 r2954958  
    33Tags: acf, field, image, crop
    44Requires at least: 4.9
    5 Tested up to: 6.0
     5Tested up to: 6.3
    66Requires PHP: 5.6
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
    99Donate link: https://github.com/sponsors/joppuyo
    10 Stable Tag: 6.0.2
     10Stable Tag: 6.0.3
    1111
    1212ACF field that allows user to crop image to a specific aspect ratio or pixel size
     
    106106
    107107== Changelog ==
     108
     109= 6.0.3 (2023-08-17) =
     110* Fix: Bump compatibility to WP 6.3
     111* Fix: Fixed deprecation errors in PHP 8.1
     112* Fix: Fixed warning about aiarc_temp_post_id if post is updated outside admin screen
     113* Fix: Improved mime validation for frontend crop
    108114
    109115= 6.0.2 (2022-08-24) =
  • acf-image-aspect-ratio-crop/trunk/acf-image-aspect-ratio-crop.php

    r2774728 r2954958  
    55Plugin URI: https://github.com/joppuyo/acf-image-aspect-ratio-crop
    66Description: ACF field that allows user to crop image to a specific aspect ratio or pixel size
    7 Version: 6.0.2
     7Version: 6.0.3
    88Author: Johannes Siipola
    99Author URI: https://siipo.la
     
    7878                }
    7979
    80                 $temp_post_id = $_POST['aiarc_temp_post_id'];
     80                $temp_post_id = !empty($_POST['aiarc_temp_post_id']) ? $_POST['aiarc_temp_post_id'] : null;
    8181
    8282                // Bail early if we don't have data to process
     
    280280        add_action('admin_menu', function () {
    281281            add_submenu_page(
    282                 null,
     282                'options-general.php',
    283283                __(
    284284                    'ACF Image Aspect Ratio Crop',
     
    13371337    public static function extension_list_to_mime_array($mime_types)
    13381338    {
     1339        if (empty($mime_types)) {
     1340            $mime_types = 'jpeg,png,gif';
     1341        }
    13391342        $extension_array = explode(',', $mime_types);
    13401343        $extension_array = array_map(function ($extension) {
  • acf-image-aspect-ratio-crop/trunk/composer.json

    r2617222 r2954958  
    2626  },
    2727  "config": {
    28     "process-timeout": 0
     28    "process-timeout": 0,
     29    "allow-plugins": true
    2930  }
    3031}
  • acf-image-aspect-ratio-crop/trunk/readme.txt

    r2774728 r2954958  
    33Tags: acf, field, image, crop
    44Requires at least: 4.9
    5 Tested up to: 6.0
     5Tested up to: 6.3
    66Requires PHP: 5.6
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
    99Donate link: https://github.com/sponsors/joppuyo
    10 Stable Tag: 6.0.2
     10Stable Tag: 6.0.3
    1111
    1212ACF field that allows user to crop image to a specific aspect ratio or pixel size
     
    106106
    107107== Changelog ==
     108
     109= 6.0.3 (2023-08-17) =
     110* Fix: Bump compatibility to WP 6.3
     111* Fix: Fixed deprecation errors in PHP 8.1
     112* Fix: Fixed warning about aiarc_temp_post_id if post is updated outside admin screen
     113* Fix: Improved mime validation for frontend crop
    108114
    109115= 6.0.2 (2022-08-24) =
Note: See TracChangeset for help on using the changeset viewer.