Opened 7 weeks ago
Closed 6 weeks ago
#64454 closed defect (bug) (reported-upstream)
Escaping for footnotes block output to follow WordPress Coding Standards
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 6.9 |
| Component: | General | Keywords: | has-patch needs-unit-tests needs-testing close |
| Focuses: | coding-standards | Cc: |
Description
The changes focus on security and WordPress coding standards by escaping dynamic values (id and content) in the footnotes block and adding a clarifying comment for password-protected posts. Functionality and ARIA labels remain the same.
Attachments (1)
Change History (4)
#1
@
7 weeks ago
- Focuses accessibility php-compatibility removed
- Keywords close added
This is part of the block library and the change would need to be made in the Gutenberg repository.
For WordPress Core contributions, you can open a Pull Request on GitHub instead of uploading a patch.
This is purely informative, it's not a review of the issue or the proposed changes.
#2
@
6 weeks ago
Thanks for raising this and sharing the patch! 🙂
Since this is part of the block library, I’ve opened an upstream PR in Gutenberg to help move it forward there:
https://github.com/WordPress/gutenberg/pull/74243
Happy to sync back once it’s merged upstream.
\wp-includes\blocks\footnotes.php