mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
When inserting a new term in the database, `wp_insert_term()` will check if the term is empty and return a corresponding error. Afterwards the term is sanitized and inserted in the database. However, there is a chance the term is empty after the DB sanitization. This commit adds a check for an empty term name after the term is sanitized, returning an error in that case. Follow-up to [5726], [8393]. Props fgiannar, kraftbj. Fixes #59995. git-svn-id: https://develop.svn.wordpress.org/trunk@57251 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| e2e | ||
| gutenberg | ||
| performance | ||
| phpunit | ||
| qunit | ||
| visual-regression | ||