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

WordPress Trac noreply at wordpress.org
Mon Aug 12 01:00:40 UTC 2013


#16886: Adding readonly function to wp-includes/general-template.php
-------------------------+----------------------
 Reporter:  kakidcm      |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  General      |     Version:  3.1
 Severity:  minor        |  Resolution:  wontfix
 Keywords:               |
-------------------------+----------------------
Changes (by helen):

 * keywords:  needs-patch 2nd-opinion =>
 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Going to echo [comment:14:ticket:20110 azaozz's sentiment] on #20110:

 > Don't see a point in replacing simple HTML attributes with PHP functions
 that generate them. This type of functions would always need lots of args
 to be able to cover the more common cases which makes the code a lot
 harder to read. On top of that they usually don't cover all possible cases
 making them redundant.

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


More information about the wp-trac mailing list