Where p.post_status=’publish’ Problem
-
Hi, there is a few persons are working on our system as a content editor. For example Post is makin by level 1 content editor as DRAFT status and Level 2 editor coming and checking and Publish them. While The Re-Order staff is working on Re-order post part, If a post which is Published and if when post status changed as a draft and if Re-order staff working on re-order sort list, Tables are going crazy and data stores as a undefined. I checked Codes. Plugin request just ‘publish’ post and if list POSTED by second admin due to not in PUBLISHED post list to MYSQL, all post category of re-order list going rubish… It shouldn’t be. I mean WP is not just 1 person to work on system. there is lot of guy can work at same time on system.
To catch problem..
1- Just open any category which X POST in it… and keep screen, open a new tab and go X post, Change status as DRAFT… then come back re-order screen and just change position of any post. it seems ok. now go back again X post and changed status as a publish. when you refresh page of re-order list in admin or when you check on frontend, you will see list is not ordered and when you come back to see list in ADMIN you will see X post is now UNDEFINED and sort list not works. no action stores. you have to reset it. also if X post in multiple category… all category going Rubish
I’m tyring to change Logic but my JS part is not fair good to change JS engine thx.
The topic ‘Where p.post_status=’publish’ Problem’ is closed to new replies.