Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #13382, comment 13


Ignore:
Timestamp:
10/08/2015 01:22:51 AM (9 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13382, comment 13

    initial v1  
    66As far as I can see, not passing the post in all other instances was intentional, because the [source:trunk/src/wp-includes/revision.php?rev=34917&marks=64,65#L29 condition in line 64] is never satisfied now.
    77
    8 [attachment:13382.2.diff] just passes `$post` to the filter as is. The filter would still only once though, as per the ticket description.
     8[attachment:13382.2.diff] just passes `$post` to the filter as is. The filter would still only run once though, as per the ticket description.
    99
    1010Perhaps a new filter for the return value of the function should be introduced?