CoreFiles by mySites.guru
index.php21 lines, 655 bytes, from wordpress-7.2-beta2.zip
Raw History Compare with 7.2-beta1
md5
b475151c1e685f10c75456abe052212c
sha1
3b2d5b1f9e5938d3d406560868558e601b36bacc
sha256
edae6526097ce9a2c607bea632a6b9fc3a0719aab22b374d2205fe848c2b737f
<?php
/**
 * The `wp_template` collection: the fields templates have instead of the
 * defaults.
 *
 * Templates support authors, yet their author is the theme, plugin, site,
 * or user that provides them rather than their post author. So they opt out
 * of the default author field, see wp_register_core_field_collections()
 * in `src/index.php`, and get the author field of this collection instead,
 * with its script module. Likewise for the title, labeled after the
 * template.
 *
 * @package WordPress
 */

return array(
	'origin' => 'core',
	'kind'   => 'postType',
	'name'   => 'wp_template',
	'module' => '@wordpress/core-fields/wp_template',
);

The same content is in 5 releases, WordPress 7.2-beta1 to 7.2-beta5. See them all, or every version of this file.