CoreFiles by mySites.guru
index.php19 lines, 604 bytes, from wordpress-7.2-beta2.zip
Raw History Compare with 7.2-beta1
md5
62408896ae22fc740ee7f40f72b8ab52
sha1
09bb815602fe24f1198853c8c16f248b3d9ff3b8
sha256
a0066ba92ef4c01593c5d45ead8ad114b2aa46526c569b6f72e4ce5611638912
<?php
/**
 * The `attachment` collection: the fields of the media editor.
 *
 * Attachments support authors and comments, yet the media editor shows its
 * own set of fields, copies of those of `@wordpress/media-fields`, none of
 * which is a default one. So they opt out of every default field, see
 * wp_register_core_field_collections() in `src/index.php`, and get the
 * fields of this collection instead, with its script module.
 *
 * @package WordPress
 */

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

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