WP 3.8.1
Posts Categories:
"Invalid Post Type" example:
Posts => Filter by "Press Release" + checkmark ALL + Edit + Apply + I change the author name + Apply:
wp-admin/edit.php?s=&post_status=all&post_type=Array
I basically want to change all Press Release author names. That's it. But I keep getting "Invalid Post Type" error.
WP 3.8.1
Posts Categories:
"Invalid Post Type" example:
Posts => Filter by "Press Release" + checkmark ALL + Edit + Apply + I change the author name + Apply:
wp-admin/edit.php?s=&post_status=all&post_type=Array
I basically want to change all Press Release author names. That's it. But I keep getting "Invalid Post Type" error.
I've found a solution for me. A function from my functions.php file was in conflict with my filter admin.
I had to find where was my error, for that I just cut and paste my function one by one and test again and gain till I found my conflict function.
In my case I had to put my function in a conditional tag:
if(!is_admin()){
//Your conflict function
}
So Your function will be executed only on the theme and not in your admin.
array
as if it were a string. I have a hard time believing that Core code is doing that. – s_ha_dum Commented Mar 3, 2014 at 18:17