我設計一個wordpress主題和我使用的是plugin that validates the themePHP短標記驗證的wordpress主題
驗證後,我有很多的錯誤;
WARNING: Found PHP short tags in file header.php.
Line 25: <?PHP if ($topbaronoff == 'on'): ?>
Line 27: <?PHP if ($topmenuonoff == 'on'): ?>
Line 32: <?PHP endif; ?>
我引認爲PHP的短標籤是像下面
<? if ($topbaronoff == 'on'): ?>
而你的問題是...什麼? – 2014-10-06 12:29:57
你不能把標籤設置爲小寫嗎? ''? – rikpg 2014-10-06 12:30:58
基本上我是對還是錯?如果我錯了任何想法爲什麼這些導致錯誤? (在驗證中) – thenashone 2014-10-06 12:31:01