CoreFiles by mySites.guru
field.php16 lines, 388 bytes, from wordpress-7.2-beta3.zip
Raw History Compare with 7.2-beta2
md5
8c868a0de64b8361c6e08dfc4c791b84
sha1
0b204775764c299a0bd0485643a3fa170887317c
sha256
c14fd3645491b06755c5bf248cf34b11a52d2a18ea6578dff483e1377dcdfe9f
<?php
/**
 * The file name of the media, a copy of the `filename` field of
 * `@wordpress/media-fields`. Its JavaScript parts (`getValue` and `render`)
 * are in `field.tsx`, next to this file.
 *
 * @package WordPress
 */

return array(
	'type'          => 'text',
	'label'         => __( 'File name' ),
	'enableSorting' => false,
	'filterBy'      => false,
	'readOnly'      => true,
);

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