WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
03/19/12 23:39:41 (2 years ago)
Author:
ryan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13429, comment 48

    initial v1  
    1 azaozz and I chatted in IRC. We can lose _fix_attachment_links() entirely because it changes attachment links from attachment_id=xxx to the permalink version when the post is published. It could probably be reworked to run only when changing from draft to publish however.  As it is now it does an extra save every time a post with attachment links is saved. 
     1azaozz and I chatted in IRC. We cannot lose _fix_attachment_links() entirely because it changes attachment links from attachment_id=xxx to the permalink version when the post is published. It could probably be reworked to run only when changing from draft to publish however.  As it is now it does an extra save every time a post with attachment links is saved.