CoreFiles by mySites.guru
action.php15 lines, 485 bytes, from wordpress-7.2-beta4.zip
Raw History Compare with 7.2-beta3
md5
82312cb59ae2a190dfe448946ec845ae
sha1
219ef425a0bd5e919b87185fc6d635dfca4cc4c5
sha256
e339ba6e0d081ed461e6ab2072f08d7eb38e496cc853791240db74d4673aaa50
<?php
/**
 * The "Set as homepage" action, for pages: it applies to the pages with the
 * `action-set-homepage` 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 homepage' ),
	'modalHeader'       => __( 'Set as homepage' ),
	'modalFocusOnMount' => 'firstContentElement',
);

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