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

Props audrasjb.
Fixes #52836.

git-svn-id: https://develop.svn.wordpress.org/trunk@50538 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-03-17 17:31:19 +00:00
parent d984b548c8
commit 3f7760b93e

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