[wp-trac] [WordPress Trac] #31842: Fix inline document: put the html in the variable before passing to the filter.

WordPress Trac noreply at wordpress.org
Wed Apr 1 17:02:01 UTC 2015


#31842: Fix inline document: put the html in the variable before passing to the
filter.
--------------------------+------------------------------
 Reporter:  ShinichiN     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.7
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:  docs
--------------------------+------------------------------
Changes (by DrewAPicture):

 * keywords:   => close
 * version:  trunk => 3.7


Comment:

 The filter line has been that way since [25570] when the title attribute
 was removed. The code wsan't changed when the hook doc was added in
 [27676], and I'm not sure why the locale code additions are needed.

 As for the string passed to the filter, it doesn't need to match the
 variable used in the DocBlock, that's there for documentation purposes
 only.

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


More information about the wp-trac mailing list