[wp-trac] [WordPress Trac] #60229: HTML API: Introduce HTML Templating

WordPress Trac noreply at wordpress.org
Tue Feb 20 21:59:36 UTC 2024


#60229: HTML API: Introduce HTML Templating
-------------------------------------------------+-------------------------
 Reporter:  dmsnell                              |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:
Component:  HTML API                             |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note dev-feedback                              |
-------------------------------------------------+-------------------------

Comment (by peterwilsoncc):

 Rather than reviewing a pull request, I'd like to see much more discussion
 on whether this is necessary and something WordPress developers ought to
 maintain in to the future.

 With the introduction of the site editor, WordPress themes have moved away
 from PHP templates in favor of HTML files and JSON data. As more features
 are added to the site editor, the current need for PHP in some instances
 will be reduced further with dynamic blocks. A templating API will leave
 future core contributors having to maintain both the new and the old
 methods of escaping.

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


More information about the wp-trac mailing list