[wp-trac] [WordPress Trac] #22679: Ensure that unattached images inserted from media library get pretty url directly

WordPress Trac noreply at wordpress.org
Sun Dec 2 11:24:19 UTC 2012


#22679: Ensure that unattached images inserted from media library get pretty url
directly
-----------------------------+-------------------------
 Reporter:  jond3r           |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Media
  Version:  trunk            |   Severity:  normal
 Keywords:  has-patch        |
-----------------------------+-------------------------
 When inserting an unattached image (with no parent) from the media library
 and setting the "Link To" option to "Attachment page", the URL at first
 gets the default query string format (with a '?'). Though after updating
 the post it gets the final "pretty" format (which seems to happen in the
 function _fix_attachment_links() in wp-admin/includes/post.php).
 The provided patch, gives the URL the final pretty format directly.
 See also #22085.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22679>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list