Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 8 months ago

#5 closed enhancement (wontfix)

Smarty/other templating language

Reported by: batkiwi Owned by: matt
Milestone: Priority: normal
Severity: normal Version:
Component: Template Keywords:
Focuses: Cc:


It'd be great to have smarty or some other templating language rather than straight PHP for the index. It would have several benefits IMO:
-less possibility of messing things up horribly
-safer for those offering hosting... can just give access to the .tpl file without worrying about command injection!
-cleaner syntax for non-programmers

Change History (7)

#2 @matt
17 years ago

  • Owner changed from anonymous to matt
  • Resolution changed from 10 to 90
  • Status changed from new to closed

This has been debated numerous times on the forums and elsewhere and the general consensus is that while Smarty is a fine framework for certain types of projects it is ill-suited to the goals of WordPress.

This ticket was mentioned in PR #500 on WordPress/wordpress-develop by jorgefilipecosta.

8 months ago

  • Keywords has-patch added

The following package versions were changed:
@wordpress/block-directory: 1.13.6 -> 1.13.7
@wordpress/block-editor: 4.3.6 -> 4.3.7
@wordpress/block-library: 2.22.6 -> 2.22.7
@wordpress/components: 10.0.5 -> 10.0.6
@wordpress/edit-post: 3.21.6 -> 3.21.7
@wordpress/editor: 9.20.6 -> 9.20.7
@wordpress/format-library: 1.22.6 -> 1.22.7
@wordpress/list-reusable-blocks: 1.21.5 -> 1.21.6
@wordpress/nux: 3.20.5 -> 3.20.6
@wordpress/server-side-render: 1.16.5 -> 1.16.6

Updates packages with the backport of changes in the editor that will be part of 5.5.1.

#6 @johnbillion
8 months ago

  • Keywords has-patch removed

#7 @prbot
8 months ago

desrosj commented on PR #500:

This looks good! But committing/merging needs to happen on Trac/SVN. Closing this in favor of Trac-51151.

Note: See TracTickets for help on using tickets.