WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #26277, comment 10


Ignore:
Timestamp:
11/27/2013 01:24:15 AM (6 years ago)
Author:
beowulfenator
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26277, comment 10

    initial v1  
    22If register_post_type for a custom post type named "deposits" with 'pages'=>false, the following two rules are created (among others):
    33
     4
     5{{{
    46individuals/deposits/([^/]+)/page/?([0-9]{1,})/?$
    57=>
     
    1012index.php?deposit=$matches[1]&page=$matches[2]
    1113
     14}}}
     15
    1216However, if I call it with 'paged'=>false, the first rule is not created.
    1317
    14 Is this the correct behaviour?
     18I believe this is incorrect.