JavaScript errors due to bad variable names on post edit page
-
There are numerous places in the Powerpress code (especially in the metabox/post edit code) where
<?php echo $FeedSlug; ?>
is used to concatenate the feed slug into variables and function names. But, our slugs have hyphens in them, which are invalid characters in variables and function names. We are getting a handful of JS errors in the console about bad syntax, coming from Powerpress scripts.This is currently breaking other functionality with ACF and other JS on our edit pages. Could you please look into a quick fix for this?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘JavaScript errors due to bad variable names on post edit page’ is closed to new replies.