[wp-trac] [WordPress Trac] #29607: image_add_caption() returns immediately if caption empty, preventing filter from firing

WordPress Trac noreply at wordpress.org
Sat Sep 13 03:42:55 UTC 2014


#29607: image_add_caption() returns immediately if caption empty, preventing filter
from firing
-------------------------------------+------------------------------
 Reporter:  paulschreiber            |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Media                    |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |     Focuses:  administration
-------------------------------------+------------------------------
Changes (by collinsinternet):

 * keywords:   => needs-testing has-patch
 * type:  defect (bug) => enhancement
 * component:  General => Media


Comment:

 I've added a filter to the image_add_caption() function that filters the
 caption text.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29607#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list