CoreFiles by mySites.guru
field.php19 lines, 445 bytes, from wordpress-7.2-beta4.zip
Raw History Compare with 7.2-beta3
md5
9778b0f477024abfc01ed18db9b29014
sha1
cecbd1b92ebacfce7ccbebe40c33a240658b3c1f
sha256
fe0dac81359fc7f73da70ad6801b669d94989c45c86fb043a222980d2524224f
<?php
/**
 * The description of the media, a copy of the `description` 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'         => __( 'Description' ),
	'Edit'          => array(
		'control' => 'textarea',
		'rows'    => 5,
	),
	'enableSorting' => false,
	'filterBy'      => false,
);

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