Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge back to release branch #1103

Merged
merged 12 commits into from
May 7, 2024
2 changes: 1 addition & 1 deletion classes/PublishPress/Permissions/UI/AgentPermissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function __construct() {
$_url = add_query_arg(['agent_type' => $agent_type], $_url);
}
?>
<a href="<?php echo esc_url($_url);?>" class="page-title-action"><?php esc_html_e('Add New');?></a>
<a href="<?php echo esc_url($_url);?>" class="page-title-action"><?php esc_html_e('Add New', 'press-permit-core');?></a>
<?php endif;?>

</header>
Expand Down
2 changes: 1 addition & 1 deletion classes/PublishPress/Permissions/UI/AgentPermissionsUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@ private static function selectCloneUI($agent)

<br />
<div>
<input id="pp_clone_permissions" class="button button-primary pp-primary-button" type="submit" name="pp_clone_permissions" value="<?php esc_attr_e('Do Clone'); ?>">
<input id="pp_clone_permissions" class="button button-primary pp-primary-button" type="submit" name="pp_clone_permissions" value="<?php esc_attr_e('Do Clone', 'press-permit-core'); ?>">
</div>
<?php
}
Expand Down
2 changes: 1 addition & 1 deletion classes/PublishPress/Permissions/UI/Groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public function __construct() {
$_url = add_query_arg(['agent_type' => $agent_type], $_url);
}
?>
<a href="<?php echo esc_url($_url);?>" class="page-title-action"><?php esc_html_e('Add New');?></a>
<a href="<?php echo esc_url($_url);?>" class="page-title-action"><?php esc_html_e('Add New', 'press-permit-core');?></a>
<?php endif;

if ($pp->getOption('display_hints')) {
Expand Down
2 changes: 1 addition & 1 deletion classes/PublishPress/Permissions/UI/GroupsListTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ public function single_row($group)
esc_html_e('Login State', 'press-permit-core');
break;
default:
esc_html_e('WordPress Role');
esc_html_e('WordPress Role', 'press-permit-core');
}

break;
Expand Down
2 changes: 1 addition & 1 deletion includes/CoreAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function __construct() {

add_filter(\PPVersionNotices\Module\TopNotice\Module::SETTINGS_FILTER, function ($settings) {
$settings['press-permit-core'] = [
'message' => 'You\'re using PublishPress Permissions Free. The Pro version has more features and support. %sUpgrade to Pro%s',
'message' => esc_html__("You're using PublishPress Permissions Free. The Pro version has more features and support. %sUpgrade to Pro%s", 'press-permit-core'),
'link' => 'https://publishpress.com/links/permissions-banner',
'screens' => [
['base' => 'toplevel_page_presspermit-groups'],
Expand Down
2 changes: 1 addition & 1 deletion includes/promo/posts-teaser-promo.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</p>
<p>
<a href="https://publishpress.com/links/permissions-teaser-screen" target="_blank">
<?php esc_html_e('Upgrade to Pro', 'capsman-enhanced'); ?>
<?php esc_html_e('Upgrade to Pro', 'press-permit-core'); ?>
</a>
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion includes/promo/statuses-promo.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</p>
<p>
<a href="https://publishpress.com/links/permissions-statuses-screen" target="_blank">
<?php esc_html_e('Upgrade to Pro', 'capsman-enhanced'); ?>
<?php esc_html_e('Upgrade to Pro', 'press-permit-core'); ?>
</a>
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion includes/promo/sync-promo.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</p>
<p>
<a href="https://publishpress.com/links/permissions-sync-screen" target="_blank">
<?php esc_html_e('Upgrade to Pro', 'capsman-enhanced'); ?>
<?php esc_html_e('Upgrade to Pro', 'press-permit-core'); ?>
</a>
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion includes/promo/visibility-statuses-promo.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</p>
<p>
<a href="https://publishpress.com/links/permissions-statuses-screen" target="_blank">
<?php esc_html_e('Upgrade to Pro', 'capsman-enhanced'); ?>
<?php esc_html_e('Upgrade to Pro', 'press-permit-core'); ?>
</a>
</p>
</div>
Expand Down