[wp-trac] [WordPress Trac] #6648: wp_set_post_categories not
working properly
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 9 06:02:47 GMT 2008
#6648: wp_set_post_categories not working properly
-------------------------+--------------------------------------------------
Reporter: mjvillarejo | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: General | Version:
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
hi, i detected that the funcion doesn't work properly because it makes
from the array of categories, an array of numbers based on the 'intval'
function line ~1493 of posts.php,
$post_categories = array_map('intval', $post_categories);
to fix it, just comment the array_map line.
Regards,
MV
--
Ticket URL: <http://trac.wordpress.org/ticket/6648>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list