Changes between Initial Version and Version 1 of Ticket #27952, comment 6
- Timestamp:
- 06/08/2014 06:51:01 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27952, comment 6
initial v1 8 8 9 9 If this makes sense, I can write a new patch that keeps the post_delete hook in there and possibly updated the function to optionally take `$new_status` and `$old_status` params to test them before updating the count. 10 11 UPDATE: Hey, MidxCat, I'm at WordCamp Philly with Nacin and talking about this one. :) 12 13 I'm told `transition_post_status` will also fire if the status is "chaning" from "publish" to "publish". So we'll handle that case to NOT update the count if the status remains "publish". Working on a patch right now.