Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #43316, comment 117


Ignore:
Timestamp:
10/18/2018 04:20:15 PM (8 years ago)
Author:
birgire

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43316, comment 117

    initial v1  
    33*For some reason the patch doesn't apply cleanly though on my install, I had to adjust the some files by hand.
    44
    5 I noticed a small typo in the filter's description for {{{$doung_autosave}}}:
     5I noticed a small typo in {{{$doung_autosave}}} -> {{{$doing_autosave}}} here:
    66
    77{{{
     
    1010}}}
    1111
     12in {{{wp_save_post_revision()}}}.
     13
    1214If this approach will be the workaround here, then it seems like a {{{wp_doing_autosave()}}} function would be useful to filter out other cases of {{{DOING_AUTOSAVE}}}, for consistency ?
    1315