CoreFiles by mySites.guru
action.php15 lines, 491 bytes, from wordpress-7.2-beta2.zip
Raw History Compare with 7.2-beta1
md5
e9f208c2a03c967ee88affdae023682d
sha1
f17fce314ff0c2ee873949afa09b80ed8bfd1cf3
sha256
ccb207664c3a9fd583ca49cab385c44f29f7f53002a5934bd8a719afb56558a2
<?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 2 releases, WordPress 7.2-beta1 to 7.2-beta2. See them all, or every version of this file.