|
@@ 407-411 (lines=5) @@
|
| 404 |
|
$post_type = false; |
| 405 |
|
|
| 406 |
|
// Post type archive rule |
| 407 |
|
if ( 0 === strpos( $rule['minor'], 'post_type_archive' ) ) { |
| 408 |
|
$post_type = substr( |
| 409 |
|
$rule['minor'], strlen( 'post_type_archive' ) + 1 |
| 410 |
|
); |
| 411 |
|
} |
| 412 |
|
|
| 413 |
|
// Post type archive rule |
| 414 |
|
if ( 0 === strpos( $rule['minor'], 'post_type' ) ) { |
|
@@ 414-418 (lines=5) @@
|
| 411 |
|
} |
| 412 |
|
|
| 413 |
|
// Post type archive rule |
| 414 |
|
if ( 0 === strpos( $rule['minor'], 'post_type' ) ) { |
| 415 |
|
$post_type = substr( |
| 416 |
|
$rule['minor'], strlen( 'post_type' ) + 1 |
| 417 |
|
); |
| 418 |
|
} |
| 419 |
|
|
| 420 |
|
if ( $post_type ) { |
| 421 |
|
$rule['minor'] = 'post_type-' . $post_type; |