Opened 6 years ago
Last modified 6 years ago
#49482 new defect (bug)
Non-english slug can sometimes cause an error in WordPress query
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | 5.3.2 |
| Component: | Database | Keywords: | |
| Focuses: | Cc: |
Description (last modified by )
The error is
Warning: vsprintf(): Too few arguments in wp-includes/wp-db.php on line 1397
I found the root cause that if the encoded slug contains the %f or %[0-9]f. it will be converted to capital F (wp-db.php:1359) and will not be properly escaped (wp-db.php:1361)
I found a ticket here #49140 but it has been closed.
Note: See
TracTickets for help on using
tickets.