Skip to content

Commit c03e736

Browse files
akirkobenland
andauthored
Update the text for Enable Mastodon Apps (#1471)
* Update the text for Enable Mastodon Apps * Add target attribute Co-authored-by: Konstantin Obenland <[email protected]> * Update to the agreed upon text --------- Co-authored-by: Konstantin Obenland <[email protected]>
1 parent 6ed6cb7 commit c03e736

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

includes/wp-admin/class-welcome-fields.php

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,23 @@ public static function render_recommended_plugins_section() {
252252
</button>
253253
</h4>
254254
<div id="activitypub-settings-accordion-block-enable-mastodon-apps-plugin" class="activitypub-settings-accordion-panel plugin-card-block-enable-mastodon-apps" hidden="hidden">
255-
<p><?php \esc_html_e( 'Use Mastodon Apps to connect your WordPress site to Mastodon. This plugin allows you to use Mastodon apps to authenticate users on your WordPress site.', 'activitypub' ); ?></p>
255+
<p>
256+
<?php
257+
echo \wp_kses(
258+
\sprintf(
259+
// translators: %s is a URL.
260+
\__( 'Enable the use of a wide variety of <a href="%s" target="_blank">Mastodon apps</a>to interact with your WordPress site, for example write posts that can then be federated via the ActivityPub plugin.', 'activitypub' ),
261+
'https://joinmastodon.org/apps'
262+
),
263+
array(
264+
'a' => array(
265+
'href' => true,
266+
'target' => true,
267+
),
268+
)
269+
);
270+
?>
271+
</p>
256272
<p><a href="<?php echo \esc_url( \admin_url( 'plugin-install.php?tab=plugin-information&plugin=enable-mastodon-apps&TB_iframe=true' ) ); ?>" class="thickbox open-plugin-details-modal button install-now" target="_blank"><?php \esc_html_e( 'Install the Enable Mastodon Apps Plugin', 'activitypub' ); ?></a></p>
257273
</div>
258274
<?php endif; ?>

0 commit comments

Comments
 (0)