You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have some shortcode in the widget I would like to use, however I get „Unexpected end of JSON“ error when trying for HTML output. It seems like the HTML is not escaped and thus some of the parts of it (brackets, double quotes etc) are interpreted as an part of JSON.
Hi, I have some shortcode in the widget I would like to use, however I get „Unexpected end of JSON“ error when trying for HTML output. It seems like the HTML is not escaped and thus some of the parts of it (brackets, double quotes etc) are interpreted as an part of JSON.
My shortcode:
`<?php
function ms_languages( $atts ) {
$regions = array(
'europe' => __( 'Europe', 'ms' ),
'asia' => __( 'Asia', 'ms' ),
'mideast' => __( 'Middle East', 'ms' ),
'america' => __( 'America', 'ms' ),
);
'; } } ?>
WPGraphQL version: 1.8.2
The text was updated successfully, but these errors were encountered: