Attachments - Version 1.5.3.2

Version Description

= 1.0.8 = As always, be sure to back up your database and files before upgrading.

= 1.0.7 = Attachments are now stored in such a way that removes an in-place limitation on string lengths for both titles and captions.

Download this release

Release Info

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

Code changes from version 1.5.3.1 to 1.5.3.2

Files changed (2) hide show
  1. attachments.php +3 -3
  2. readme.txt +4 -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.5.3.1
7
  Author: Jonathan Christopher
8
  Author URI: http://mondaybynoon.com/
9
  */
@@ -199,12 +199,12 @@ function attachments_meta_box()
199
  {
200
  $args = array(
201
  'public' => true,
202
- 'show_ui' => true,
203
- '_builtin' => true
204
  );
205
  $output = 'objects';
206
  $operator = 'and';
207
  $post_types = get_post_types( $args, $output, $operator );
 
208
  foreach($post_types as $post_type)
209
  {
210
  if (get_option('attachments_cpt_' . $post_type->name)=='true')
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.5.3.2
7
  Author: Jonathan Christopher
8
  Author URI: http://mondaybynoon.com/
9
  */
199
  {
200
  $args = array(
201
  'public' => true,
202
+ 'show_ui' => true
 
203
  );
204
  $output = 'objects';
205
  $operator = 'and';
206
  $post_types = get_post_types( $args, $output, $operator );
207
+
208
  foreach($post_types as $post_type)
209
  {
210
  if (get_option('attachments_cpt_' . $post_type->name)=='true')
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.2
7
- Stable tag: 1.5.3.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
 
@@ -44,6 +44,9 @@ Attachments uses WordPress' built in Media library for uploads and storage.
44
 
45
  == Changelog ==
46
 
 
 
 
47
  = 1.5.3.1 =
48
  * PHP warning cleanup
49
  * Settings now respect Custom Post Types that are set to show_ui
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.2
7
+ Stable tag: 1.5.3.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
 
44
 
45
  == Changelog ==
46
 
47
+ = 1.5.3.1 =
48
+ * Hotfix for an oversight where Attachments no longer display with Custom Post Types
49
+
50
  = 1.5.3.1 =
51
  * PHP warning cleanup
52
  * Settings now respect Custom Post Types that are set to show_ui