CoreFiles by mySites.guru
field.php16 lines, 370 bytes, from wordpress-7.2-beta4.zip
Raw History Compare with 7.2-beta3
md5
0d22c8e28463a9ef8f97aea7badc4474
sha1
2c84458aa8f3383cae53bf492946ac4f56867830
sha256
d3f854da922ca46a06576eeeb79f2efe2e7484e145ebe94eb2f64766e3101d37
<?php
/**
 * The date the media was last modified, a copy of the `date_modified` field
 * of `@wordpress/media-fields`. It is plain data: it has no JavaScript parts.
 *
 * @package WordPress
 */

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

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