Making Custom Status Public
-
Hello, I am having some problems with the recent update. I had the following code in place to make my custom status public, however, with the new update this is causing major site problems
function alt_post_status() { global $post; global $wp_post_statuses; $wp_post_statuses['holding']->public = true; } add_action( 'init', 'alt_post_status' );
I get an error inside of wp-admin/includes/class-wp-posts-list-table.php on line 149 when I put it in now. And all of the post lists in the admin area don’t appear. Any ideas? Or maybe is there a way to put in the old version for now? or different code to make my posts public?
Thanks for your time
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Making Custom Status Public’ is closed to new replies.