Topic: [not bug] Bad hd_visit_elements hook location in header.php
In header.php, the hd_visit_elements hook is located on line 206 BEFORE the declaration of $visit_elements['<!-- forum_visit -->'] (on line 208).
It causes an error when using extensions like pun_pm who extends the content of $visit_elements['<!-- forum_visit -->'].
The error is gone when the hook is moved after the variable declaration.
In the 1.3.6 version of header.php, the hook was after the variable declaration.
So I assume the new location of the hook is really an error in the code of PunBB 1.4 ?