Skip to main content
10 events
when toggle format what by license comment
May 23, 2013 at 19:10 comment added Christine Cooper Gave it a test run, didn't work unfortunately. This time, no conditions were enforced. It didn't perform any checks.
May 23, 2013 at 19:02 comment added fuxia @ChristineCooper Done.
May 23, 2013 at 19:02 history edited fuxia CC BY-SA 3.0
deleted 2 characters in body
May 23, 2013 at 18:59 comment added Christine Cooper Where in the filter? Can you please update your answer.
May 23, 2013 at 18:57 comment added fuxia Then try $post_data->post_status in my second filter.
May 23, 2013 at 18:56 comment added Christine Cooper Didn't work I'm afraid. It displayed Fatal error: Cannot use object of type WP_Post as array in /functions.php on line 1627 on the post list page under the WyPiekacz Status column. Additionally, it stopped any other posts from displaying on the list. Strange!
May 23, 2013 at 18:48 comment added fuxia @ChristineCooper See my update. I am not sure if this works without side effects.
May 23, 2013 at 18:47 history edited fuxia CC BY-SA 3.0
added 554 characters in body
May 23, 2013 at 18:30 comment added Christine Cooper Just tested this on a pending post, it did not work unfortunately. It changed back to draft status upon rule break. Any other ideas toscho?
May 23, 2013 at 18:17 history answered fuxia CC BY-SA 3.0