Opened 3 years ago
Closed 2 years ago
#56233 closed defect (bug) (fixed)
Dead link and/or obsolete function description in `addslashes_gpc()`
Reported by: | audrasjb | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 6.1 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | Formatting | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
@mitweka reported on DevHub User notes that function addslashes_gpc has a dead link to https://www.php.net/magic_quotes in the function description.
Given magic_quotes
is not used anymore in WP Core and after having a look to ticket:40716#comment:1, I guess we can probably remove entirely this obsolete function description. Thoughts?
Change History (10)
This ticket was mentioned in PR #2984 on WordPress/wordpress-develop by audrasjb.
3 years ago
#1
- Keywords has-patch added
#5
in reply to:
↑ description
@
2 years ago
Replying to audrasjb:
Given
magic_quotes
is not used anymore in WP Core and after having a look to ticket:40716#comment:1, I guess we can probably remove entirely this obsolete function description.
Yes, I agree:
- Usage of
get_magic_quotes_gpc()
was removed fromaddslashes_gpc()
in [46105] / #47783. - A similar description fragment was removed from
wp_parse_str()
in that changeset, but this one was missed. - The get_magic_quotes_gpc() function itself was deprecated in PHP 7.4 and removed in PHP 8.0.
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/56233