From 4d857c4be724be413ce235d280baf21c905bee27 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 11 Apr 2022 21:09:01 +0200 Subject: [PATCH 1/2] [ticket/16967] Deprecate PHP in templates PHPBB3-16967 --- phpBB/docs/coding-guidelines.html | 1 + 1 file changed, 1 insertion(+) diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html index 7843702659..19f005b66b 100644 --- a/phpBB/docs/coding-guidelines.html +++ b/phpBB/docs/coding-guidelines.html @@ -1304,6 +1304,7 @@ parent = prosilver

PHP

+

The use of PHP in HTML files has been deprected in phpBB 3.3 and will be removed in phpBB 4.0.

A contentious decision has seen the ability to include PHP within the template introduced. This is achieved by enclosing the PHP within relevant tags:


From 33af6d0f0a5987635c6b405f5bef79633f2c5dec Mon Sep 17 00:00:00 2001
From: Marc Alexander 
Date: Wed, 13 Apr 2022 20:33:09 +0200
Subject: [PATCH 2/2] [ticket/16967] Fix typo

PHPBB3-16967
---
 phpBB/docs/coding-guidelines.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html
index 19f005b66b..76fb886ffe 100644
--- a/phpBB/docs/coding-guidelines.html
+++ b/phpBB/docs/coding-guidelines.html
@@ -1304,7 +1304,7 @@ parent = prosilver

PHP

-

The use of PHP in HTML files has been deprected in phpBB 3.3 and will be removed in phpBB 4.0.

+

The use of PHP in HTML files has been deprecated in phpBB 3.3 and will be removed in phpBB 4.0.

A contentious decision has seen the ability to include PHP within the template introduced. This is achieved by enclosing the PHP within relevant tags: