Changes between Version 1 and Version 2 of Ticket #30389, comment 1
- Timestamp:
- 11/18/2014 10:26:56 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30389, comment 1
v1 v2 1 1 I discovered it's being caused by a plugin that I wrote but here is the code for the plugin (slightly refactored). Obviously this code should do almost nothing as presented here. 2 2 3 Also it's important to note this bug ONLY happens on scheduled posts going to published, even though the code in the plugin only has to do with saving a post in general.3 Also it's important to note this bug ONLY happens on scheduled posts going to published, because this happens in wp_cron where the unfiltered_html permission doesn't exist for the guest user running the task. 4 4 {{{ 5 5 function do_the_save( $post_id ){