Attachments - Version 1.6.2.1

Version Description

  • Fixed an issue with Handlebars in Firefox
  • Better handling of Attachment name
Download this release

Release Info

Developer jchristopher
Plugin Icon wp plugin Attachments
Version 1.6.2.1
Comparing to
See all releases

Code changes from version 1.6.2 to 1.6.2.1

Files changed (4) hide show
  1. attachments.php +2 -2
  2. js/attachments.js +1 -1
  3. js/handlebars.js +2 -3
  4. readme.txt +5 -1
attachments.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Attachments
4
  Plugin URI: http://mondaybynoon.com/wordpress-attachments/
5
  Description: Attachments gives the ability to append any number of Media Library items to Pages, Posts, and Custom Post Types
6
- Version: 1.6.2
7
  Author: Jonathan Christopher
8
  Author URI: http://mondaybynoon.com/
9
  */
@@ -31,7 +31,7 @@ if( !defined( 'IS_ADMIN' ) )
31
  define( 'IS_ADMIN', is_admin() );
32
 
33
  define( 'ATTACHMENTS_PREFIX', 'attachments_' );
34
- define( 'ATTACHMENTS_VERSION', '1.6.2' );
35
  define( 'ATTACHMENTS_URL', plugin_dir_url( __FILE__ ) );
36
  define( 'ATTACHMENTS_DIR', plugin_dir_path( __FILE__ ) );
37
 
3
  Plugin Name: Attachments
4
  Plugin URI: http://mondaybynoon.com/wordpress-attachments/
5
  Description: Attachments gives the ability to append any number of Media Library items to Pages, Posts, and Custom Post Types
6
+ Version: 1.6.2.1
7
  Author: Jonathan Christopher
8
  Author URI: http://mondaybynoon.com/
9
  */
31
  define( 'IS_ADMIN', is_admin() );
32
 
33
  define( 'ATTACHMENTS_PREFIX', 'attachments_' );
34
+ define( 'ATTACHMENTS_VERSION', '1.6.2.1' );
35
  define( 'ATTACHMENTS_URL', plugin_dir_url( __FILE__ ) );
36
  define( 'ATTACHMENTS_DIR', plugin_dir_path( __FILE__ ) );
37
 
js/attachments.js CHANGED
@@ -89,7 +89,7 @@ jQuery(document).ready(function($){
89
 
90
  var order = $('#attachments-list > ul > li').length + 1;
91
 
92
- $('div#attachments-list ul', top.document).append(template({title:title,caption:caption,id:id,thumb:thumb,order:order}));
93
 
94
  $('#attachments-list > ul > li').each(function(i, id) {
95
  $(this).find('input.attachment_order').val(i+1);
89
 
90
  var order = $('#attachments-list > ul > li').length + 1;
91
 
92
+ $('div#attachments-list ul', top.document).append(template({name:title,title:title,caption:caption,id:id,thumb:thumb,order:order}));
93
 
94
  $('#attachments-list > ul > li').each(function(i, id) {
95
  $(this).find('input.attachment_order').val(i+1);
js/handlebars.js CHANGED
@@ -1,6 +1,4 @@
1
- if(jQuery.isPlainObject(Handlebars)) {
2
- return;
3
- }
4
 
5
  // lib/handlebars/base.js
6
  var Handlebars = {};
@@ -1552,3 +1550,4 @@ Handlebars.VM = {
1552
 
1553
  Handlebars.template = Handlebars.VM.template;
1554
  ;
 
1
+ if(!jQuery.isPlainObject(Handlebars)) {
 
 
2
 
3
  // lib/handlebars/base.js
4
  var Handlebars = {};
1550
 
1551
  Handlebars.template = Handlebars.VM.template;
1552
  ;
1553
+ }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://mondaybynoon.com/donate/
4
  Tags: post, page, posts, pages, images, PDF, doc, Word, image, jpg, jpeg, picture, pictures, photos, attachment
5
  Requires at least: 3.0
6
  Tested up to: 3.4.1
7
- Stable tag: 1.6.2
8
 
9
  Attachments allows you to simply append any number of items from your WordPress Media Library to Posts, Pages, and Custom Post Types
10
 
@@ -46,6 +46,10 @@ Attachments uses WordPress' built in Media library for uploads and storage.
46
 
47
  == Changelog ==
48
 
 
 
 
 
49
  = 1.6.2 =
50
  * Fixed an issue when you both add and delete Attachments prior to saving posts
51
  * Cleaned up the JavaScript that powers the file browse interaction
4
  Tags: post, page, posts, pages, images, PDF, doc, Word, image, jpg, jpeg, picture, pictures, photos, attachment
5
  Requires at least: 3.0
6
  Tested up to: 3.4.1
7
+ Stable tag: 1.6.2.1
8
 
9
  Attachments allows you to simply append any number of items from your WordPress Media Library to Posts, Pages, and Custom Post Types
10
 
46
 
47
  == Changelog ==
48
 
49
+ = 1.6.2.1 =
50
+ * Fixed an issue with Handlebars in Firefox
51
+ * Better handling of Attachment name
52
+
53
  = 1.6.2 =
54
  * Fixed an issue when you both add and delete Attachments prior to saving posts
55
  * Cleaned up the JavaScript that powers the file browse interaction