[wp-trac] [WordPress Trac] #32469: Create wp-include/views directory

WordPress Trac noreply at wordpress.org
Sat May 23 02:06:17 UTC 2015


#32469: Create wp-include/views directory
-------------------------+------------------------------
 Reporter:  jacobsantos  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  template
-------------------------+------------------------------

Comment (by jacobsantos):

 Also, some methods and functions echo, which is also bad, since now you
 have an output issue.

 I would also recommend modifications to the core contributor handbook with
 the suggestion that views are added to the directory and referenced using
 the helper function.

 It would also be nice to have a **wp-admin/includes/views** or **wp-
 admin/views** for wp-admin as well, but I'm more worried about wp-includes
 and wp-admin is a bit more advanced with how view refactoring should be
 handled.

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


More information about the wp-trac mailing list