Docs: Correct formatting for the description of some `register_post_type()` parameters.

Props audrasjb.
Fixes #52836.
Built from https://develop.svn.wordpress.org/trunk@50538


git-svn-id: http://core.svn.wordpress.org/trunk@50151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-03-17 17:33:10 +00:00
parent 4d514bb6ad
commit 6ad5c0c553
2 changed files with 6 additions and 6 deletions

View File

@ -1422,20 +1422,20 @@ function get_post_types( $args = array(), $output = 'names', $operator = 'and' )
* ?{query_var_string}={post_slug} will be valid.
* @type bool $can_export Whether to allow this post type to be exported. Default true.
* @type bool $delete_with_user Whether to delete posts of this type when deleting a user.
* - If true, posts of this type belonging to the user will be moved
* * If true, posts of this type belonging to the user will be moved
* to Trash when the user is deleted.
* - If false, posts of this type belonging to the user will *not*
* * If false, posts of this type belonging to the user will *not*
* be trashed or deleted.
* - If not set (the default), posts are trashed if post type supports
* * If not set (the default), posts are trashed if post type supports
* the 'author' feature. Otherwise posts are not trashed or deleted.
* Default null.
* @type array $template Array of blocks to use as the default initial state for an editor
* session. Each item should be an array containing block name and
* optional attributes. Default empty array.
* @type string|false $template_lock Whether the block template should be locked if $template is set.
* - If set to 'all', the user is unable to insert new blocks,
* * If set to 'all', the user is unable to insert new blocks,
* move existing blocks and delete blocks.
* - If set to 'insert', the user is able to move existing blocks
* * If set to 'insert', the user is able to move existing blocks
* but is unable to insert new blocks and delete blocks.
* Default false.
* @type bool $_builtin FOR INTERNAL USE ONLY! True if this post type is a native or

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.8-alpha-50537';
$wp_version = '5.8-alpha-50538';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.