Opened 4 years ago
Closed 4 years ago
#50826 closed defect (bug) (fixed)
Wrong Escaping Function Was Used
Reported by: | chintan1896 | Owned by: | |
---|---|---|---|
Milestone: | 5.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Widgets | Keywords: | has-patch |
Focuses: | Cc: |
Description
Wrong Escaping Function Was Used in wp-includes/blocks/archives.php.
Attachments (2)
Change History (10)
#1
@
4 years ago
- Component changed from General to Widgets
- Keywords needs-patch added; has-patch removed
- Version trunk deleted
#2
@
4 years ago
Hey @afercia
Thanks, I have attached updated patch 50826.1.diff. I don't have knowledge about gutenberg work flow.
#6
@
4 years ago
Thanks for the patch! The instance in wp-includes/widgets/class-wp-widget-archives.php
is now fixed.
For the instance in wp-includes/blocks/archives.php
, could you please submit a PR upstream to the Gutenberg's bloсk library package? Thanks!
#7
@
4 years ago
Pull request opened upstream: https://github.com/WordPress/gutenberg/pull/25476
#8
@
4 years ago
- Resolution set to fixed
- Status changed from new to closed
This issue has been fixed upstream: https://github.com/WordPress/gutenberg/pull/25476
Closing this ticket as fixed
.
Note: See
TracTickets for help on using
tickets.
Good catch @chintan1896
As far as I see, this should be fixed both in the Gutenberg repo:
https://github.com/WordPress/gutenberg/blob/be014202a75449c0afc384f71835c04a048e53e2/packages/block-library/src/archives/index.php#L69
and in the core widget:
https://core.trac.wordpress.org/browser/trunk/src/wp-includes/widgets/class-wp-widget-archives.php?rev=48410#L106