Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #9650


Ignore:
Timestamp:
04/26/2009 08:25:24 PM (16 years ago)
Author:
ryan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9650

    • Property Keywords security i18n added
    • Property Owner anonymous deleted
    • Property Component changed from General to Formatting
  • Ticket #9650 – Description

    initial v2  
    1 attribute_escape() is often forgotten on value attributes, especially on translated messages.  Maybe some shortcuts would improve adoption. Use esc() as shorthand for atribute_escape() and add _e_esc() and _t_esc() which run translations through attribute_escape(), thus avoiding the need to do this: echo attribute_escape( __('Translated string') )
     1attribute_escape() is often forgotten on value attributes, especially on translated messages.  Maybe some shortcuts would improve adoption. Use esc() as shorthand for atribute_escape() and add _e_esc() and _t_esc() which run translations through attribute_escape(), thus avoiding the need to do this: echo attribute_escape( !__('Translated string') )