philwareham/txp-h5bp-theme — Issue #14: PHP tags and Textpattern's security settings
Author: gocom
Created: 2011-12-16 21:36:06+00:00
State: open

Textpattern provides an option for turning PHP support off. If PHP is turned off, blocks in the theme will not work, and will generate notices when site is in debugging mode.

As the PHP snippets are basically only used for the copyright notices, the issue might be very simple to solve. Following options come to my mind;

* Removed altogether. Note differences in local laws, rights.
* Replaced with 2011- (year onwards).
* Or the date could be removed leaving only the symbol and site name.

Personally, I would just remove the copyright notice altogether, and leaving in place a comment describing the elements usage. This would change following;

©echo date('Y');

To;

Or using the year onwards;

© 2011-