[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 11:42:54 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 needs-patch  |     Focuses:  administration
---------------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-testing has-patch => needs-testing needs-patch


Comment:

 The filter needs to be documented as per the
 [http://make.wordpress.org/core/handbook/inline-documentation-standards
 /php-documentation-standards/#4-hooks-actions-and-filters documentation
 standards].

 Also, please take a look at [http://make.wordpress.org/core/handbook
 /coding-standards/php/ WordPress coding standards], specifically the Space
 Usage section.

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


More information about the wp-trac mailing list