We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d38c5e commit 2c915d4Copy full SHA for 2c915d4
src/my-calendar-core.php
@@ -906,7 +906,7 @@ function mc_admin_head() {
906
$styles = (array) mc_get_option( 'style_vars' );
907
$style_vars = '';
908
foreach ( $styles as $key => $var ) {
909
- if ( 'text' === $key ) {
+ if ( 'text' === $key && is_array( $var ) ) {
910
foreach ( $var as $variable => $text ) {
911
if ( $variable ) {
912
$style_vars .= sanitize_key( $variable ) . ': ' . esc_html( $text ) . '; ';
0 commit comments