[wp-trac] [WordPress Trac] #24212: Add missing inline docs for esc_attr_x() and esc_html_x()

WordPress Trac noreply at wordpress.org
Thu Sep 19 03:39:03 UTC 2013


#24212: Add missing inline docs for esc_attr_x() and esc_html_x()
--------------------------+-----------------------
 Reporter:  ocean90       |       Owner:  nacin
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.7
Component:  Inline Docs   |     Version:  2.8
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by ericlewis):

 In attachment:24212.4.diff:

 * Changed the description for any text domain variable passed around
 functions from "Unique identifier for retrieving translated strings." to
 just "Text domain." as well as all mentions of "domain" to "text domain".
 * Simplified @dimadin's short descriptions of esc_attr_x and esc_html_x -
 we don't need to know the string won't be translated if there is no
 translation or a domain is not supplied, that's implied behavior and not
 documented as such in the rest of the translation functions.

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


More information about the wp-trac mailing list