[wp-trac] [WordPress Trac] #23964: Link url in Post Format Image doesn't link

WordPress Trac noreply at wordpress.org
Tue Apr 9 18:24:12 UTC 2013


#23964: Link url in Post Format Image doesn't link
--------------------------+--------------------
 Reporter:  RDall         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.6
Component:  Post Formats  |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------
Changes (by wonderboymusic):

 * keywords:  needs-patch => has-patch


Comment:

 [attachment:23964.diff 23964.diff] fixes this.
 `get_the_post_format_image()` now returns a linked image whenever the
 `_wp_format_url` value is un-empty. Image selected via the modal, image
 HTML inserted into the editor, image attached to the post: all work.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23964#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list