[wp-trac] [WordPress Trac] #16886: Adding readonly function to wp-includes/general-template.php

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 18 19:39:30 UTC 2011


#16886: Adding readonly function to wp-includes/general-template.php
-------------------------+------------------------------
 Reporter:  kakidcm      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  3.1
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by hakre):

 The function name is overly broad, what about renaming the function to
 `output_html_readonly_attribute()`?

 Next to that what is the need of the aliasing here? You could do in your
 own plugin which would spare you the typing as well (or even better you
 can create a DSL and then even more easily write your code).

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


More information about the wp-trac mailing list