Skip to content

Conversation

damiencarbery
Copy link

$toolbar_height and $info_height use $font_size but that variable is a string with 'px !important;' at the end and so the multiplication causes php notices (PHP Notice: A non well formed numeric value encountered in /wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119). My code uses $_font_size which just contains a number.

$toolbar_height and $info_height use $font_size but that variable is a string with 'px !important;' at the end and so the multiplication causes php notices (PHP Notice:  A non well formed numeric value encountered in /wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119). My code uses $_font_size which just contains a number.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant