Skip to content
Closed
Prev Previous commit
Next Next commit
Fix rewrite rules, set to false
  • Loading branch information
youknowriad committed Feb 5, 2024
commit b3fc57271de4dde2505d9b1734ef28048ad3975c
2 changes: 2 additions & 0 deletions src/wp-includes/post.php
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ function create_initial_post_types() {
'map_meta_cap' => true,
'query_var' => false,
'show_in_rest' => false,
'rewrite' => false,
)
);

Expand Down Expand Up @@ -617,6 +618,7 @@ function create_initial_post_types() {
'map_meta_cap' => true,
'query_var' => false,
'show_in_rest' => false,
'rewrite' => false,
)
);

Expand Down