Opened 2 years ago
Last modified 6 weeks ago
#56682 new defect (bug)
Unexpected cut of the HTML title and the slug
Reported by: | dingdang | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.0.2 |
Component: | Permalinks | Keywords: | |
Focuses: | Cc: |
Description
WordPress cuts part of the HTML title and the slug after "<=" sequence.
Example that is OK (compared with one that IS NOT after that):
- if the title entered is "some >= word" the HTML title would e "some >= word" and the slug - "some-word" (as expected)
- however if the title entered is "some <= word" then the HTML title is unexpectedly CUT and becomes "some" as well the slug is just "some".
The second example should perform exactly as the first one.
Note that the problematic sequence is "<=" not just "<".
Change History (5)
#2
@
2 years ago
Tested on posts I guess it is the same for pages (but haven't tested).
Update: just tested with pages and it's the same.
ALSO: it's the same with images, if for slug is entered:
"some <= text"
everythign after the < is cut (i.e. "some")
if the text is:
"some >= text" for the slug
it correctly just filters out ">=" becoming "some-text".
So this is a general problem for WordPress related somehow to slugs filtering:
- slugs (images, posts, pages)
- titles (posts, pages; images' title is NOT affected)
Note: See
TracTickets for help on using
tickets.
Are you referring to post title, site title, or image title?
Where are you entering this title?