jQuery Pin It Button for Images - Version 1.50

Version Description

  • Release 2016-03-13
  • Feature: Support for infinite scroll-like plugins
  • Feature: Moved Pin Full Images from a separate plugin into jQuery Pin It Button For Images
Download this release

Release Info

Developer mrsztuczkens
Plugin Icon wp plugin jQuery Pin It Button for Images
Version 1.50
Comparing to
See all releases

Code changes from version 1.42 to 1.50

css/admin.css CHANGED
@@ -17,7 +17,13 @@
17
  color: red;
18
  }
19
 
 
 
 
 
20
  .jpibfi-pro-notice p {
 
 
21
  font-size: 1.3em;
22
  font-weight: 600;
23
  color: #23282d;
@@ -28,6 +34,15 @@
28
  color: orange;
29
  }
30
 
 
 
 
 
 
 
 
 
 
31
  input[type="checkbox"] ~ label {
32
  padding-left: 5px;
33
  }
17
  color: red;
18
  }
19
 
20
+ .jpibfi-pro-notice {
21
+ overflow: hidden;
22
+ }
23
+
24
  .jpibfi-pro-notice p {
25
+ display:block;
26
+ float:left;
27
  font-size: 1.3em;
28
  font-weight: 600;
29
  color: #23282d;
34
  color: orange;
35
  }
36
 
37
+ .jpibfi-pro-notice span {
38
+ display:block;
39
+ float: right;
40
+ font-size: 1.6em;
41
+ padding: 2px 10px;
42
+ margin: 0.6em 0;
43
+ cursor: pointer;
44
+ }
45
+
46
  input[type="checkbox"] ~ label {
47
  padding-left: 5px;
48
  }
includes/admin/class-jpibfi-admin.php CHANGED
@@ -4,13 +4,16 @@ class JPIBFI_Admin {
4
 
5
  protected static $instance = null;
6
 
7
- private $admin_screen_hook = null;
8
 
9
  private function __construct() {
10
  add_action( 'admin_menu', array( $this, 'print_admin_page_action') );
11
  add_action( 'add_meta_boxes', array( $this, 'add_meta_box' ) );
12
  add_action( 'save_post', array( $this, 'save_meta_data' ) );
 
13
  add_action( 'admin_notices', array( $this, 'show_admin_notice') );
 
 
14
  }
15
 
16
  public static function get_instance() {
@@ -26,20 +29,26 @@ class JPIBFI_Admin {
26
 
27
  $name = 'jQuery Pin It Button For Images Lite';
28
 
29
- $this->admin_screen_hook = add_submenu_page(
30
- 'options-general.php',
31
  $name,
32
  $name,
33
  'administrator',
34
  'jpibfi_settings',
35
  array( $this, 'print_admin_page' )
36
  );
37
-
38
- add_action( 'admin_print_styles-' . $this->admin_screen_hook, array( $this, 'add_admin_site_scripts') );
39
  }
40
 
41
  /* Adds admin scripts */
42
- public function add_admin_site_scripts() {
 
 
 
 
 
 
 
 
 
43
 
44
  wp_register_style( 'jquery-pin-it-button-admin-style', JPIBFI_Globals::get_plugin_url() . 'css/admin.css', array(), JPIBFI_Globals::get_file_version(), 'all' );
45
  wp_enqueue_style( 'jquery-pin-it-button-admin-style' );
@@ -49,6 +58,9 @@ class JPIBFI_Admin {
49
  wp_enqueue_script( 'jquery-pin-it-button-admin-script', JPIBFI_Globals::get_plugin_url() . 'js/admin.js', array( 'jquery' ), JPIBFI_Globals::get_file_version(), false );
50
  wp_localize_script('jquery-pin-it-button-admin-script', 'jpibfiAdminSettings', $settings);
51
 
 
 
 
52
  if ( function_exists( "wp_enqueue_media") ) {
53
  wp_enqueue_media();
54
  wp_enqueue_script( 'jpibfi-upload-new', JPIBFI_Globals::get_plugin_url() . 'js/upload-button-new.js', array(), JPIBFI_Globals::get_file_version(), false );
@@ -134,17 +146,46 @@ class JPIBFI_Admin {
134
  else
135
  delete_post_meta( $post_id, 'jpibfi_meta' );
136
  }
 
137
  function show_admin_notice() {
138
  global $hook_suffix;
139
- if ( $this->admin_screen_hook == $hook_suffix ) {
 
 
 
 
 
 
 
140
  ?>
141
  <div class="updated jpibfi-pro-notice">
142
  <p><?php echo sprintf(__('jQuery Pin It Button for Images Pro is coming soon. Click <a target="_blank" href="%s">here</a> to learn more.', 'jquery-pin-it-button-for-images'), 'http://mrsztuczkens.me/jpibfi-pro/'); ?></p>
 
143
  </div>
144
  <?php
145
  }
146
  }
147
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  }
149
 
150
  add_action( 'plugins_loaded', array( 'JPIBFI_Admin', 'get_instance' ) );
4
 
5
  protected static $instance = null;
6
 
7
+ private $admin_screen_hook = '';
8
 
9
  private function __construct() {
10
  add_action( 'admin_menu', array( $this, 'print_admin_page_action') );
11
  add_action( 'add_meta_boxes', array( $this, 'add_meta_box' ) );
12
  add_action( 'save_post', array( $this, 'save_meta_data' ) );
13
+ add_action( 'admin_enqueue_scripts', array($this, 'add_admin_site_scripts') );
14
  add_action( 'admin_notices', array( $this, 'show_admin_notice') );
15
+ add_filter( 'plugin_row_meta', array($this, 'plugin_meta_links'), 10, 2 );
16
+ add_action( 'wp_ajax_jpibfi_remove_pro_ad', array($this, 'remove_pro_ad') );
17
  }
18
 
19
  public static function get_instance() {
29
 
30
  $name = 'jQuery Pin It Button For Images Lite';
31
 
32
+ $this->admin_screen_hook = add_options_page(
 
33
  $name,
34
  $name,
35
  'administrator',
36
  'jpibfi_settings',
37
  array( $this, 'print_admin_page' )
38
  );
 
 
39
  }
40
 
41
  /* Adds admin scripts */
42
+ public function add_admin_site_scripts($hook) {
43
+
44
+ $hooks = array();
45
+ $hooks[] = $this->admin_screen_hook;
46
+ $hooks[] = 'plugins.php';
47
+
48
+ if (!in_array($hook, $hooks))
49
+ return;
50
+
51
+ $is_plugins_php = $hook == 'plugins.php';
52
 
53
  wp_register_style( 'jquery-pin-it-button-admin-style', JPIBFI_Globals::get_plugin_url() . 'css/admin.css', array(), JPIBFI_Globals::get_file_version(), 'all' );
54
  wp_enqueue_style( 'jquery-pin-it-button-admin-style' );
58
  wp_enqueue_script( 'jquery-pin-it-button-admin-script', JPIBFI_Globals::get_plugin_url() . 'js/admin.js', array( 'jquery' ), JPIBFI_Globals::get_file_version(), false );
59
  wp_localize_script('jquery-pin-it-button-admin-script', 'jpibfiAdminSettings', $settings);
60
 
61
+ if ($is_plugins_php)
62
+ return;
63
+
64
  if ( function_exists( "wp_enqueue_media") ) {
65
  wp_enqueue_media();
66
  wp_enqueue_script( 'jpibfi-upload-new', JPIBFI_Globals::get_plugin_url() . 'js/upload-button-new.js', array(), JPIBFI_Globals::get_file_version(), false );
146
  else
147
  delete_post_meta( $post_id, 'jpibfi_meta' );
148
  }
149
+
150
  function show_admin_notice() {
151
  global $hook_suffix;
152
+ $hooks = array();
153
+ $hooks[] = $this->admin_screen_hook;
154
+ if (get_option('jpibfi_pro_ad')) {
155
+ $hooks[] = 'plugins.php';
156
+ }
157
+
158
+ if (in_array($hook_suffix, $hooks)) {
159
+ $show_close = 'plugins.php' == $hook_suffix;
160
  ?>
161
  <div class="updated jpibfi-pro-notice">
162
  <p><?php echo sprintf(__('jQuery Pin It Button for Images Pro is coming soon. Click <a target="_blank" href="%s">here</a> to learn more.', 'jquery-pin-it-button-for-images'), 'http://mrsztuczkens.me/jpibfi-pro/'); ?></p>
163
+ <?php if ($show_close): ?><span id="jpibfi_remove_ad" class="dashicons dashicons-no"></span><?php endif; ?>
164
  </div>
165
  <?php
166
  }
167
  }
168
 
169
+ function plugin_meta_links( $links, $file ) {
170
+ $basefile = JPIBFI_Globals::get_plugin_file();
171
+ $plugin = plugin_basename($basefile);
172
+ // create link
173
+ if ( $file == $plugin ) {
174
+ return array_merge(
175
+ $links,
176
+ array( '<a href="http://mrsztuczkens.me/jpibfi-pro/">jQuery Pin It Button for Images Pro</a>' )
177
+ );
178
+ }
179
+ return $links;
180
+ }
181
+
182
+ function remove_pro_ad(){
183
+ delete_option('jpibfi_pro_ad');
184
+ wp_die();
185
+ }
186
+
187
+
188
+
189
  }
190
 
191
  add_action( 'plugins_loaded', array( 'JPIBFI_Admin', 'get_instance' ) );
includes/admin/class-jpibfi-selection-options.php CHANGED
@@ -72,7 +72,7 @@ class JPIBFI_Selection_Options extends JPIBFI_Options {
72
  'selection_options_section', // The name of the section to which this field belongs
73
  array( // The array of arguments to pass to the callback. In this case, just a description.
74
  sprintf ( __( 'jQuery selector for all the images that should have the "Pin it" button. Set the value to %s if you want the "Pin it" button to appear only on images in content or %s to appear on all images on site (including sidebar, header and footer). If you know a thing or two about jQuery, you might use your own selector. %sClick here%s to read about jQuery selectors.', 'jquery-pin-it-button-for-images' ),
75
- '<a href="#" class="jpibfi_selector_option">div.jpibfi_container img</a>',
76
  '<a href="#" class="jpibfi_selector_option">img</a>',
77
  '<a href="http://api.jquery.com/category/selectors/" target="_blank">',
78
  '</a>'
72
  'selection_options_section', // The name of the section to which this field belongs
73
  array( // The array of arguments to pass to the callback. In this case, just a description.
74
  sprintf ( __( 'jQuery selector for all the images that should have the "Pin it" button. Set the value to %s if you want the "Pin it" button to appear only on images in content or %s to appear on all images on site (including sidebar, header and footer). If you know a thing or two about jQuery, you might use your own selector. %sClick here%s to read about jQuery selectors.', 'jquery-pin-it-button-for-images' ),
75
+ '<a href="#" class="jpibfi_selector_option">.jpibfi_container img</a>',
76
  '<a href="#" class="jpibfi_selector_option">img</a>',
77
  '<a href="http://api.jquery.com/category/selectors/" target="_blank">',
78
  '</a>'
includes/admin/class-jpibfi-visual-options.php CHANGED
@@ -32,20 +32,22 @@ class JPIBFI_Visual_Options extends JPIBFI_Options {
32
 
33
  function get_default_options(){
34
  $defaults = array(
35
- 'transparency_value' => '0.5',
36
- 'description_option' => '1',
37
- 'use_custom_image' => '0',
38
- 'custom_image_url' => '',
39
- 'custom_image_height' => '0',
40
- 'custom_image_width' => '0',
41
- 'use_post_url' => '0',
42
- 'button_position' => '0',
43
  'button_margin_top' => '20',
44
  'button_margin_right' => '20',
45
- 'button_margin_bottom' => '20',
46
  'button_margin_left' => '20',
 
 
 
 
 
 
 
47
  'retina_friendly' => '0',
48
- 'show_button' => 'hover'
 
 
 
49
  );
50
 
51
  return apply_filters( 'jpibfi_default_visual_options', $defaults );
@@ -57,6 +59,7 @@ class JPIBFI_Visual_Options extends JPIBFI_Options {
57
 
58
  function get_checkbox_settings() {
59
  return array(
 
60
  'use_post_url',
61
  'retina_friendly',
62
  'use_custom_image'
@@ -106,6 +109,16 @@ class JPIBFI_Visual_Options extends JPIBFI_Options {
106
  )
107
  );
108
 
 
 
 
 
 
 
 
 
 
 
109
  add_settings_field(
110
  'transparency_value',
111
  __( 'Transparency value', 'jquery-pin-it-button-for-images' ),
@@ -224,6 +237,20 @@ class JPIBFI_Visual_Options extends JPIBFI_Options {
224
  echo JPIBFI_Admin_Utilities::create_description( $args[0] );
225
  }
226
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
227
  public function transparency_value_callback( $args ) {
228
  $options = $this->get_visual_options();
229
 
@@ -342,6 +369,22 @@ class JPIBFI_Visual_Options extends JPIBFI_Options {
342
  foreach( $input as $key => $value ) {
343
 
344
  switch($key) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
345
  case 'transparency_value':
346
  if ( !is_numeric( $input[ $key ] ) || ( $input[ $key ] < 0.0 ) || ( $input[ $key ] > 1.0 ) ) {
347
 
@@ -352,22 +395,9 @@ class JPIBFI_Visual_Options extends JPIBFI_Options {
352
  );
353
  }
354
  break;
355
- case 'custom_image_height':
356
- case 'custom_image_width':
357
- $name = "";
358
- if ( 'custom_image_height' == $key )
359
- $name = __('Custom image height', 'jquery-pin-it-button-for-images' );
360
- else if ( 'custom_image_width' == $key )
361
- $name = __('Custom image width', 'jquery-pin-it-button-for-images' );
362
-
363
- if ( '' != $value && ( !is_numeric( $value ) || $value < 0 ) ) {
364
- add_settings_error(
365
- $key,
366
- esc_attr( 'settings_updated' ),
367
- $name . ' - ' . sprintf ( __('value must be a number greater or equal to %d.', 'jquery-pin-it-button-for-images'), '0' )
368
- );
369
- }
370
- break;
371
  }
372
  }
373
 
32
 
33
  function get_default_options(){
34
  $defaults = array(
35
+ 'button_margin_bottom' => '20',
 
 
 
 
 
 
 
36
  'button_margin_top' => '20',
37
  'button_margin_right' => '20',
 
38
  'button_margin_left' => '20',
39
+ 'button_position' => '0',
40
+ 'custom_image_url' => '',
41
+ 'custom_image_height' => '0',
42
+ 'custom_image_width' => '0',
43
+ 'description_option' => '1',
44
+ 'pinLinkedImages' => '0',
45
+ 'pinLinkedImagesExtensions' => '',
46
  'retina_friendly' => '0',
47
+ 'show_button' => 'hover',
48
+ 'transparency_value' => '0.5',
49
+ 'use_custom_image' => '0',
50
+ 'use_post_url' => '0'
51
  );
52
 
53
  return apply_filters( 'jpibfi_default_visual_options', $defaults );
59
 
60
  function get_checkbox_settings() {
61
  return array(
62
+ 'pinLinkedImages',
63
  'use_post_url',
64
  'retina_friendly',
65
  'use_custom_image'
109
  )
110
  );
111
 
112
+ add_settings_field(
113
+ 'pin_linked_images',
114
+ __( 'Pin linked images', 'jquery-pin-it-button-for-images' ),
115
+ array( $this, 'pin_linked_images_callback' ),
116
+ 'jpibfi_visual_options',
117
+ 'visual_options_section',
118
+ array(
119
+ )
120
+ );
121
+
122
  add_settings_field(
123
  'transparency_value',
124
  __( 'Transparency value', 'jquery-pin-it-button-for-images' ),
237
  echo JPIBFI_Admin_Utilities::create_description( $args[0] );
238
  }
239
 
240
+ public function pin_linked_images_callback( $args){
241
+ $options = $this->get_visual_options();
242
+
243
+ $pin_linked_images = $options['pinLinkedImages']== '1';
244
+ $pin_linked_images_extensions = $options['pinLinkedImagesExtensions'];
245
+
246
+ echo '<input type="checkbox" id="pinLinkedImages" name="jpibfi_visual_options[pinLinkedImages]" value="1" ' . checked( true, $pin_linked_images, false ) . '>';
247
+ echo '<label for="pinLinkedImages">' . __( 'Active', 'jquery-pin-it-button-for-images' ) . '</label>';
248
+ echo JPIBFI_Admin_Utilities::create_description(__( 'When checked, pins full-sized images instead of thumbnails (works only if you link thumbnails to their full versions).', 'jquery-pin-it-button-for-images' ));
249
+ echo '<p><label for="pinLinkedImagesExtensions">' . __( 'File extensions to use', 'jquery-pin-it-button-for-images' ) . '</label> ';
250
+ echo '<input type="text" id="pinLinkedImagesExtensions" name="jpibfi_visual_options[pinLinkedImagesExtensions]" value="' . $pin_linked_images_extensions . '"></p>';
251
+ echo JPIBFI_Admin_Utilities::create_description( __('Leaving this empty means files of any extension will be used (also those without any extension). If you want to use only files of specific extension(s), type those file extensions here (separated by commas).', 'jquery-pin-it-button-for-images') );
252
+ }
253
+
254
  public function transparency_value_callback( $args ) {
255
  $options = $this->get_visual_options();
256
 
369
  foreach( $input as $key => $value ) {
370
 
371
  switch($key) {
372
+ case 'custom_image_height':
373
+ case 'custom_image_width':
374
+ $name = "";
375
+ if ( 'custom_image_height' == $key )
376
+ $name = __('Custom image height', 'jquery-pin-it-button-for-images' );
377
+ else if ( 'custom_image_width' == $key )
378
+ $name = __('Custom image width', 'jquery-pin-it-button-for-images' );
379
+
380
+ if ( '' != $value && ( !is_numeric( $value ) || $value < 0 ) ) {
381
+ add_settings_error(
382
+ $key,
383
+ esc_attr( 'settings_updated' ),
384
+ $name . ' - ' . sprintf ( __('value must be a number greater or equal to %d.', 'jquery-pin-it-button-for-images'), '0' )
385
+ );
386
+ }
387
+ break;
388
  case 'transparency_value':
389
  if ( !is_numeric( $input[ $key ] ) || ( $input[ $key ] < 0.0 ) || ( $input[ $key ] > 1.0 ) ) {
390
 
395
  );
396
  }
397
  break;
398
+ case 'pinLinkedImagesExtensions':
399
+ $options[ $key ] = esc_attr( $value );
400
+ break;
 
 
 
 
 
 
 
 
 
 
 
 
 
401
  }
402
  }
403
 
includes/public/class-jpibfi-client.php CHANGED
@@ -53,7 +53,9 @@ class JPIBFI_Client {
53
  'buttonMarginLeft' => $jpibfi_visual_options[ 'button_margin_left' ],
54
  'buttonMarginRight' => $jpibfi_visual_options[ 'button_margin_right' ],
55
  'retinaFriendly' => $jpibfi_visual_options[ 'retina_friendly' ] == '1' ? '1' : '0',
56
- 'showButton' => $jpibfi_visual_options['show_button']
 
 
57
  );
58
 
59
  wp_localize_script( 'jquery-pin-it-button-script', 'jpibfi_options', apply_filters( 'jpibfi_javascript_parameters', $parameters_array ) );
53
  'buttonMarginLeft' => $jpibfi_visual_options[ 'button_margin_left' ],
54
  'buttonMarginRight' => $jpibfi_visual_options[ 'button_margin_right' ],
55
  'retinaFriendly' => $jpibfi_visual_options[ 'retina_friendly' ] == '1' ? '1' : '0',
56
+ 'showButton' => $jpibfi_visual_options['show_button'],
57
+ 'pinLinkedImages' => $jpibfi_visual_options['pinLinkedImages'] == '1',
58
+ 'pinLinkedImagesExtensions' => $jpibfi_visual_options['pinLinkedImagesExtensions'],
59
  );
60
 
61
  wp_localize_script( 'jquery-pin-it-button-script', 'jpibfi_options', apply_filters( 'jpibfi_javascript_parameters', $parameters_array ) );
jquery-pin-it-button-for-images.php CHANGED
@@ -6,7 +6,7 @@ Description: Highlights images on hover and adds a "Pin It" button over them for
6
  Text Domain: jquery-pin-it-button-for-images
7
  Domain Path: /languages
8
  Author: Marcin Skrzypiec
9
- Version:1.42
10
  Author URI: http://mrsztuczkens.me/
11
  */
12
 
@@ -42,7 +42,7 @@ if ( ! class_exists( 'jQuery_Pin_It_Button_For_Images' ) ) :
42
  private function includes() {
43
 
44
  require_once(plugin_dir_path(__FILE__) . 'includes/class-jpibfi-globals.php');
45
- JPIBFI_Globals::init(__FILE__, '1.42', 'a');
46
 
47
  $files = array(
48
  'includes/admin/class-jpibfi-admin-utilities.php',
@@ -78,6 +78,7 @@ if ( ! class_exists( 'jQuery_Pin_It_Button_For_Images' ) ) :
78
  if ( false == $version || (float)$version < (float)$jpibfi_v || get_option( $update_option ) ) {
79
  update_option( $version_option, $jpibfi_v);
80
  update_option( $update_option, false);
 
81
  }
82
  }
83
  }
6
  Text Domain: jquery-pin-it-button-for-images
7
  Domain Path: /languages
8
  Author: Marcin Skrzypiec
9
+ Version:1.50
10
  Author URI: http://mrsztuczkens.me/
11
  */
12
 
42
  private function includes() {
43
 
44
  require_once(plugin_dir_path(__FILE__) . 'includes/class-jpibfi-globals.php');
45
+ JPIBFI_Globals::init(__FILE__, '1.50', 'a');
46
 
47
  $files = array(
48
  'includes/admin/class-jpibfi-admin-utilities.php',
78
  if ( false == $version || (float)$version < (float)$jpibfi_v || get_option( $update_option ) ) {
79
  update_option( $version_option, $jpibfi_v);
80
  update_option( $update_option, false);
81
+ update_option('jpibfi_pro_ad', 1);
82
  }
83
  }
84
  }
js/admin.js CHANGED
@@ -119,7 +119,7 @@
119
  })();
120
 
121
  $(document).ready(function ($) {
122
-
123
  disabledClassesModule.init($('#jpibfi-disabled-classes'));
124
  enabledClassesModule.init($('#jpibfi-enabled-classes'));
125
 
@@ -141,6 +141,11 @@
141
  return false;
142
  });
143
 
 
 
 
 
 
144
  if ($('#show_button_error').length > 0){
145
  $('#show_button').change(function(e){
146
  $('#show_button_error').toggle($(this).val() != 'hover');
119
  })();
120
 
121
  $(document).ready(function ($) {
122
+
123
  disabledClassesModule.init($('#jpibfi-disabled-classes'));
124
  enabledClassesModule.init($('#jpibfi-enabled-classes'));
125
 
141
  return false;
142
  });
143
 
144
+ $('#jpibfi_remove_ad').click(function(){
145
+ $('.jpibfi-pro-notice').remove();
146
+ jQuery.post(ajaxurl, { 'action': 'jpibfi_remove_pro_ad' }, function(response) {});
147
+ });
148
+
149
  if ($('#show_button_error').length > 0){
150
  $('#show_button').change(function(e){
151
  $('#show_button_error').toggle($(this).val() != 'hover');
js/jpibfi.js CHANGED
@@ -1 +1 @@
1
- var jpibfi;!function(jpibfi){!function(ButtonPosition){ButtonPosition[ButtonPosition.TopLeft=0]="TopLeft",ButtonPosition[ButtonPosition.TopRight=1]="TopRight",ButtonPosition[ButtonPosition.BottomLeft=2]="BottomLeft",ButtonPosition[ButtonPosition.BottomRight=3]="BottomRight",ButtonPosition[ButtonPosition.Middle=4]="Middle"}(jpibfi.ButtonPosition||(jpibfi.ButtonPosition={}));jpibfi.ButtonPosition;!function(ShowButton){ShowButton[ShowButton.Hover=0]="Hover",ShowButton[ShowButton.AlwaysTouch=1]="AlwaysTouch",ShowButton[ShowButton.Always=2]="Always"}(jpibfi.ShowButton||(jpibfi.ShowButton={}));jpibfi.ShowButton}(jpibfi||(jpibfi={}));var jpibfi;!function(jpibfi){var PinButtonGenerator=function(){function PinButtonGenerator($,settings,logger){this.$=$,this.settings=settings,this.logger=logger}return PinButtonGenerator.prototype.getImageUrl=function($elem){return this.$.fn.prop&&$elem.prop("src")||$elem.attr("src")},PinButtonGenerator.prototype.cancelHide=function($button){clearTimeout($button.data("jpibfi-timeoutId"))},PinButtonGenerator.prototype.hide=function($button,callback){void 0===callback&&(callback=function(){});var timeoutId=($button.data("jpibfi-indexer"),setTimeout(function(){$button.remove(),callback.call(null,null)},100));$button.data("jpibfi-timeoutId",timeoutId)},PinButtonGenerator.prototype.generateForImage=function($image){var indexer=$image.data("jpibfi-indexer"),$anchor=this.$("<a/>",{href:"#","class":"pinit-button","data-jpibfi-indexer":indexer,text:""}),that=this;$anchor.click(function(){that.logger.logString("Pin In button clicked");var index=that.$(this).data("jpibfi-indexer"),$image=that.$('img[data-jpibfi-indexer="'+index+'"]'),bookmarkDescription="",descriptionForUrl="",bookmarkUrl="";if(that.settings.usePostUrl){var $inputWithData=$image.closest(".jpibfi_container").find("input.jpibfi").first();$inputWithData.length&&(descriptionForUrl=$inputWithData.data("jpibfi-description"),bookmarkUrl=$inputWithData.data("jpibfi-url"))}bookmarkUrl=bookmarkUrl||that.settings.pageUrl,3==that.settings.descriptionOption?bookmarkDescription=$image.attr("title")||$image.attr("alt"):2==that.settings.descriptionOption?bookmarkDescription=descriptionForUrl||that.settings.pageDescription:4==that.settings.descriptionOption?bookmarkDescription=that.settings.siteTitle:5==that.settings.descriptionOption?bookmarkDescription=$image.data("jpibfi-description"):6==that.settings.descriptionOption&&(bookmarkDescription=$image.attr("alt")),bookmarkDescription=bookmarkDescription||descriptionForUrl||that.settings.pageTitle;var imageUrl="http://pinterest.com/pin/create/bookmarklet/?is_video="+encodeURIComponent("false")+"&url="+encodeURIComponent(bookmarkUrl)+"&media="+encodeURIComponent(that.getImageUrl($image))+"&description="+encodeURIComponent(bookmarkDescription);return window.open(imageUrl,"_blank","width=632,height=253,status=0,toolbar=0,menubar=0,location=1,scrollbars=1"),!1});var position=that.calculateButtonPosition($image);return $image.after($anchor),$anchor.show().offset({left:position.left,top:position.top}),$anchor},PinButtonGenerator.prototype.calculateButtonPosition=function($image){var position=$image.offset(),imageDimensions={width:$image.get(0).clientWidth,height:$image.get(0).clientHeight};switch(this.settings.buttonPosition){case jpibfi.ButtonPosition.TopLeft:position.left+=this.settings.buttonMarginLeft,position.top+=this.settings.buttonMarginTop;break;case jpibfi.ButtonPosition.TopRight:position.top+=this.settings.buttonMarginTop,position.left=position.left+imageDimensions.width-this.settings.buttonMarginRight-this.settings.pinImageWidth;break;case jpibfi.ButtonPosition.BottomLeft:position.left+=this.settings.buttonMarginLeft,position.top=position.top+imageDimensions.height-this.settings.buttonMarginBottom-this.settings.pinImageHeight;break;case jpibfi.ButtonPosition.BottomRight:position.left=position.left+imageDimensions.width-this.settings.buttonMarginRight-this.settings.pinImageWidth,position.top=position.top+imageDimensions.height-this.settings.buttonMarginBottom-this.settings.pinImageHeight;break;case jpibfi.ButtonPosition.Middle:position.left=Math.round(position.left+imageDimensions.width/2-this.settings.pinImageWidth/2),position.top=Math.round(position.top+imageDimensions.height/2-this.settings.pinImageHeight/2)}return position},PinButtonGenerator}();jpibfi.PinButtonGenerator=PinButtonGenerator}(jpibfi||(jpibfi={}));var jpibfi;!function(jpibfi){var Logger=function(){function Logger(printLog){this._printLog=printLog&&"undefined"!=typeof console&&"undefined"!=typeof console.log,this._jsonStringifyExists="undefined"!=typeof JSON&&"function"==typeof JSON.stringify}return Logger.prototype._logObject=function(obj){var out="";for(var p in obj)out+=p+": "+obj[p]+"\n";console.log("jpibfi debug: "+out)},Logger.prototype.logString=function(message){this._printLog&&console.log("jpibfi debug: "+message)},Logger.prototype.logObject=function(obj){this._printLog&&(this._jsonStringifyExists?console.log("jpibfi debugz: "+JSON.stringify(obj,null,4)):this._logObject(obj))},Logger}();jpibfi.Logger=Logger}(jpibfi||(jpibfi={}));var jpibfi;!function(jpibfi){var Settings=function(){function Settings(settings){this.filterSelector="*",this.notSelector="",this.buttonMarginTop=parseInt(settings.buttonMarginTop),this.buttonMarginRight=parseInt(settings.buttonMarginRight),this.buttonMarginBottom=parseInt(settings.buttonMarginBottom),this.buttonMarginLeft=parseInt(settings.buttonMarginLeft),this.buttonPosition=settings.hasOwnProperty("buttonPosition")?parseInt(settings.buttonPosition):4,this.debug=settings.hasOwnProperty("debug")?"1"==settings.debug:!1,this.descriptionOption=settings.hasOwnProperty("descriptionOption")?parseInt(settings.descriptionOption):1,this.imageSelector=settings.imageSelector,this.minImageWidth=settings.hasOwnProperty("minImageWidth")?parseInt(settings.minImageWidth):0,this.minImageHeight=settings.hasOwnProperty("minImageHeight")?parseInt(settings.minImageHeight):0,this.showButton=settings.hasOwnProperty("showButton")?this.parseShowButtonSettings(settings.showButton):jpibfi.ShowButton.Hover,this.pageDescription=settings.pageDescription,this.pageTitle=settings.pageTitle,this.pageUrl=settings.pageUrl,this.pinImageHeight=parseInt(settings.pinImageHeight),this.pinImageWidth=parseInt(settings.pinImageWidth),this.retinaFriendly=settings.hasOwnProperty("retinaFriendly")?1==settings.retinaFriendly:!1,this.siteTitle=settings.siteTitle,this.usePostUrl=settings.hasOwnProperty("usePostUrl")?settings.usePostUrl:!0,this.containerSelector=settings.containerSelector,this.notSelector=settings.hasOwnProperty("disabledClasses")?this.createSelectorFromList(settings.disabledClasses):"",this.filterSelector=settings.hasOwnProperty("enabledClasses")?this.createSelectorFromList(settings.enabledClasses)||"*":"*",this.adjustPinImageSize()}return Settings.prototype.adjustPinImageSize=function(){this.retinaFriendly&&(this.pinImageHeight=Math.ceil(this.pinImageHeight/2),this.pinImageWidth=Math.ceil(this.pinImageWidth/2))},Settings.prototype.createSelectorFromList=function(classes){for(var arrayOfClasses=classes.split(";"),selector="",i=0;i<arrayOfClasses.length;i++)arrayOfClasses[i]&&(selector+="."+arrayOfClasses[i]+",");return selector?selector.substr(0,selector.length-1):selector},Settings.prototype.parseShowButtonSettings=function(showButton){switch(showButton){case"always":return jpibfi.ShowButton.Always;case"always_touch":return jpibfi.ShowButton.AlwaysTouch;case"hover":default:return jpibfi.ShowButton.Hover}},Settings}();jpibfi.Settings=Settings}(jpibfi||(jpibfi={}));var jpibfi;!function(jpibfi){"use strict";var Hover=function(){function Hover($,settings,logger,buttonGenerator){this.$=$,this.settings=settings,this.logger=logger,this.buttonGenerator=buttonGenerator,this._indexer=0}return Hover.prototype.addImages=function(){this.logger.logString(">>addImages");var $elements=this.$(this.settings.imageSelector).not(this.settings.notSelector).not("[data-jpibfi-indexer]").not("[data-jpibfi-ignore]").filter(this.settings.filterSelector),that=this;$elements.each(function(){that.$(this).attr("data-jpibfi-indexer",(that._indexer++).toString())}),this.logger.logString("Images caught by selectors: "+this._indexer)},Hover.prototype.init=function(){this.initImageDelegates(),this.$(document).trigger("jpibfi_beforeAddImages",{}),this.addImages(),this.$(document).trigger("jpibfi_afterAddImages",{})},Hover.prototype.initImageDelegates=function(){var that=this;this.$(document).delegate("img[data-jpibfi-indexer]","mouseenter",function(){var $image=that.$(this);if($image[0].clientWidth<that.settings.minImageWidth||$image[0].clientHeight<that.settings.minImageHeight)return void $image.removeAttr("data-jpibfi-indexer").attr("data-jpibfi-ignore",1..toString());var indexer=$image.data("jpibfi-indexer"),$button=that.$('a.pinit-button[data-jpibfi-indexer="'+indexer+'"]');if(1==$button.length)that.buttonGenerator.cancelHide($button);else{var $anchor=that.buttonGenerator.generateForImage($image);null!=$anchor&&($anchor.mouseenter(function(){that.buttonGenerator.cancelHide(that.$(this))}),$anchor.mouseleave(function(){that.buttonGenerator.hide(that.$(this),function(){$image.removeClass("pinit-hover")})}),$image.addClass("pinit-hover"))}}),that.$(document).delegate("img[data-jpibfi-indexer]","mouseleave",function(){var $image=that.$(this),indexer=$image.data("jpibfi-indexer"),$button=that.$('a.pinit-button[data-jpibfi-indexer="'+indexer+'"]');that.buttonGenerator.hide($button,function(){$image.removeClass("pinit-hover")})})},Hover}();jpibfi.Hover=Hover}(jpibfi||(jpibfi={}));var jpibfi;!function(jpibfi){"use strict";var Plugin=function(){function Plugin($,options){this.$=$,this.settings=new jpibfi.Settings(this.$.extend({pageUrl:document.URL,pageTitle:document.title,pageDescription:$('meta[name="description"]').attr("content")||""},options)),this.logger=new jpibfi.Logger(this.settings.debug),this.logger.logObject(this.settings),this.buttonGenerator=new jpibfi.PinButtonGenerator(this.$,this.settings,this.logger)}return Plugin.prototype.init=function(){var hover=(this.$(".jpibfi").closest(this.settings.containerSelector).addClass("jpibfi_container"),new jpibfi.Hover(this.$,this.settings,this.logger,this.buttonGenerator));hover.init()},Plugin.prototype.isTouchDevice=function(){return"ontouchstart"in window||navigator.hasOwnProperty("maxTouchPoints")},Plugin}();!function($){$(document).ready(function(){var plugin=new Plugin($,jpibfi_options);plugin.init()})}(jQuery)}(jpibfi||(jpibfi={}));
1
+ var jpibfi;!function(jpibfi){!function(ButtonPosition){ButtonPosition[ButtonPosition.TopLeft=0]="TopLeft",ButtonPosition[ButtonPosition.TopRight=1]="TopRight",ButtonPosition[ButtonPosition.BottomLeft=2]="BottomLeft",ButtonPosition[ButtonPosition.BottomRight=3]="BottomRight",ButtonPosition[ButtonPosition.Middle=4]="Middle"}(jpibfi.ButtonPosition||(jpibfi.ButtonPosition={}));jpibfi.ButtonPosition;!function(ShowButton){ShowButton[ShowButton.Hover=0]="Hover",ShowButton[ShowButton.AlwaysTouch=1]="AlwaysTouch",ShowButton[ShowButton.Always=2]="Always"}(jpibfi.ShowButton||(jpibfi.ShowButton={}));jpibfi.ShowButton}(jpibfi||(jpibfi={}));var jpibfi;!function(jpibfi){var PinButtonGenerator=function(){function PinButtonGenerator($,settings,logger){this.$=$,this.settings=settings,this.logger=logger}return PinButtonGenerator.prototype.cancelHide=function($button){clearTimeout($button.data("jpibfi-timeoutId"))},PinButtonGenerator.prototype.hide=function($button,callback){void 0===callback&&(callback=function(){});var timeoutId=($button.data("jpibfi-indexer"),setTimeout(function(){$button.remove(),callback.call(null,null)},100));$button.data("jpibfi-timeoutId",timeoutId)},PinButtonGenerator.prototype.generateForImage=function($image){var indexer=$image.data("jpibfi-indexer"),$anchor=this.$("<a/>",{href:"#","class":"pinit-button","data-jpibfi-indexer":indexer,text:""}),that=this;$anchor.click(function(){var $this=that.$(this);that.logger.logString("Pin In button clicked");var index=that.$(this).data("jpibfi-indexer"),$image=that.$('img[data-jpibfi-indexer="'+index+'"]'),bookmarkDescription="",descriptionForUrl="",bookmarkUrl="";if(that.settings.usePostUrl){var $inputWithData=$image.closest(".jpibfi_container").find("input.jpibfi").first();$inputWithData.length&&(descriptionForUrl=$inputWithData.data("jpibfi-description"),bookmarkUrl=$inputWithData.data("jpibfi-url"))}bookmarkUrl=bookmarkUrl||that.settings.pageUrl,3==that.settings.descriptionOption?bookmarkDescription=$image.attr("title")||$image.attr("alt"):2==that.settings.descriptionOption?bookmarkDescription=descriptionForUrl||that.settings.pageDescription:4==that.settings.descriptionOption?bookmarkDescription=that.settings.siteTitle:5==that.settings.descriptionOption?bookmarkDescription=$image.data("jpibfi-description"):6==that.settings.descriptionOption&&(bookmarkDescription=$image.attr("alt")),bookmarkDescription=bookmarkDescription||descriptionForUrl||that.settings.pageTitle;var imageUrl="http://pinterest.com/pin/create/bookmarklet/?is_video="+encodeURIComponent("false")+"&url="+encodeURIComponent(bookmarkUrl)+"&media="+encodeURIComponent(that.getImageUrl($image))+"&description="+encodeURIComponent(bookmarkDescription);return that.settings.isTouchDevice?($this.attr("href",imageUrl).attr("target","_blank"),!0):(window.open(imageUrl,"_blank","width=632,height=253,status=0,toolbar=0,menubar=0,location=1,scrollbars=1"),!1)});var position=that.calculateButtonPosition($image);return $image.after($anchor),$anchor.show().offset({left:position.left,top:position.top}),$anchor},PinButtonGenerator.prototype.getImageUrl=function($elem){var defaultUrl=this.$.fn.prop&&$elem.prop("src")||$elem.attr("src");return this.settings.pinLinkedImages?this.getLinkedImageUrl($elem)||defaultUrl:defaultUrl},PinButtonGenerator.prototype.getLinkedImageUrl=function($element){var $parent=$element.parents("a").first();if($parent.length){var href=$parent.attr("href"),useUrl=!!href&&this.fileExtensionAllowed(this.getFileExtension(href),this.settings.pinLinkedImagesExtensions);if(useUrl)return href}return null},PinButtonGenerator.prototype.getFileExtension=function(url){var parts=url.split(".");return 1==parts.length?"":parts.pop().split(/\#|\?/)[0]},PinButtonGenerator.prototype.fileExtensionAllowed=function(extension,listOfExtensions){if(!listOfExtensions.length)return!0;for(var extensions=listOfExtensions.split(","),i=0;i<extensions.length;i++)if(extensions[i]==extension)return!0;return!1},PinButtonGenerator.prototype.urlInCurrentDomain=function(url){var currentDomain=document.domain.replace(/^www./,"");return-1!=url.indexOf(currentDomain)},PinButtonGenerator.prototype.calculateButtonPosition=function($image){var position=$image.offset(),imageDimensions={width:$image.get(0).clientWidth,height:$image.get(0).clientHeight};switch(this.settings.buttonPosition){case jpibfi.ButtonPosition.TopLeft:position.left+=this.settings.buttonMarginLeft,position.top+=this.settings.buttonMarginTop;break;case jpibfi.ButtonPosition.TopRight:position.top+=this.settings.buttonMarginTop,position.left=position.left+imageDimensions.width-this.settings.buttonMarginRight-this.settings.pinImageWidth;break;case jpibfi.ButtonPosition.BottomLeft:position.left+=this.settings.buttonMarginLeft,position.top=position.top+imageDimensions.height-this.settings.buttonMarginBottom-this.settings.pinImageHeight;break;case jpibfi.ButtonPosition.BottomRight:position.left=position.left+imageDimensions.width-this.settings.buttonMarginRight-this.settings.pinImageWidth,position.top=position.top+imageDimensions.height-this.settings.buttonMarginBottom-this.settings.pinImageHeight;break;case jpibfi.ButtonPosition.Middle:position.left=Math.round(position.left+imageDimensions.width/2-this.settings.pinImageWidth/2),position.top=Math.round(position.top+imageDimensions.height/2-this.settings.pinImageHeight/2)}return position},PinButtonGenerator}();jpibfi.PinButtonGenerator=PinButtonGenerator}(jpibfi||(jpibfi={}));var jpibfi;!function(jpibfi){var Logger=function(){function Logger(printLog){this._printLog=printLog&&"undefined"!=typeof console&&"undefined"!=typeof console.log,this._jsonStringifyExists="undefined"!=typeof JSON&&"function"==typeof JSON.stringify}return Logger.prototype._logObject=function(obj){var out="";for(var p in obj)out+=p+": "+obj[p]+"\n";console.log("jpibfi debug: "+out)},Logger.prototype.logString=function(message){this._printLog&&console.log("jpibfi debug: "+message)},Logger.prototype.logObject=function(obj){this._printLog&&(this._jsonStringifyExists?console.log("jpibfi debugz: "+JSON.stringify(obj,null,4)):this._logObject(obj))},Logger}();jpibfi.Logger=Logger}(jpibfi||(jpibfi={}));var jpibfi;!function(jpibfi){var Settings=function(){function Settings(settings){this.filterSelector="*",this.notSelector="",this.buttonMarginTop=parseInt(settings.buttonMarginTop),this.buttonMarginRight=parseInt(settings.buttonMarginRight),this.buttonMarginBottom=parseInt(settings.buttonMarginBottom),this.buttonMarginLeft=parseInt(settings.buttonMarginLeft),this.buttonPosition=settings.hasOwnProperty("buttonPosition")?parseInt(settings.buttonPosition):4,this.debug=settings.hasOwnProperty("debug")?"1"==settings.debug:!1,this.descriptionOption=settings.hasOwnProperty("descriptionOption")?parseInt(settings.descriptionOption):1,this.imageSelector=settings.imageSelector,this.isTouchDevice="ontouchstart"in window||navigator.hasOwnProperty("maxTouchPoints"),this.minImageWidth=settings.hasOwnProperty("minImageWidth")?parseInt(settings.minImageWidth):0,this.minImageHeight=settings.hasOwnProperty("minImageHeight")?parseInt(settings.minImageHeight):0,this.showButton=settings.hasOwnProperty("showButton")?this.parseShowButtonSettings(settings.showButton):jpibfi.ShowButton.Hover,this.pageDescription=settings.pageDescription,this.pageTitle=settings.pageTitle,this.pageUrl=settings.pageUrl,this.pinImageHeight=parseInt(settings.pinImageHeight),this.pinImageWidth=parseInt(settings.pinImageWidth),this.pinLinkedImages=1==settings.pinLinkedImages,this.pinLinkedImagesExtensions=settings.pinLinkedImagesExtensions,this.retinaFriendly=settings.hasOwnProperty("retinaFriendly")?1==settings.retinaFriendly:!1,this.siteTitle=settings.siteTitle,this.usePostUrl=settings.hasOwnProperty("usePostUrl")?settings.usePostUrl:!0,this.containerSelector=settings.containerSelector,this.notSelector=settings.hasOwnProperty("disabledClasses")?this.createSelectorFromList(settings.disabledClasses):"",this.filterSelector=settings.hasOwnProperty("enabledClasses")?this.createSelectorFromList(settings.enabledClasses)||"*":"*",this.adjustPinImageSize()}return Settings.prototype.adjustPinImageSize=function(){this.retinaFriendly&&(this.pinImageHeight=Math.ceil(this.pinImageHeight/2),this.pinImageWidth=Math.ceil(this.pinImageWidth/2))},Settings.prototype.createSelectorFromList=function(classes){for(var arrayOfClasses=classes.split(";"),selector="",i=0;i<arrayOfClasses.length;i++)arrayOfClasses[i]&&(selector+="."+arrayOfClasses[i]+",");return selector?selector.substr(0,selector.length-1):selector},Settings.prototype.parseShowButtonSettings=function(showButton){switch(showButton){case"always":return jpibfi.ShowButton.Always;case"always_touch":return jpibfi.ShowButton.AlwaysTouch;case"hover":default:return jpibfi.ShowButton.Hover}},Settings}();jpibfi.Settings=Settings}(jpibfi||(jpibfi={}));var jpibfi;!function(jpibfi){"use strict";var Hover=function(){function Hover($,settings,logger,buttonGenerator){this.$=$,this.settings=settings,this.logger=logger,this.buttonGenerator=buttonGenerator,this._indexer=0,this.ignoreAttributeName="data-jpibfi-ignore",this.ignoreAttributeSelector="["+this.ignoreAttributeName+"]",this.indexerAttributeName="data-jpibfi-indexer",this.indexerAttributeSelector="["+this.indexerAttributeName+"]"}return Hover.prototype.init=function(){var that=this;this.$(document).delegate(that.settings.imageSelector,"mouseenter",function(){var $image=that.$(this);if(!$image.is(that.ignoreAttributeSelector)){var ignoreImage=$image.is(that.settings.notSelector)||$image.is(that.settings.filterSelector)===!1||$image[0].clientWidth<that.settings.minImageWidth||$image[0].clientHeight<that.settings.minImageHeight;if(ignoreImage)return $image.attr(that.ignoreAttributeName,1..toString());var indexer=$image.attr(that.indexerAttributeName);indexer||(indexer=(that._indexer++).toString(),$image.attr(that.indexerAttributeName,indexer));var $button=that.$('a.pinit-button[data-jpibfi-indexer="'+indexer+'"]');if(1==$button.length)that.buttonGenerator.cancelHide($button);else{var $anchor=that.buttonGenerator.generateForImage($image);null!=$anchor&&($anchor.mouseenter(function(){that.buttonGenerator.cancelHide(that.$(this))}),$anchor.mouseleave(function(){that.buttonGenerator.hide(that.$(this),function(){$image.removeClass("pinit-hover")})}),$image.addClass("pinit-hover"))}}}),that.$(document).delegate(that.settings.imageSelector,"mouseleave",function(){var $image=that.$(this),indexer=$image.attr(that.indexerAttributeName);if(indexer){var $button=that.$('a.pinit-button[data-jpibfi-indexer="'+indexer+'"]');that.buttonGenerator.hide($button,function(){$image.removeClass("pinit-hover")})}})},Hover}();jpibfi.Hover=Hover}(jpibfi||(jpibfi={}));var jpibfi;!function(jpibfi){"use strict";var Plugin=function(){function Plugin($,options){this.$=$,this.settings=new jpibfi.Settings(this.$.extend({pageUrl:document.URL,pageTitle:document.title,pageDescription:$('meta[name="description"]').attr("content")||""},options)),this.logger=new jpibfi.Logger(this.settings.debug),this.logger.logObject(this.settings),this.buttonGenerator=new jpibfi.PinButtonGenerator(this.$,this.settings,this.logger)}return Plugin.prototype.init=function(){var _this=this;this.addContainers(),this.$(document).scroll(function(){return _this.addContainers()}),this.$(document).ajaxSuccess(function(){return _this.addContainers()});var hover=new jpibfi.Hover(this.$,this.settings,this.logger,this.buttonGenerator);hover.init()},Plugin.prototype.addContainers=function(){var $containers=this.$(".jpibfi").not(".jpibfi-ignore");0!=$containers.length&&($containers.closest(this.settings.containerSelector).addClass("jpibfi_container"),$containers.addClass("jpibfi-ignore"))},Plugin}();!function($){$(document).ready(function(){var plugin=new Plugin($,jpibfi_options);plugin.init()})}(jQuery)}(jpibfi||(jpibfi={}));
languages/jquery-pin-it-button-for-images.pot CHANGED
@@ -15,27 +15,27 @@ msgstr ""
15
  "X-Poedit-SearchPathExcluded-0: *.js\n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n\n"
17
 
18
- #: includes\admin\class-jpibfi-admin.php:133, includes\admin\class-jpibfi-selection-options.php:121
19
  msgid "Selection"
20
  msgstr ""
21
 
22
- #: includes\admin\class-jpibfi-admin.php:143, includes\admin\class-jpibfi-visual-options.php:141
23
  msgid "Visual"
24
  msgstr ""
25
 
26
- #: includes\admin\class-jpibfi-admin.php:153
27
  msgid "Advanced"
28
  msgstr ""
29
 
30
- #: includes\admin\class-jpibfi-admin.php:193, jquery-pin-it-button-for-images.php:131
31
  msgid "Settings"
32
  msgstr ""
33
 
34
- #: includes\admin\class-jpibfi-admin.php:229
35
  msgid "Disable \"Pin it\" button for this post (works only on single pages/posts)"
36
  msgstr ""
37
 
38
- #: includes\admin\class-jpibfi-admin.php:283
39
  msgid "jQuery Pin It Button for Images Pro is coming soon. Click <a target=\"_blank\" href=\"%s\">here</a> to learn more."
40
  msgstr ""
41
 
@@ -143,11 +143,11 @@ msgstr ""
143
  msgid "Blog pages"
144
  msgstr ""
145
 
146
- #: includes\admin\class-jpibfi-selection-options.php:455, includes\admin\class-jpibfi-visual-options.php:521
147
  msgid "Height"
148
  msgstr ""
149
 
150
- #: includes\admin\class-jpibfi-selection-options.php:469, includes\admin\class-jpibfi-visual-options.php:535
151
  msgid "Width"
152
  msgstr ""
153
 
@@ -163,198 +163,218 @@ msgstr ""
163
  msgid "Minimum image width"
164
  msgstr ""
165
 
166
- #: includes\admin\class-jpibfi-selection-options.php:561, includes\admin\class-jpibfi-visual-options.php:733
167
  msgid "value must be a number greater or equal to %d."
168
  msgstr ""
169
 
170
- #: includes\admin\class-jpibfi-visual-options.php:155
171
  msgid "Show button"
172
  msgstr ""
173
 
174
- #: includes\admin\class-jpibfi-visual-options.php:165
175
  msgid "When the \"Pin it\" button should be visible."
176
  msgstr ""
177
 
178
- #: includes\admin\class-jpibfi-visual-options.php:177
179
  msgid "Description source"
180
  msgstr ""
181
 
182
- #: includes\admin\class-jpibfi-visual-options.php:187
183
  msgid "From where the Pinterest message should be taken. Please note that \"Image description\" works properly only for images that were added to your Media Library."
184
  msgstr ""
185
 
186
- #: includes\admin\class-jpibfi-visual-options.php:199
187
  msgid "Linked page"
188
  msgstr ""
189
 
190
- #: includes\admin\class-jpibfi-visual-options.php:209
191
  msgid "When checked, the link on Pinterest will always point to the individual page with the image and title of this individual page will be used if you've selected Title as the description source, even when the image was pinned on an archive page, category page or homepage. If false, the link will point to the URL the user is currently on."
192
  msgstr ""
193
 
194
- #: includes\admin\class-jpibfi-visual-options.php:221
 
 
 
 
195
  msgid "Transparency value"
196
  msgstr ""
197
 
198
- #: includes\admin\class-jpibfi-visual-options.php:231
199
  msgid "This setting sets the transparency of the image."
200
  msgstr ""
201
 
202
- #: includes\admin\class-jpibfi-visual-options.php:243
203
  msgid "Custom \"Pin It\" button"
204
  msgstr ""
205
 
206
- #: includes\admin\class-jpibfi-visual-options.php:253
207
  msgid "Check the <b>Use custom image</b> checkbox, specify image's URL, height and width to use your own Pinterest button design. You can just upload an image using Wordpress media library if you wish."
208
  msgstr ""
209
 
210
- #: includes\admin\class-jpibfi-visual-options.php:265
211
  msgid "\"Pin it\" button position"
212
  msgstr ""
213
 
214
- #: includes\admin\class-jpibfi-visual-options.php:275
215
  msgid "Where the \"Pin it\" button should appear on the image."
216
  msgstr ""
217
 
218
- #: includes\admin\class-jpibfi-visual-options.php:287
219
  msgid "\"Pin it\" button margins"
220
  msgstr ""
221
 
222
- #: includes\admin\class-jpibfi-visual-options.php:297
223
  msgid "Margins are used to adjust the position of the \"Pin it\" button, but not all margins are used on all button positions. Here is an example. If you're using the \"%s\" position, the button's position will be affected only by top and left margins. Bottom and right margins affect \"%s\" position, etc. The \"%s\" position does not use any margins at all."
224
  msgstr ""
225
 
226
- #: includes\admin\class-jpibfi-visual-options.php:299, includes\admin\class-jpibfi-visual-options.php:581
227
  msgid "Top left"
228
  msgstr ""
229
 
230
- #: includes\admin\class-jpibfi-visual-options.php:301, includes\admin\class-jpibfi-visual-options.php:587
231
  msgid "Bottom right"
232
  msgstr ""
233
 
234
- #: includes\admin\class-jpibfi-visual-options.php:303, includes\admin\class-jpibfi-visual-options.php:589
235
  msgid "Middle"
236
  msgstr ""
237
 
238
- #: includes\admin\class-jpibfi-visual-options.php:317
239
  msgid "Retina friendly"
240
  msgstr ""
241
 
242
- #: includes\admin\class-jpibfi-visual-options.php:327
243
  msgid "Please note that checking this option will result in rendering the \"Pin it\" button half of its normal size (if you use a 80x60 image, the button will be 40x30). When uploading a custom \"Pin it\" button (the default one is too small), please make sure both width and height are even numbers (i.e. divisible by two) when using this option."
244
  msgstr ""
245
 
246
- #: includes\admin\class-jpibfi-visual-options.php:351
247
  msgid "How it should look like"
248
  msgstr ""
249
 
250
- #: includes\admin\class-jpibfi-visual-options.php:367
251
  msgid "On hover"
252
  msgstr ""
253
 
254
- #: includes\admin\class-jpibfi-visual-options.php:369
255
  msgid "Always on touch devices"
256
  msgstr ""
257
 
258
- #: includes\admin\class-jpibfi-visual-options.php:371
259
  msgid "Always"
260
  msgstr ""
261
 
262
- #: includes\admin\class-jpibfi-visual-options.php:381
263
  msgid "This feature is disabled in this version of the plugin. Consider buying <a target=\"_blank\" href=\"%s\">the PRO version</a>."
264
  msgstr ""
265
 
266
- #: includes\admin\class-jpibfi-visual-options.php:407
267
  msgid "Page title"
268
  msgstr ""
269
 
270
- #: includes\admin\class-jpibfi-visual-options.php:409
271
  msgid "Page description"
272
  msgstr ""
273
 
274
- #: includes\admin\class-jpibfi-visual-options.php:411
275
  msgid "Picture title or (if title not available) alt attribute"
276
  msgstr ""
277
 
278
- #: includes\admin\class-jpibfi-visual-options.php:413
279
  msgid "Site title (Settings->General)"
280
  msgstr ""
281
 
282
- #: includes\admin\class-jpibfi-visual-options.php:415
283
  msgid "Image description"
284
  msgstr ""
285
 
286
- #: includes\admin\class-jpibfi-visual-options.php:417
287
  msgid "Image alt attribute"
288
  msgstr ""
289
 
290
- #: includes\admin\class-jpibfi-visual-options.php:443
291
  msgid "Always link to individual post page"
292
  msgstr ""
293
 
294
- #: includes\admin\class-jpibfi-visual-options.php:463
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
295
  msgid "Choose transparency (between %.02f and %.02f)"
296
  msgstr ""
297
 
298
- #: includes\admin\class-jpibfi-visual-options.php:499
299
  msgid "Use custom image"
300
  msgstr ""
301
 
302
- #: includes\admin\class-jpibfi-visual-options.php:505
303
  msgid "Upload an image using media library"
304
  msgstr ""
305
 
306
- #: includes\admin\class-jpibfi-visual-options.php:511
307
  msgid "URL address of the image"
308
  msgstr ""
309
 
310
- #: includes\admin\class-jpibfi-visual-options.php:549
311
  msgid "Custom Pin It button preview"
312
  msgstr ""
313
 
314
- #: includes\admin\class-jpibfi-visual-options.php:557
315
  msgid "Refresh preview"
316
  msgstr ""
317
 
318
- #: includes\admin\class-jpibfi-visual-options.php:583
319
  msgid "Top right"
320
  msgstr ""
321
 
322
- #: includes\admin\class-jpibfi-visual-options.php:585
323
  msgid "Bottom left"
324
  msgstr ""
325
 
326
- #: includes\admin\class-jpibfi-visual-options.php:629
327
  msgid "Top"
328
  msgstr ""
329
 
330
- #: includes\admin\class-jpibfi-visual-options.php:633
331
  msgid "Bottom"
332
  msgstr ""
333
 
334
- #: includes\admin\class-jpibfi-visual-options.php:637
335
  msgid "Left"
336
  msgstr ""
337
 
338
- #: includes\admin\class-jpibfi-visual-options.php:641
339
  msgid "Right"
340
  msgstr ""
341
 
342
- #: includes\admin\class-jpibfi-visual-options.php:667
343
  msgid "Optimize for high pixel density displays"
344
  msgstr ""
345
 
346
- #: includes\admin\class-jpibfi-visual-options.php:701
347
- msgid "Transparency value must be a number between %.02d and %.02f."
348
- msgstr ""
349
-
350
- #: includes\admin\class-jpibfi-visual-options.php:717
351
  msgid "Custom image height"
352
  msgstr ""
353
 
354
- #: includes\admin\class-jpibfi-visual-options.php:721
355
  msgid "Custom image width"
356
  msgstr ""
357
 
 
 
 
 
358
  #: includes\admin\views\admin.php:11
359
  msgid "jQuery Pin It Button For Images Options"
360
  msgstr ""
15
  "X-Poedit-SearchPathExcluded-0: *.js\n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n\n"
17
 
18
+ #: includes\admin\class-jpibfi-admin.php:157, includes\admin\class-jpibfi-selection-options.php:121
19
  msgid "Selection"
20
  msgstr ""
21
 
22
+ #: includes\admin\class-jpibfi-admin.php:167, includes\admin\class-jpibfi-visual-options.php:147
23
  msgid "Visual"
24
  msgstr ""
25
 
26
+ #: includes\admin\class-jpibfi-admin.php:177
27
  msgid "Advanced"
28
  msgstr ""
29
 
30
+ #: includes\admin\class-jpibfi-admin.php:217, jquery-pin-it-button-for-images.php:131
31
  msgid "Settings"
32
  msgstr ""
33
 
34
+ #: includes\admin\class-jpibfi-admin.php:253
35
  msgid "Disable \"Pin it\" button for this post (works only on single pages/posts)"
36
  msgstr ""
37
 
38
+ #: includes\admin\class-jpibfi-admin.php:323
39
  msgid "jQuery Pin It Button for Images Pro is coming soon. Click <a target=\"_blank\" href=\"%s\">here</a> to learn more."
40
  msgstr ""
41
 
143
  msgid "Blog pages"
144
  msgstr ""
145
 
146
+ #: includes\admin\class-jpibfi-selection-options.php:455, includes\admin\class-jpibfi-visual-options.php:575
147
  msgid "Height"
148
  msgstr ""
149
 
150
+ #: includes\admin\class-jpibfi-selection-options.php:469, includes\admin\class-jpibfi-visual-options.php:589
151
  msgid "Width"
152
  msgstr ""
153
 
163
  msgid "Minimum image width"
164
  msgstr ""
165
 
166
+ #: includes\admin\class-jpibfi-selection-options.php:561, includes\admin\class-jpibfi-visual-options.php:767
167
  msgid "value must be a number greater or equal to %d."
168
  msgstr ""
169
 
170
+ #: includes\admin\class-jpibfi-visual-options.php:161
171
  msgid "Show button"
172
  msgstr ""
173
 
174
+ #: includes\admin\class-jpibfi-visual-options.php:171
175
  msgid "When the \"Pin it\" button should be visible."
176
  msgstr ""
177
 
178
+ #: includes\admin\class-jpibfi-visual-options.php:183
179
  msgid "Description source"
180
  msgstr ""
181
 
182
+ #: includes\admin\class-jpibfi-visual-options.php:193
183
  msgid "From where the Pinterest message should be taken. Please note that \"Image description\" works properly only for images that were added to your Media Library."
184
  msgstr ""
185
 
186
+ #: includes\admin\class-jpibfi-visual-options.php:205
187
  msgid "Linked page"
188
  msgstr ""
189
 
190
+ #: includes\admin\class-jpibfi-visual-options.php:215
191
  msgid "When checked, the link on Pinterest will always point to the individual page with the image and title of this individual page will be used if you've selected Title as the description source, even when the image was pinned on an archive page, category page or homepage. If false, the link will point to the URL the user is currently on."
192
  msgstr ""
193
 
194
+ #: includes\admin\class-jpibfi-visual-options.php:227
195
+ msgid "Pin linked images"
196
+ msgstr ""
197
+
198
+ #: includes\admin\class-jpibfi-visual-options.php:247
199
  msgid "Transparency value"
200
  msgstr ""
201
 
202
+ #: includes\admin\class-jpibfi-visual-options.php:257
203
  msgid "This setting sets the transparency of the image."
204
  msgstr ""
205
 
206
+ #: includes\admin\class-jpibfi-visual-options.php:269
207
  msgid "Custom \"Pin It\" button"
208
  msgstr ""
209
 
210
+ #: includes\admin\class-jpibfi-visual-options.php:279
211
  msgid "Check the <b>Use custom image</b> checkbox, specify image's URL, height and width to use your own Pinterest button design. You can just upload an image using Wordpress media library if you wish."
212
  msgstr ""
213
 
214
+ #: includes\admin\class-jpibfi-visual-options.php:291
215
  msgid "\"Pin it\" button position"
216
  msgstr ""
217
 
218
+ #: includes\admin\class-jpibfi-visual-options.php:301
219
  msgid "Where the \"Pin it\" button should appear on the image."
220
  msgstr ""
221
 
222
+ #: includes\admin\class-jpibfi-visual-options.php:313
223
  msgid "\"Pin it\" button margins"
224
  msgstr ""
225
 
226
+ #: includes\admin\class-jpibfi-visual-options.php:323
227
  msgid "Margins are used to adjust the position of the \"Pin it\" button, but not all margins are used on all button positions. Here is an example. If you're using the \"%s\" position, the button's position will be affected only by top and left margins. Bottom and right margins affect \"%s\" position, etc. The \"%s\" position does not use any margins at all."
228
  msgstr ""
229
 
230
+ #: includes\admin\class-jpibfi-visual-options.php:325, includes\admin\class-jpibfi-visual-options.php:635
231
  msgid "Top left"
232
  msgstr ""
233
 
234
+ #: includes\admin\class-jpibfi-visual-options.php:327, includes\admin\class-jpibfi-visual-options.php:641
235
  msgid "Bottom right"
236
  msgstr ""
237
 
238
+ #: includes\admin\class-jpibfi-visual-options.php:329, includes\admin\class-jpibfi-visual-options.php:643
239
  msgid "Middle"
240
  msgstr ""
241
 
242
+ #: includes\admin\class-jpibfi-visual-options.php:343
243
  msgid "Retina friendly"
244
  msgstr ""
245
 
246
+ #: includes\admin\class-jpibfi-visual-options.php:353
247
  msgid "Please note that checking this option will result in rendering the \"Pin it\" button half of its normal size (if you use a 80x60 image, the button will be 40x30). When uploading a custom \"Pin it\" button (the default one is too small), please make sure both width and height are even numbers (i.e. divisible by two) when using this option."
248
  msgstr ""
249
 
250
+ #: includes\admin\class-jpibfi-visual-options.php:377
251
  msgid "How it should look like"
252
  msgstr ""
253
 
254
+ #: includes\admin\class-jpibfi-visual-options.php:393
255
  msgid "On hover"
256
  msgstr ""
257
 
258
+ #: includes\admin\class-jpibfi-visual-options.php:395
259
  msgid "Always on touch devices"
260
  msgstr ""
261
 
262
+ #: includes\admin\class-jpibfi-visual-options.php:397
263
  msgid "Always"
264
  msgstr ""
265
 
266
+ #: includes\admin\class-jpibfi-visual-options.php:407
267
  msgid "This feature is disabled in this version of the plugin. Consider buying <a target=\"_blank\" href=\"%s\">the PRO version</a>."
268
  msgstr ""
269
 
270
+ #: includes\admin\class-jpibfi-visual-options.php:433
271
  msgid "Page title"
272
  msgstr ""
273
 
274
+ #: includes\admin\class-jpibfi-visual-options.php:435
275
  msgid "Page description"
276
  msgstr ""
277
 
278
+ #: includes\admin\class-jpibfi-visual-options.php:437
279
  msgid "Picture title or (if title not available) alt attribute"
280
  msgstr ""
281
 
282
+ #: includes\admin\class-jpibfi-visual-options.php:439
283
  msgid "Site title (Settings->General)"
284
  msgstr ""
285
 
286
+ #: includes\admin\class-jpibfi-visual-options.php:441
287
  msgid "Image description"
288
  msgstr ""
289
 
290
+ #: includes\admin\class-jpibfi-visual-options.php:443
291
  msgid "Image alt attribute"
292
  msgstr ""
293
 
294
+ #: includes\admin\class-jpibfi-visual-options.php:469
295
  msgid "Always link to individual post page"
296
  msgstr ""
297
 
298
+ #: includes\admin\class-jpibfi-visual-options.php:493
299
+ msgid "Active"
300
+ msgstr ""
301
+
302
+ #: includes\admin\class-jpibfi-visual-options.php:495
303
+ msgid "When checked, pins full-sized images instead of thumbnails (works only if you link thumbnails to their full versions)."
304
+ msgstr ""
305
+
306
+ #: includes\admin\class-jpibfi-visual-options.php:497
307
+ msgid "File extensions to use"
308
+ msgstr ""
309
+
310
+ #: includes\admin\class-jpibfi-visual-options.php:501
311
+ msgid "Leaving this empty means files of any extension will be used (also those without any extension). If you want to use only files of specific extension(s), type those file extensions here (separated by commas)."
312
+ msgstr ""
313
+
314
+ #: includes\admin\class-jpibfi-visual-options.php:517
315
  msgid "Choose transparency (between %.02f and %.02f)"
316
  msgstr ""
317
 
318
+ #: includes\admin\class-jpibfi-visual-options.php:553
319
  msgid "Use custom image"
320
  msgstr ""
321
 
322
+ #: includes\admin\class-jpibfi-visual-options.php:559
323
  msgid "Upload an image using media library"
324
  msgstr ""
325
 
326
+ #: includes\admin\class-jpibfi-visual-options.php:565
327
  msgid "URL address of the image"
328
  msgstr ""
329
 
330
+ #: includes\admin\class-jpibfi-visual-options.php:603
331
  msgid "Custom Pin It button preview"
332
  msgstr ""
333
 
334
+ #: includes\admin\class-jpibfi-visual-options.php:611
335
  msgid "Refresh preview"
336
  msgstr ""
337
 
338
+ #: includes\admin\class-jpibfi-visual-options.php:637
339
  msgid "Top right"
340
  msgstr ""
341
 
342
+ #: includes\admin\class-jpibfi-visual-options.php:639
343
  msgid "Bottom left"
344
  msgstr ""
345
 
346
+ #: includes\admin\class-jpibfi-visual-options.php:683
347
  msgid "Top"
348
  msgstr ""
349
 
350
+ #: includes\admin\class-jpibfi-visual-options.php:687
351
  msgid "Bottom"
352
  msgstr ""
353
 
354
+ #: includes\admin\class-jpibfi-visual-options.php:691
355
  msgid "Left"
356
  msgstr ""
357
 
358
+ #: includes\admin\class-jpibfi-visual-options.php:695
359
  msgid "Right"
360
  msgstr ""
361
 
362
+ #: includes\admin\class-jpibfi-visual-options.php:721
363
  msgid "Optimize for high pixel density displays"
364
  msgstr ""
365
 
366
+ #: includes\admin\class-jpibfi-visual-options.php:751
 
 
 
 
367
  msgid "Custom image height"
368
  msgstr ""
369
 
370
+ #: includes\admin\class-jpibfi-visual-options.php:755
371
  msgid "Custom image width"
372
  msgstr ""
373
 
374
+ #: includes\admin\class-jpibfi-visual-options.php:787
375
+ msgid "Transparency value must be a number between %.02d and %.02f."
376
+ msgstr ""
377
+
378
  #: includes\admin\views\admin.php:11
379
  msgid "jQuery Pin It Button For Images Options"
380
  msgstr ""
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: mrsztuczkens, redearthdesign, brocheafoin, robertark
3
  Tags: pinterest, pin it, button, image, images, pinit, social media, hover, click, photo, photos
4
  Requires at least: 3.3.0
5
  Tested up to: 4.4.2
6
- Stable tag: 1.42
7
  License: GPLv2 or later
8
 
9
  Highlights images on hover and adds a Pinterest "Pin It" button over them for easy pinning.
@@ -13,7 +13,7 @@ If you're looking for an easy way to pin images in your blog posts and pages, th
13
 
14
  The plugin allows you to:
15
 
16
- * choose from where the description should be taken (possible options: page title, page description and alt/title tags from the image)
17
  * choose which pictures shouldn't show the "Pin it" button (using classes)
18
  * choose which pictures should show the "Pin it" button (all images, post images, images with certain class(es))
19
  * choose if you want to show the "Pin it" button on home page, single posts, single pages or category pages
@@ -21,25 +21,18 @@ The plugin allows you to:
21
  * choose transparency level depending on your needs
22
  * use your own Pinterest button design
23
 
24
- Once you activate the plugin, it's ready to go with the typical settings - button appears on all images within the body of your posts/pages that aren't marked with "nopin" or "wp-smiley" classes.
25
 
26
- **Translators**
 
27
 
 
28
  - Spanish (es_ES) - Andrew Kurtis [WebHostingHub](http://www.webhostinghub.com/)
29
 
30
- **Please report any bugs (or feature requests) in the plugin's support forum.**
31
-
32
- Check out the new features in the Changelog.
33
-
34
- Please note that the plugin doesn't work if the user has Javascript disabled.
35
-
36
  If you want to learn more about the plugin, visit its website: http://mrsztuczkens.me/jpibfi/
37
 
38
- Please consider donating any spare change to help me work on this plugin more. Donations can be made at: http://bit.ly/Uw2mEP
39
-
40
  (This plugin is not related to or endorsed by Pinterest or its affiliates)
41
 
42
-
43
  == Installation ==
44
 
45
  1. Upload the folder to the `/wp-content/plugins/` directory
@@ -75,6 +68,11 @@ Please report them in the plugin's support forum on Wordpress.org.
75
 
76
  == Changelog ==
77
 
 
 
 
 
 
78
  = 1.42 =
79
  * Release 2016-03-08
80
  * Lots of backend enhancements
@@ -234,6 +232,9 @@ Please report them in the plugin's support forum on Wordpress.org.
234
 
235
  == Upgrade Notice ==
236
 
 
 
 
237
  = 1.42 =
238
  Minor code improvements.
239
 
3
  Tags: pinterest, pin it, button, image, images, pinit, social media, hover, click, photo, photos
4
  Requires at least: 3.3.0
5
  Tested up to: 4.4.2
6
+ Stable tag: 1.50
7
  License: GPLv2 or later
8
 
9
  Highlights images on hover and adds a Pinterest "Pin It" button over them for easy pinning.
13
 
14
  The plugin allows you to:
15
 
16
+ * choose from where the pin description should be taken
17
  * choose which pictures shouldn't show the "Pin it" button (using classes)
18
  * choose which pictures should show the "Pin it" button (all images, post images, images with certain class(es))
19
  * choose if you want to show the "Pin it" button on home page, single posts, single pages or category pages
21
  * choose transparency level depending on your needs
22
  * use your own Pinterest button design
23
 
24
+ Once you activate the plugin, it's ready to go with the default settings - button appears on all images within the body of your posts/pages that aren't marked with "nopin" or "wp-smiley" classes.
25
 
26
+ > <strong>jQuery Pin It Button For Images Pro</strong><br>
27
+ > jQuery Pin It Button For Images Pro is coming with a full support for tocuh devices. Check out http://mrsztuczkens.me/jpibfi-pro/
28
 
29
+ **Translators**
30
  - Spanish (es_ES) - Andrew Kurtis [WebHostingHub](http://www.webhostinghub.com/)
31
 
 
 
 
 
 
 
32
  If you want to learn more about the plugin, visit its website: http://mrsztuczkens.me/jpibfi/
33
 
 
 
34
  (This plugin is not related to or endorsed by Pinterest or its affiliates)
35
 
 
36
  == Installation ==
37
 
38
  1. Upload the folder to the `/wp-content/plugins/` directory
68
 
69
  == Changelog ==
70
 
71
+ = 1.50 =
72
+ * Release 2016-03-13
73
+ * Feature: Support for infinite scroll-like plugins
74
+ * Feature: Moved Pin Full Images from a separate plugin into jQuery Pin It Button For Images
75
+
76
  = 1.42 =
77
  * Release 2016-03-08
78
  * Lots of backend enhancements
232
 
233
  == Upgrade Notice ==
234
 
235
+ = 1.50 =
236
+ Added support for infinite scroll-like plugins and merged Pin Full Images into the plugin.
237
+
238
  = 1.42 =
239
  Minor code improvements.
240