[wp-trac] [WordPress Trac] #55735: WordPress子分类的固定链接存在Bug
WordPress Trac
noreply at wordpress.org
Sun May 15 13:23:02 UTC 2022
#55735: WordPress子分类的固定链接存在Bug
--------------------------+-----------------------------
Reporter: jimmyhuang | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.9.3
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
使用WP过程中发现子分类的固定链接存在一些Bug。搭建了个测试站,还是存在同样
问题。
具体来说,假设父级分类是:uncategorized,子分类是:test。子分类正确的访问
地址应该是:
example.com/category/uncategorized/test
但我发现把地址中的uncategorized重命名为其他内容也能访问子分类test,正常应
该返回404页面。
测试地址:https://sandbox.jimmyhuang.pp.ua/category/uncategorized/test
Bug地址:https://sandbox.jimmyhuang.pp.ua/category/0000/test
WordPress Version 5.9.3
Themes:Twenty Twenty-Two Version: 1.1
CDN:Cloudflare
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55735>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list