Opened 10 years ago
Last modified 7 years ago
#35550 new defect (bug)
AllPosts page: Tags field does not accept characters <>
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | minor | Version: | 4.4.1 |
| Component: | Posts, Post Types | Keywords: | |
| Focuses: | Cc: |
Description
STEPS TO REPRODUCE
- Log in as administrator and create new post "Test post".
- Go to AllPosts page. Check "Test post" and perform "Edit" bulk action.
- Type into "Tags" 2 characters "<>". Click "Update" EXPECTED RESULT: Characters <> are added as a tag. EXPECTED RESULT: Characters <> are not added as a tag.
Change History (2)
Note: See
TracTickets for help on using
tickets.
That's an expected error.
If you try to add or edit a tag NAME to be
<>from https://local.plugins.dev/wp-admin/edit-tags.php it tells you it cannot edit the tagIf you try to edit the tag slug to be
<>, it reverts to the slugified tagname (no matter what your slug was before - so if you had a tag with the name 'foobar' and a slug as 'notfoo', putting in<>makes the slug foobar ... Not sure if that's wrong though it was unexpected).That said,
<>is an invalid tag name, so perhaps an error should be thrown when a post cannot be updated?