[wp-trac] [WordPress Trac] #10752: Uploading new media to existing posts/pages backdates file location
WordPress Trac
noreply at wordpress.org
Sat Oct 21 13:26:26 UTC 2017
#10752: Uploading new media to existing posts/pages backdates file location
--------------------------+---------------------
Reporter: dpie | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.9
Component: Media | Version: 2.8.4
Severity: minor | Resolution: fixed
Keywords: | Focuses:
--------------------------+---------------------
Changes (by pento):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"41964"]:
{{{
#!CommitTicketReference repository="" revision="41964"
Media: Don't backdate media uploaded to pages.
When media is uploaded to a post, the upload directory is set according to
the date of the post, so that the media URLs in the post match when the
post was published.
A page is a slightly different beast, pages often live for years, and are
regularly updated to stay relevant. This change causes media uploaded to
pages to use the upload date to determine the upload directory.
Fixes #10752.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/10752#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list