Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #30389, comment 1


Ignore:
Timestamp:
11/18/2014 10:26:56 PM (10 years ago)
Author:
uplink3r
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30389, comment 1

    v1 v2  
    11I 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.
    22
    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.
     3Also 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.
    44{{{
    55function do_the_save( $post_id ){