google-code-export / wordpress-custom-content-type-manager

Automatically exported from code.google.com/p/wordpress-custom-content-type-manager
2 stars 1 forks source link

Repeatable Image Field: PHP Warning #547

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Create new repeatable image field
2. Associate it with a post type
3. Create a new post using that post type
4. Add an image.  You get an error message like the following:

Warning: implode(): Invalid arguments passed in 
...wp-content/plugins/custom-content-type-manager/views/templates/thickbox.php 
on line 33 

0.9.7.13

Original issue reported on code.google.com by ever...@fireproofsocks.com on 20 Mar 2014 at 7:22

GoogleCodeExporter commented 9 years ago
In views/templates/thickbox.php change line 33 to this:

<input type="hidden" name="exclude" id="exclude" value="<?php print 
(is_array($data['exclude'])) ? implode(',',$data['exclude']): ''; ?>" />

Committed revision 878970.

Original comment by ever...@fireproofsocks.com on 20 Mar 2014 at 7:25

GoogleCodeExporter commented 9 years ago
Hi!
This appears still in the newest version and has not this fix applied. Do you 
know when you are planning to release new version?

Original comment by tuomas.v...@gmail.com on 3 Feb 2015 at 11:53

GoogleCodeExporter commented 9 years ago
Which version are you using?  Can you paste the info from the info page?

Original comment by ever...@fireproofsocks.com on 3 Feb 2015 at 3:42