Debug notice
-
Debug swears:
“TheWP_Scripts::localize
function is called incorrectly. The parameter$l10n
must be an array. To pass arbitrary data to scripts, use
thewp_add_inline_script()
function.
For more information, see the “Debugging in WordPress” page. (This message was added in version 5.7.0.) ../wp-includes/functions.php on line 5313.”
I found$l10n
in class-field-company-info-missing.php:
Line 21: $l10n_data = WPSEO_Language_Utils::get_knowledge_graph_company_info_missing_l10n();
,
Line 23: $this->set_property( 'message', $l10n_data['message'] );
,
Line 24: $this->set_property( 'link', $l10n_data['URL'] );
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Debug notice’ is closed to new replies.