WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #13429, comment 49


Ignore:
Timestamp:
03/19/2012 11:46:03 PM (6 years ago)
Author:
ryan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13429, comment 49

    initial v1  
    1 Proposal: Call _fix_attachment_links in _transition_post_status() when transitioning to not published to published. Only rewrite attachment links of the form attachment_id=xxx. Drop the orphan checking code. Only re-save the post if a link was rewritten.
     1Proposal: Call _fix_attachment_links in _transition_post_status() when transitioning from not published to published. Only rewrite attachment links of the form attachment_id=xxx. Drop the orphan checking code. Only re-save the post if a link was rewritten.