You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
General: Moved the banner on Jetpack Site to a below the connect
Updated display_jetpack_manage_notice to
can_display_jetpack_manage_notice to be more clear.
The non dismissible nag can now be found in
opt_in_jetpack_manage_notice()
<?phpechosprintf( __( '<p>Your site isn\'t set up to allow management from WordPress.com yet. Learn more about <a href="%1$s">Site Management</a> or simply <a href="%2$s" title="Opt in to WordPress">opt-in</a>.</p> <a href="%2$s" class="jp-button">Opt in to site management</a>', 'jetpack' ), 'http://jetpack.me/support/site-management', $this->opt_in_jetpack_manage_url() ); ?>
2417
+
</div>
2418
+
</div>
2419
+
<?php
2420
+
2421
+
}
2411
2422
/**
2412
2423
* Determines whether to show the notice of not true = display notice
2413
2424
* @return (bool)
2414
2425
*/
2415
-
functiondisplay_jetpack_manage_notice() {
2426
+
functioncan_display_jetpack_manage_notice() {
2416
2427
// never display the notice to users that can't do anything about it anyways
<?phpprintf( __( "Your site isn't set up to allow management from WordPress.com yet. Learn more about Site Management or simply <a href=\"%s\" title=\"Opt in to WordPress\">opt-in</a>.", 'jetpack' ), $this->opt_in_jetpack_manage_url() ); ?>
0 commit comments