Should templates have access to core functions? #5424
Unanswered
rica-carv
asked this question in
Q&A Themes
Replies: 1 comment 1 reply
-
Yes, probably this is due to legacy reasons (backwards compatibility mostly). For new templates, definitely do not use this way as done in forum_icons_template.php but instead use And yes, the forum code is a huge mess indeed. That's why there's barely any updates. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For instance, the forum_icons_template.php has access to the core functions:
Shouldn't this better be donne via the
{GLYPH}
shortcode???Just asking, which would be the best practice here....
PS: I think the forum code needs a major overaull, but it's only my opinion....
There's a lot of messy code there, a lot of nested methods, duplicated sc, etc....
Beta Was this translation helpful? Give feedback.
All reactions