[wp-trac] [WordPress Trac] #54020: Add a filter to allow updating post without changing the modified dates
WordPress Trac
noreply at wordpress.org
Fri Aug 27 11:57:33 UTC 2021
#54020: Add a filter to allow updating post without changing the modified dates
-------------------------------------------------+-------------------------
Reporter: pbearne | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-unit-tests has-dev-note dev- | Focuses:
feedback has-patch |
-------------------------------------------------+-------------------------
Comment (by pbearne):
Replying to [comment:1 Ipstenu]:
> > this causes problems when trying to fix posts via batch/wp-cli type
operations
>
> What kind of problem? The post was modified, even if it was by a batch
job, so shouldn't it reflect that?
>
> (Note: This isn't for or against the idea, just ... what problem are we
actually solving?)
I have been working on a site where we have to need to fix few items like
add sponsored to the rel attr to links that provide referral income. The
client uses the modified date to order posts in the archives. So had to
use the workaround to control the dates which give the size of the made
very slow
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54020#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list