[wp-trac] [WordPress Trac] #36976: _fix_attachment_links() not called on publishing scheduled post
WordPress Trac
noreply at wordpress.org
Mon May 30 21:04:27 UTC 2016
#36976: _fix_attachment_links() not called on publishing scheduled post
---------------------------------------------+-----------------------------
Reporter: mariusveltan | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 4.5.2
Severity: normal | Keywords:
Focuses: ui, administration, performance |
---------------------------------------------+-----------------------------
I have the following test case:
0. Using WP 4.5.2 with pretty permalinks enabled
1. Open the post editor in order to add a new post and fill in the post
title
2. Hit Add Media and upload a new image for the new post; I have set the
image I just inserted to point to its corresponding attachment page. At
this point, the attachment link is of the format .../?attachment_id=...
3. Schedule the post for later publish and hit Schedule
4. On scheduled timeout, the post gets published => the image
corresponding attachment link still point to .../?attachment_id=...
5. In the post editor, I hit Update => the image corresponding attachment
link is finally pretty.
My expectation is that the pretty permalinks are automatically replaced at
scheduled publish for the attachment links referred within the post
content.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36976>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list