Post Thumbnail Editor - Version 2.4.5

Version Description

  • Fixed bug with post's media library
Download this release

Release Info

Developer sewpafly
Plugin Icon Post Thumbnail Editor
Version 2.4.5
Comparing to
See all releases

Code changes from version 2.4.4 to 2.4.5

README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: sewpafly
3
  Donate link: http://sewpafly.github.io/post-thumbnail-editor/#toc_donations
4
  Tags: post-thumbnail, post thumbnail, featured image, featured, editor, image, awesome, crop
5
  Requires at least: 4.1
6
- Tested up to: 4.1.x
7
  Stable tag: trunk
8
  License: GPLv2
9
 
@@ -75,6 +75,9 @@ If you want to post a problem on the [support forums][wp] or at [github][gh] ple
75
 
76
  == Changelog ==
77
 
 
 
 
78
  = 2.4.4 =
79
  * Fixed bug with debug mode and certain plugins
80
  * Updated French translation
@@ -189,6 +192,5 @@ If you want to post a problem on the [support forums][wp] or at [github][gh] ple
189
 
190
  == Upgrade Notice ==
191
 
192
- = 2.4.4 =
193
- * Updated french translation
194
- * Fixed debug mode bug
3
  Donate link: http://sewpafly.github.io/post-thumbnail-editor/#toc_donations
4
  Tags: post-thumbnail, post thumbnail, featured image, featured, editor, image, awesome, crop
5
  Requires at least: 4.1
6
+ Tested up to: 4.2.x
7
  Stable tag: trunk
8
  License: GPLv2
9
 
75
 
76
  == Changelog ==
77
 
78
+ = 2.4.5 =
79
+ * Fixed bug with post's media library
80
+
81
  = 2.4.4 =
82
  * Fixed bug with debug mode and certain plugins
83
  * Updated French translation
192
 
193
  == Upgrade Notice ==
194
 
195
+ = 2.4.5 =
196
+ * Fixed post media library bug
 
js/snippets/pte_enable_media.js CHANGED
@@ -81,7 +81,7 @@
81
  oldFeaturedImageFrame = $.proxy( wp.media.featuredImage.frame, wp.media.featuredImage );
82
  wp.media.featuredImage.frame = function() {
83
  var frame = oldFeaturedImageFrame()
84
- frame.setState('featured-image')
85
  return frame;
86
  }
87
 
81
  oldFeaturedImageFrame = $.proxy( wp.media.featuredImage.frame, wp.media.featuredImage );
82
  wp.media.featuredImage.frame = function() {
83
  var frame = oldFeaturedImageFrame()
84
+ frame.setState('library')
85
  return frame;
86
  }
87
 
post-thumbnail-editor.php CHANGED
@@ -4,7 +4,7 @@ Plugin name: Post Thumbnail Editor
4
  Plugin URI: http://sewpafly.github.io/post-thumbnail-editor/
5
  Author: sewpafly
6
  Author URI: http://sewpafly.github.io/post-thumbnail-editor/
7
- Version: 2.4.4
8
  Description: Individually manage your post thumbnails
9
 
10
  LICENSE
@@ -34,7 +34,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
34
  define( 'PTE_PLUGINURL', plugins_url(basename( dirname(__FILE__))) . "/");
35
  define( 'PTE_PLUGINPATH', dirname(__FILE__) . "/");
36
  define( 'PTE_DOMAIN', "post-thumbnail-editor");
37
- define( 'PTE_VERSION', "2.4.4");
38
 
39
  // TODO:
40
  // * Find the best place for the require log (only when it's really needed, create an init function?)
4
  Plugin URI: http://sewpafly.github.io/post-thumbnail-editor/
5
  Author: sewpafly
6
  Author URI: http://sewpafly.github.io/post-thumbnail-editor/
7
+ Version: 2.4.5
8
  Description: Individually manage your post thumbnails
9
 
10
  LICENSE
34
  define( 'PTE_PLUGINURL', plugins_url(basename( dirname(__FILE__))) . "/");
35
  define( 'PTE_PLUGINPATH', dirname(__FILE__) . "/");
36
  define( 'PTE_DOMAIN', "post-thumbnail-editor");
37
+ define( 'PTE_VERSION', "2.4.5");
38
 
39
  // TODO:
40
  // * Find the best place for the require log (only when it's really needed, create an init function?)