Skip to content

Commit 643fdda

Browse files
Update src/wp-includes/widgets/class-wp-widget-archives.php
Co-authored-by: Weston Ruter <[email protected]>
1 parent 3239d3b commit 643fdda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function widget( $args, $instance ) {
110110
<?php ob_start(); ?>
111111
<script>
112112
(function( dropdownId ) {
113-
var dropdown = document.getElementById( '<?php echo esc_js( $dropdown_id ); ?>' ), lastkey;
113+
var dropdown = document.getElementById( dropdownId ), lastkey;
114114
function onSelectChange(e) {
115115
setTimeout(function() {
116116
lastKey = dropdown.getAttribute( 'data-lastkey' );

0 commit comments

Comments
 (0)