Skip to content

Commit 1074d38

Browse files
committed
= 1.2.7 = 2021-06-23
* Updated to make compatible with WordPress 5.7.2 * FIXED: Event shorthand deprecation issues.
1 parent dd4878b commit 1074d38

File tree

3 files changed

+18
-14
lines changed

3 files changed

+18
-14
lines changed

99robots-custom-image-sizes.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22
/**
3-
* Plugin Name: Custom Image Sizes by 99 Robots
4-
* Plugin URI: https://draftpress.com/products/?utm_source=plugin-uri&utm_medium=custom-image-sizes&utm_campaign=plugins-page
5-
* Description: Custom Image Sizes by 99 Robots is a quick and simple way for you to add your own image sizes to your WordPress site.
6-
* Version: 1.2.6
7-
* Author: 99 Robots
8-
* Author URI: https://draftpress.com
3+
* Plugin Name: Custom Image Sizes by DraftPress
4+
* Plugin URI: https://wordpress.org/plugins/custom-image-sizes-by-draftpress/
5+
* Description: Custom Image Sizes by DraftPress is a quick and simple way for you to add your own image sizes to your WordPress site.
6+
* Version: 1.2.7
7+
* Author: DraftPress
8+
* Author URI: https://draftpress.com/
99
* License: GPL2
1010
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
1111
* Text Domain: 99robots-custom-image-sizes
@@ -26,7 +26,7 @@ class NNR_Custom_Image_Sizes {
2626
* NNR_Custom_Image_Sizes version.
2727
* @var string
2828
*/
29-
public $version = '1.2.6';
29+
public $version = '1.2.7';
3030

3131
/**
3232
* The single instance of the class.

js/settings.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
jQuery(document).ready(function($){
1+
jQuery(function($){
22

33
// Add a new one
44

5-
$('.' + nnr_cis_settings_data.prefix + 'repeater-add-new').click(function(){
5+
$('.' + nnr_cis_settings_data.prefix + 'repeater-add-new').on("click", function(){
66

77
var new_row = '<tr class="' + nnr_cis_settings_data.prefix + 'repeater-item">' +
88
'<td class="' + nnr_cis_settings_data.prefix + 'repeater-item-name"><input type="text" class="form-control input-sm" name="' + nnr_cis_settings_data.prefix + 'name[]" value="New Image Size"/></td>' +
@@ -30,13 +30,13 @@ jQuery(document).ready(function($){
3030

3131
// Remove one
3232

33-
$(document).on('click', '.' + nnr_cis_settings_data.prefix + 'repeater-remove', function(){
33+
$('.' + nnr_cis_settings_data.prefix + 'repeater-remove').on('click', function(){
3434

3535
$('#' + nnr_cis_settings_data.prefix + 'delete-image-size-modal').modal();
3636

3737
var delete_image_size = $(this);
3838

39-
$('.' + nnr_cis_settings_data.prefix + 'delete-image-size').click(function(){
39+
$('.' + nnr_cis_settings_data.prefix + 'delete-image-size').on("click", function(){
4040
delete_image_size.parent().parent().remove();
4141
});
4242

readme.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
=== Custom Image Sizes by 99 Robots ===
2-
Contributors: 99robots, charliepatel, draftpress
2+
Contributors: 99robots, charliepatel, DraftPress
33
Donate link:
44
Tags: image sizes, images, image, size, sizes, custom sizes, custom image, custom images
55
Requires at least: 4.5
6-
Tested up to: 5.6
7-
Stable tag: 1.2.6
6+
Tested up to: 5.7.2
7+
Stable tag: 1.2.7
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -29,6 +29,10 @@ Also please check out our other [plugins](https://draftpress.com/products/?utm_s
2929

3030
== Changelog ==
3131

32+
= 1.2.7 = 2021-06-23
33+
* Updated to make compatible with WordPress 5.7.2
34+
* FIXED: Event shorthand deprecation issues.
35+
3236
= 1.2.6 = 2020-12-28
3337
* Updated to make compatible with WordPress 5.6
3438

0 commit comments

Comments
 (0)