[wp-trac] [WordPress Trac] #50149: url issue on category slugs

WordPress Trac noreply at wordpress.org
Tue May 12 11:09:35 UTC 2020


#50149: url issue on category slugs
--------------------------+-----------------------------
 Reporter:  ersinkurtdal  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.4.1
 Severity:  normal        |   Keywords:  needs-testing
  Focuses:  template      |
--------------------------+-----------------------------
 This url structure is used to split the posts of a category into pages.

 {{{
 .../category/{category_name}/page/2/
 }}}

 However, if you use /0 before the /page/2/ section, the system ignores /0
 and it does not redirect to the 404 page and opens the /page/2 archive
 page. But in this page, the single_cat_title() function does not return a
 value.

 {{{
 .../category/{category_name}/0/page/2/
 }}}

 Even all parameters entered before /0 are ignored too

 {{{
 .../category/{category_name}/1/2/3/4/5/abc/0/page/2/
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50149>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list