-
-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Labels
type: bugA problem that should not be happeningA problem that should not be happening
Description
What e107 version are you using?
Latest Github version (just updated)
Bug description
You can use the theme shortcode in the page description. If you use the same content for meta description field, it is not parsed and shortcode is displayed in source code.
How to reproduce
- go to theme_shortcodes.php and add test shortcode
function sc_test()
{
return "TEST";
}
- use them in page fields (f.e. description and meta description)
- check result
Expected behavior
parsing content before make it safe for meta fields
What browser(s) are you seeing the problem on?
Chrome / Brave
PHP Version
8.2
EDIT:
Title should be parsed too, you want to use {SITENAME} or something like that in meta title. Now neither global shortcodes are parsed in meta fields.
rica-carv
Metadata
Metadata
Assignees
Labels
type: bugA problem that should not be happeningA problem that should not be happening