Changeset 49494 for trunk/src/wp-includes/class-wp-post-type.php
- Timestamp:
- 11/04/2020 02:28:55 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-post-type.php
r49492 r49494 251 251 * Whether to delete posts of this type when deleting a user. 252 252 * 253 * If true, posts of this type belonging to the user will be moved to Trash when then user is deleted. 254 * If false, posts of this type belonging to the user will *not* be trashed or deleted. 255 * If not set (the default), posts are trashed if post_type_supports( 'author' ). 256 * Otherwise posts are not trashed or deleted. Default null. 253 * - If true, posts of this type belonging to the user will be moved to Trash when the user is deleted. 254 * - If false, posts of this type belonging to the user will *not* be trashed or deleted. 255 * - If not set (the default), posts are trashed if post type supports the 'author' feature. 256 * Otherwise posts are not trashed or deleted. 257 * 258 * Default null. 257 259 * 258 260 * @since 4.6.0 … … 262 264 263 265 /** 264 * Array of blocks to use as the default initial state for an editor 265 * session. Each item should be an array containing block name and266 * optional attributes.266 * Array of blocks to use as the default initial state for an editor session. 267 * 268 * Each item should be an array containing block name and optional attributes. 267 269 * 268 270 * Default empty array. … … 278 280 * Whether the block template should be locked if $template is set. 279 281 * 280 * If set to 'all', the user is unable to insert new blocks, move existing blocks281 * and delete blocks.282 * If set to 'insert', the user is able to move existing blocks but is unable to insert283 * new blocks and delete blocks.282 * - If set to 'all', the user is unable to insert new blocks, move existing blocks 283 * and delete blocks. 284 * - If set to 'insert', the user is able to move existing blocks but is unable to insert 285 * new blocks and delete blocks. 284 286 * 285 287 * Default false. … … 288 290 * 289 291 * @since 5.6.0 290 * @var string| bool$template_lock292 * @var string|false $template_lock 291 293 */ 292 294 public $template_lock = false;
Note: See TracChangeset
for help on using the changeset viewer.