Opened 10 years ago
Last modified 7 years ago
#35550 new defect (bug)
AllPosts page: Tags field does not accept characters <>
| Reported by: | antonrinas | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Posts, Post Types | Version: | 4.4.1 |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Cannot reproduce quite this way...
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?