[wp-trac] [WordPress Trac] #22960: Add functions to extract images from content, attached to post, [gallery], or arbitrary string

WordPress Trac noreply at wordpress.org
Thu Mar 21 04:41:12 UTC 2013


#22960: Add functions to extract images from content, attached to post, [gallery],
or arbitrary string
-------------------------------------------------+-------------------------
 Reporter:  kcssm                                |       Owner:
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  3.6
Component:  Post Formats                         |     Version:  3.5
 Severity:  normal                               |  Resolution:
 Keywords:  needs-codex has-patch needs-unit-    |
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by wonderboymusic):

 Helen pointed at that we need to remove the `[caption]` for an image when
 we remove the `<img>`s in `get_content_images()` - updated patch does so,
 what a joy!

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


More information about the wp-trac mailing list