CoreFiles by mySites.guru
field.php17 lines, 470 bytes, from wordpress-7.2-beta1.zip
Raw History Compare with 7.1-beta4
md5
bca49d4ac89d5d08add3b68f0b11ed52
sha1
bc96dfa05f5a2a3465eef7cfb80b490e70d41a15
sha256
a3be32917c8890a82eebe846271a4bfcc7e9526981c2a50c59abf2131ab23883
<?php
/**
 * The title of a page. Its JavaScript parts (`getValue` and `render`) are in `field.tsx`, next to
 * this file: the render adds a badge to the homepage, the posts page, and
 * the privacy policy page.
 *
 * @package WordPress
 */

return array(
	'type'               => 'text',
	'label'              => __( 'Title' ),
	'placeholder'        => __( 'No title' ),
	'enableHiding'       => false,
	'enableGlobalSearch' => true,
	'filterBy'           => false,
);

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