Changeset 64402 for trunk/src/wp-includes/post.php
- Timestamp:
- 10/16/2026 05:03:59 PM (5 days ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/post.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r64388 r64402 28 28 ), 29 29 'public' => true, 30 'randomable' => true, 30 31 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 31 32 '_edit_link' => 'post.php?post=%d', /* internal use only. don't use this when registering your own post type. */ … … 65 66 'public' => true, 66 67 'publicly_queryable' => false, 68 'randomable' => false, 67 69 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 68 70 '_edit_link' => 'post.php?post=%d', /* internal use only. don't use this when registering your own post type. */ … … 105 107 ), 106 108 'public' => true, 109 'randomable' => false, 107 110 'show_ui' => true, 108 111 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ … … 1726 1729 * * ?{post_type_query_var}={single_post_slug} 1727 1730 * If not set, the default is inherited from $public. 1731 * @type bool $randomable Whether posts of this post type can be selected by random content 1732 * redirects, such as example.com/random/. If not set, the default is 1733 * true when $publicly_queryable is true and $has_archive is set. 1728 1734 * @type bool $show_ui Whether to generate and allow a UI for managing this post type in the 1729 1735 * admin. Default is value of $public.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)