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 f1c83bd commit 3239d3bCopy full SHA for 3239d3b
src/wp-includes/widgets/class-wp-widget-archives.php
@@ -133,7 +133,7 @@ function onSelectChange(e) {
133
dropdown.removeAttribute( 'data-lastkey' );
134
});
135
dropdown.addEventListener( 'change', onSelectChange );
136
-})();
+})( <?php echo wp_json_encode( $dropdown_id, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ); ?> );
137
</script>
138
<?php
139
wp_print_inline_script_tag( wp_remove_surrounding_empty_script_tags( ob_get_clean() ) );
0 commit comments