CoreFiles by mySites.guru
action.php15 lines, 493 bytes, from wordpress-7.2-RC2.zip
Raw History Compare with 7.2-RC1
md5
37c635c1face0e2dfeb91c1f3b01ffd9
sha1
4a366b4e553a24348ed89fba3fa89babb4306b5c
sha256
cccf8fd4420ac910db6f85cdd619d2632a2c4a7fd1ab80f5f019ce3050fd8559
<?php
/**
 * The "Set as posts page" action, for pages: it applies to the pages with
 * the `action-set-posts-page` REST link, the published pages that are neither
 * the homepage nor the posts page. Its JavaScript parts (`isEligible` and
 * `RenderModal`) are in `action.tsx`, next to this file.
 *
 * @package WordPress
 */

return array(
	'label'             => __( 'Set as posts page' ),
	'modalHeader'       => __( 'Set as posts page' ),
	'modalFocusOnMount' => 'firstContentElement',
);

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