[wp-trac] [WordPress Trac] #14330: Improper handling of 'post_type[]=' like parameters
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 13 15:02:32 UTC 2010
#14330: Improper handling of 'post_type[]=' like parameters
------------------------------+---------------------------------------------
Reporter: loushou | Owner: loushou
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.1
Component: Query | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+---------------------------------------------
Changes (by nacin):
* status: closed => reopened
* resolution: fixed =>
Comment:
Add an Image popup > Media Library tab:
{{{
Catchable fatal error: Object of class stdClass could not be converted to
string in /Users/nacin/Sites/3.1/wp-includes/classes.php on line 284
Call Stack:
0.0005 689064 1. {main}() /Users/nacin/Sites/3.1/wp-admin/media-
upload.php:0
0.4897 28972104 2. do_action() /Users/nacin/Sites/3.1/wp-admin
/media-upload.php:120
0.4897 28973624 3. call_user_func_array() /Users/nacin/Sites/3.1
/wp-includes/plugin.php:395
0.4897 28973656 4. media_upload_library() /Users/nacin/Sites/3.1
/wp-includes/plugin.php:0
0.4897 28973968 5. wp_iframe() /Users/nacin/Sites/3.1/wp-
admin/includes/media.php:752
0.4980 29005416 6. call_user_func_array() /Users/nacin/Sites/3.1
/wp-admin/includes/media.php:338
0.4980 29005752 7. media_upload_library_form()
/Users/nacin/Sites/3.1/wp-admin/includes/media.php:0
0.5679 29142016 8. wp_edit_attachments_query()
/Users/nacin/Sites/3.1/wp-admin/includes/media.php:1846
0.5689 29150032 9. wp() /Users/nacin/Sites/3.1/wp-
admin/includes/post.php:923
0.5689 29150080 10. WP->main() /Users/nacin/Sites/3.1/wp-
includes/functions.php:1512
0.5689 29150080 11. WP->parse_request() /Users/nacin/Sites/3.1/wp-
includes/classes.php:519
}}}
The object is a post object of the first image in the library.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14330#comment:25>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list