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