Skip to content

Commit cd4c817

Browse files
Update src/wp-includes/widgets/class-wp-widget-categories.php
Co-authored-by: Weston Ruter <[email protected]>
1 parent 0658c8e commit cd4c817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/widgets/class-wp-widget-categories.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function onCatChange(e) {
119119
delete dropdown.dataset.lastkey;
120120
});
121121
dropdown.addEventListener( 'change', onCatChange );
122-
})();
122+
})( <?php echo wp_json_encode( $dropdown_id, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ); ?> );
123123
</script>
124124

125125
<?php

0 commit comments

Comments
 (0)