Version Description
- Released 2012-12-20
- Bug related to deleting and quick-editing posts fixed
Download this release
Release Info
Developer | mrsztuczkens |
Plugin | jQuery Pin It Button for Images |
Version | 0.7.1 |
Comparing to | |
See all releases |
Code changes from version 0.7 to 0.7.1
- jquery-pin-it-button-for-images.php +7 -4
- readme.txt +9 -2
jquery-pin-it-button-for-images.php
CHANGED
@@ -4,13 +4,13 @@
|
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/jquery-pin-it-button-for-images/
|
5 |
Description: Highlights images on hover and adds a "Pin It" button over them for easy pinning.
|
6 |
Author: Marcin Skrzypiec
|
7 |
-
Version: 0.7
|
8 |
Author URI: http://profiles.wordpress.org/mrsztuczkens
|
9 |
*/
|
10 |
|
11 |
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'jquery-pin-it-button-for-images.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Stop! Hammer time!'); //Plugin shouldn't be accessed directly
|
12 |
|
13 |
-
define("JPIBFI_VERSION", "0.7");
|
14 |
|
15 |
if (!class_exists("jQuery_Pin_It_Button_For_Images")) {
|
16 |
class jQuery_Pin_It_Button_For_Images {
|
@@ -396,9 +396,12 @@
|
|
396 |
// check if this isn't an auto save
|
397 |
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
|
398 |
return;
|
399 |
-
//
|
|
|
|
|
|
|
400 |
if ( !wp_verify_nonce( $_POST['jpibfi_nonce'], plugin_basename( __FILE__ ) ) )
|
401 |
-
|
402 |
|
403 |
$post_meta = array( 'jpibfi_disable_for_post' => '0' );
|
404 |
// now store data in custom fields based on checkboxes selected
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/jquery-pin-it-button-for-images/
|
5 |
Description: Highlights images on hover and adds a "Pin It" button over them for easy pinning.
|
6 |
Author: Marcin Skrzypiec
|
7 |
+
Version: 0.7.1
|
8 |
Author URI: http://profiles.wordpress.org/mrsztuczkens
|
9 |
*/
|
10 |
|
11 |
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'jquery-pin-it-button-for-images.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Stop! Hammer time!'); //Plugin shouldn't be accessed directly
|
12 |
|
13 |
+
define("JPIBFI_VERSION", "0.7.1");
|
14 |
|
15 |
if (!class_exists("jQuery_Pin_It_Button_For_Images")) {
|
16 |
class jQuery_Pin_It_Button_For_Images {
|
396 |
// check if this isn't an auto save
|
397 |
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
|
398 |
return;
|
399 |
+
//check user's permissions
|
400 |
+
if ( !current_user_can( 'edit_post', $post_id ) )
|
401 |
+
return;
|
402 |
+
// security check = updating possible only using post edit form
|
403 |
if ( !wp_verify_nonce( $_POST['jpibfi_nonce'], plugin_basename( __FILE__ ) ) )
|
404 |
+
return;
|
405 |
|
406 |
$post_meta = array( 'jpibfi_disable_for_post' => '0' );
|
407 |
// now store data in custom fields based on checkboxes selected
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://bit.ly/Uw2mEP
|
|
4 |
Tags: pinterest, pin it, button, image, images, pinit, social media, hover, click, photo, photos
|
5 |
Requires at least: 3.0.0
|
6 |
Tested up to: 3.5
|
7 |
-
Stable tag: 0.7
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Highlights images on hover and adds a Pinterest "Pin It" button over them for easy pinning.
|
@@ -62,6 +62,10 @@ Please report them in the plugin's support forum.
|
|
62 |
|
63 |
== Changelog ==
|
64 |
|
|
|
|
|
|
|
|
|
65 |
= 0.7 =
|
66 |
* Released 2012-12-18
|
67 |
* Feature: Ability to show or hide the "Pin it" button on home page, single page, single post and categories (with archives)
|
@@ -78,8 +82,11 @@ Please report them in the plugin's support forum.
|
|
78 |
|
79 |
== Upgrade Notice ==
|
80 |
|
|
|
|
|
|
|
81 |
= 0.7 =
|
82 |
-
Additional features and some security enhancments
|
83 |
|
84 |
= 0.5 =
|
85 |
First version of the plugin.
|
4 |
Tags: pinterest, pin it, button, image, images, pinit, social media, hover, click, photo, photos
|
5 |
Requires at least: 3.0.0
|
6 |
Tested up to: 3.5
|
7 |
+
Stable tag: 0.7.1
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Highlights images on hover and adds a Pinterest "Pin It" button over them for easy pinning.
|
62 |
|
63 |
== Changelog ==
|
64 |
|
65 |
+
= 0.7.1 =
|
66 |
+
* Released 2012-12-20
|
67 |
+
* Bug related to deleting and quick-editing posts fixed
|
68 |
+
|
69 |
= 0.7 =
|
70 |
* Released 2012-12-18
|
71 |
* Feature: Ability to show or hide the "Pin it" button on home page, single page, single post and categories (with archives)
|
82 |
|
83 |
== Upgrade Notice ==
|
84 |
|
85 |
+
= 0.7.1 =
|
86 |
+
Critical bug fix, please update.
|
87 |
+
|
88 |
= 0.7 =
|
89 |
+
Additional features and some security enhancments.
|
90 |
|
91 |
= 0.5 =
|
92 |
First version of the plugin.
|