Ticket #17040: block-page-post_type-query.diff
| File block-page-post_type-query.diff, 532 bytes (added by chrisbliss18, 2 years ago) |
|---|
-
wp-includes/post.php
diff --git wp-includes/post.php wp-includes/post.php index a930eda..ed90c16 100644
function create_initial_post_types() { 31 31 32 32 register_post_type( 'page', array( 33 33 'public' => true, 34 'publicly_queryable' => false, 34 35 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 35 36 '_edit_link' => 'post.php?post=%d', /* internal use only. don't use this when registering your own post type. */ 36 37 'capability_type' => 'page',
