Image Widget - Version 4.4.4

Version Description

Download this release

Release Info

Developer brook-tribe
Plugin Icon 128x128 Image Widget
Version 4.4.4
Comparing to
See all releases

Code changes from version 4.4.3 to 4.4.4

image-widget.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Image Widget
4
  Plugin URI: http://wordpress.org/plugins/image-widget/
5
  Description: A simple image widget that uses the native WordPress media manager to add image widgets to your site. <strong><a href="http://m.tri.be/19my">Image Widget Plus</a> - Multiple images, slider and more.</strong>
6
  Author: Modern Tribe, Inc.
7
- Version: 4.4.3
8
  Author URI: http://m.tri.be/iwpdoc
9
  Text Domain: image-widget
10
  Domain Path: /lang
@@ -26,7 +26,7 @@ add_action( 'widgets_init', 'tribe_load_image_widget' );
26
  **/
27
  class Tribe_Image_Widget extends WP_Widget {
28
 
29
- const VERSION = '4.4.3';
30
 
31
  const CUSTOM_IMAGE_SIZE_SLUG = 'tribe_image_widget_custom';
32
 
@@ -439,7 +439,13 @@ class Tribe_Image_Widget extends WP_Widget {
439
  * Display a thank you nag when the plugin has been upgraded.
440
  */
441
  public function post_upgrade_nag() {
442
- if ( ! current_user_can( 'install_plugins' ) ) return;
 
 
 
 
 
 
443
 
444
  global $pagenow;
445
  $msg = false;
4
  Plugin URI: http://wordpress.org/plugins/image-widget/
5
  Description: A simple image widget that uses the native WordPress media manager to add image widgets to your site. <strong><a href="http://m.tri.be/19my">Image Widget Plus</a> - Multiple images, slider and more.</strong>
6
  Author: Modern Tribe, Inc.
7
+ Version: 4.4.4
8
  Author URI: http://m.tri.be/iwpdoc
9
  Text Domain: image-widget
10
  Domain Path: /lang
26
  **/
27
  class Tribe_Image_Widget extends WP_Widget {
28
 
29
+ const VERSION = '4.4.4';
30
 
31
  const CUSTOM_IMAGE_SIZE_SLUG = 'tribe_image_widget_custom';
32
 
439
  * Display a thank you nag when the plugin has been upgraded.
440
  */
441
  public function post_upgrade_nag() {
442
+
443
+ if (
444
+ ! current_user_can( 'install_plugins' )
445
+ || class_exists( 'Tribe__Image__Plus__Main' )
446
+ ) {
447
+ return;
448
+ }
449
 
450
  global $pagenow;
451
  $msg = false;
index.php CHANGED
File without changes
lang/image-widget.pot CHANGED
@@ -1,79 +1,70 @@
1
- #, fuzzy
 
2
  msgid ""
3
  msgstr ""
4
- "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
- "Project-Id-Version: Image Widget\n"
6
- "POT-Creation-Date: 2017-05-11 09:41-0400\n"
7
- "PO-Revision-Date: 2017-03-17 17:01-0400\n"
8
- "Last-Translator: \n"
9
- "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 1.8.11\n"
14
- "X-Poedit-Basepath: ..\n"
15
- "X-Poedit-WPHeader: image-widget.php\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
18
- "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
19
- "_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
20
- "X-Poedit-SearchPath-0: .\n"
21
- "X-Poedit-SearchPathExcluded-0: *.js\n"
22
 
23
  #: image-widget.php:42
24
  msgid "Showcase a single image with a Title, URL, and a Description"
25
  msgstr ""
26
 
 
27
  #. Plugin Name of the plugin/theme
28
  #: image-widget.php:44
29
  msgid "Image Widget"
30
  msgstr ""
31
 
32
- #: image-widget.php:91 views/widget-admin.php:13
33
  msgid "Select an Image"
34
  msgstr ""
35
 
36
- #: image-widget.php:92 lib/ImageWidgetDeprecated.php:66
37
  msgid "Insert Into Widget"
38
  msgstr ""
39
 
40
- #: image-widget.php:362
41
  msgid "Full Size"
42
  msgstr ""
43
 
44
- #: image-widget.php:363
45
  msgid "Thumbnail"
46
  msgstr ""
47
 
48
- #: image-widget.php:364
49
  msgid "Medium"
50
  msgstr ""
51
 
52
- #: image-widget.php:365
53
  msgid "Large"
54
  msgstr ""
55
 
56
- #: image-widget.php:366
57
  msgid "Custom"
58
  msgstr ""
59
 
60
- #: image-widget.php:504
61
- #, php-format
62
  msgid ""
63
- "<p class=\"dashicons-before dashicons-format-gallery\"><strong>Image "
64
- "Widget Plus</strong> - Add lightbox, slideshow, and random image widgets. "
65
  "<strong><a href=\"%s\" target=\"_blank\">Find out how!</a></strong></p>"
66
  msgstr ""
67
 
68
- #: image-widget.php:521
69
- #, php-format
70
  msgid ""
71
  "<p class=\"dashicons-before dashicons-star-filled\"><strong>Image Widget "
72
  "Plus</strong> - Add lightbox, slideshow, and random image widgets. "
73
  "<strong><a href=\"%s\" target=\"_blank\">Find out how!</a></strong></p>"
74
  msgstr ""
75
 
76
- #: image-widget.php:536
77
  msgid "Image Widget Plus"
78
  msgstr ""
79
 
1
+ # Copyright (C) 2017 Modern Tribe
2
+ # This file is distributed under the same license as the Image Widget package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Image Widget 4.4.3\n"
6
+ "Report-Msgid-Bugs-To: http://m.tri.be/191x\n"
7
+ "POT-Creation-Date: 2017-05-31 19:18:01+00:00\n"
 
 
 
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2017-05-31 19:18\n"
12
+ "Last-Translator: \n"
13
+ "Language-Team: \n"
 
 
 
 
 
 
14
 
15
  #: image-widget.php:42
16
  msgid "Showcase a single image with a Title, URL, and a Description"
17
  msgstr ""
18
 
19
+ #. #-#-#-#-# image-widget.pot (Image Widget 4.4.3) #-#-#-#-#
20
  #. Plugin Name of the plugin/theme
21
  #: image-widget.php:44
22
  msgid "Image Widget"
23
  msgstr ""
24
 
25
+ #: image-widget.php:85 views/widget-admin.php:13
26
  msgid "Select an Image"
27
  msgstr ""
28
 
29
+ #: image-widget.php:86 lib/ImageWidgetDeprecated.php:66
30
  msgid "Insert Into Widget"
31
  msgstr ""
32
 
33
+ #: image-widget.php:367
34
  msgid "Full Size"
35
  msgstr ""
36
 
37
+ #: image-widget.php:368
38
  msgid "Thumbnail"
39
  msgstr ""
40
 
41
+ #: image-widget.php:369
42
  msgid "Medium"
43
  msgstr ""
44
 
45
+ #: image-widget.php:370
46
  msgid "Large"
47
  msgstr ""
48
 
49
+ #: image-widget.php:371
50
  msgid "Custom"
51
  msgstr ""
52
 
53
+ #: image-widget.php:515
 
54
  msgid ""
55
+ "<p class=\"dashicons-before dashicons-format-gallery\"><strong>Image Widget "
56
+ "Plus</strong> - Add lightbox, slideshow, and random image widgets. "
57
  "<strong><a href=\"%s\" target=\"_blank\">Find out how!</a></strong></p>"
58
  msgstr ""
59
 
60
+ #: image-widget.php:532
 
61
  msgid ""
62
  "<p class=\"dashicons-before dashicons-star-filled\"><strong>Image Widget "
63
  "Plus</strong> - Add lightbox, slideshow, and random image widgets. "
64
  "<strong><a href=\"%s\" target=\"_blank\">Find out how!</a></strong></p>"
65
  msgstr ""
66
 
67
+ #: image-widget.php:547
68
  msgid "Image Widget Plus"
69
  msgstr ""
70
 
lib/ImageWidgetDeprecated.php CHANGED
File without changes
lib/index.php CHANGED
File without changes
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: ModernTribe, peterchester, borkweb, zbtirrell, aguseo, barry.hughe
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4BSPTNFFY6AL6
4
  Tags: widget, image, ad, banner, simple, upload, sidebar, retina, admin, thickbox, resize, arabic, brazilian portuguese, dutch, german, hebrew, italian, japanese, polish, spanish, swedish, widget-only
5
  Requires at least: 3.5
6
- Tested up to: 4.7.3
7
- Stable tag: 4.4.3
8
 
9
  A simple image widget that uses the native WordPress media manager to add image widgets to your site.
10
 
@@ -206,6 +206,10 @@ For more info on the philosophy here, check out our [blog post](http://tri.be/de
206
 
207
  == Changelog ==
208
 
 
 
 
 
209
  = 4.4.3 =
210
 
211
  * Fix - Fixed bug where selecting an image failed to trigger a Save & Publish in the Customizer (props to dsaric-dev for the fix)
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4BSPTNFFY6AL6
4
  Tags: widget, image, ad, banner, simple, upload, sidebar, retina, admin, thickbox, resize, arabic, brazilian portuguese, dutch, german, hebrew, italian, japanese, polish, spanish, swedish, widget-only
5
  Requires at least: 3.5
6
+ Tested up to: 4.7.5
7
+ Stable tag: 4.4.4
8
 
9
  A simple image widget that uses the native WordPress media manager to add image widgets to your site.
10
 
206
 
207
  == Changelog ==
208
 
209
+ = [4.4.4] 2017-06-01 =
210
+
211
+ * Tweak - Improve upsell notices display logic [78676]
212
+
213
  = 4.4.3 =
214
 
215
  * Fix - Fixed bug where selecting an image failed to trigger a Save & Publish in the Customizer (props to dsaric-dev for the fix)
resources/css/admin.css CHANGED
File without changes
resources/index.php CHANGED
File without changes
resources/js/image-widget.deprecated.js CHANGED
File without changes
resources/js/image-widget.deprecated.upload-fixer.js CHANGED
File without changes
resources/js/image-widget.js CHANGED
File without changes
resources/js/index.php CHANGED
File without changes
views/index.php CHANGED
File without changes
views/widget-admin.deprecated.php CHANGED
File without changes
views/widget-admin.php CHANGED
File without changes
views/widget.php CHANGED
File without changes