CoreFiles by mySites.guru
field.php16 lines, 356 bytes, from wordpress-7.2-beta4.zip
Raw History Compare with 7.2-beta3
md5
6e1f28285f5198cac858229172558fe1
sha1
c93321567eb9dcce6fbbfe923a2c29e6b99620d7
sha256
38e5a7116b7a818f7020bc057c915c15b6a4566945a619658f89b1f0ed0a8e80
<?php
/**
 * The date the media was added, a copy of the `date_added` field of
 * `@wordpress/media-fields`. It is plain data: it has no JavaScript parts.
 *
 * @package WordPress
 */

return array(
	'type'     => 'datetime',
	'label'    => __( 'Date added' ),
	'filterBy' => array(
		'operators' => array( 'before', 'after' ),
	),
	'readOnly' => true,
);

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