Skip to content

Commit 886af3e

Browse files
authored
capital P dangit
1 parent d4cbd9c commit 886af3e

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

onelogin-saml-sso/php/configuration.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function onelogin_saml_configuration() {
123123
add_settings_field('onelogin_saml_customize_action_prevent_change_mail', __('Prevent change mail', 'onelogin-saml-sso'), "plugin_setting_boolean_onelogin_saml_customize_action_prevent_change_mail", $option_group, 'customize_links');
124124

125125
register_setting($option_group, 'onelogin_saml_customize_stay_in_wordpress_after_slo');
126-
add_settings_field('onelogin_saml_customize_stay_in_wordpress_after_slo', __('Stay in Wordpress after SLO', 'onelogin-saml-sso'), "plugin_setting_boolean_onelogin_saml_customize_stay_in_wordpress_after_slo", $option_group, 'customize_links');
126+
add_settings_field('onelogin_saml_customize_stay_in_wordpress_after_slo', __('Stay in WordPress after SLO', 'onelogin-saml-sso'), "plugin_setting_boolean_onelogin_saml_customize_stay_in_wordpress_after_slo", $option_group, 'customize_links');
127127

128128
register_setting($option_group, 'onelogin_saml_customize_links_user_registration');
129129
add_settings_field('onelogin_saml_customize_links_user_registration', __('User Registration', 'onelogin-saml-sso'), "plugin_setting_string_onelogin_saml_customize_links_user_registration", $option_group, 'customize_links');
@@ -212,21 +212,21 @@ function plugin_setting_boolean_onelogin_saml_autocreate() {
212212
$value = get_option('onelogin_saml_autocreate');
213213
echo '<input type="checkbox" name="onelogin_saml_autocreate" id="onelogin_saml_autocreate"
214214
'.($value ? 'checked="checked"': '').'>'.
215-
'<p class="description">'.__('Auto-provisioning. If user not exists, Wordpress will create a new user with the data provided by the IdP.<br>Review the Mapping section.', 'onelogin-saml-sso').'</p>';
215+
'<p class="description">'.__('Auto-provisioning. If user not exists, WordPress will create a new user with the data provided by the IdP.<br>Review the Mapping section.', 'onelogin-saml-sso').'</p>';
216216
}
217217

218218
function plugin_setting_boolean_onelogin_saml_updateuser() {
219219
$value = get_option('onelogin_saml_updateuser');
220220
echo '<input type="checkbox" name="onelogin_saml_updateuser" id="onelogin_saml_updateuser"
221221
'.($value ? 'checked="checked"': '').'>'.
222-
'<p class="description">'.__('Auto-update. Wordpress will update the account of the user with the data provided by the IdP.<br>Review the Mapping section.', 'onelogin-saml-sso').'</p>';
222+
'<p class="description">'.__('Auto-update. WordPress will update the account of the user with the data provided by the IdP.<br>Review the Mapping section.', 'onelogin-saml-sso').'</p>';
223223
}
224224

225225
function plugin_setting_boolean_onelogin_saml_forcelogin() {
226226
$value = get_option('onelogin_saml_forcelogin');
227227
echo '<input type="checkbox" name="onelogin_saml_forcelogin" id="onelogin_saml_forcelogin"
228228
'.($value ? 'checked="checked"': '').'>'.
229-
'<p class="description">'.__('Protect Wordpress and force the user to authenticate at the IdP in order to access when any wordpress page is loaded and no active session', 'onelogin-saml-sso').'</p>';
229+
'<p class="description">'.__('Protect WordPress and force the user to authenticate at the IdP in order to access when any wordpress page is loaded and no active session', 'onelogin-saml-sso').'</p>';
230230
}
231231

232232
function plugin_setting_boolean_onelogin_saml_slo() {
@@ -283,7 +283,7 @@ function plugin_setting_string_onelogin_saml_attr_mapping_lastname() {
283283
function plugin_setting_string_onelogin_saml_attr_mapping_role() {
284284
echo '<input type="text" name="onelogin_saml_attr_mapping_role" id="onelogin_saml_attr_mapping_role"
285285
value= "'.get_option('onelogin_saml_attr_mapping_role').'" size="30">'.
286-
'<p class="description">'.__("The attribute that contains the role of the user, For example 'memberOf'. If Wordpress can't figure what role assign to the user, it will assign the default role defined at the general settings.", 'onelogin-saml-sso').'</p>';
286+
'<p class="description">'.__("The attribute that contains the role of the user, For example 'memberOf'. If WordPress can't figure what role assign to the user, it will assign the default role defined at the general settings.", 'onelogin-saml-sso').'</p>';
287287
}
288288

289289
function plugin_setting_string_onelogin_saml_role_mapping($role_value) {
@@ -320,28 +320,28 @@ function plugin_setting_boolean_onelogin_saml_customize_action_prevent_reset_pas
320320
$value = get_option('onelogin_saml_customize_action_prevent_reset_password');
321321
echo '<input type="checkbox" name="onelogin_saml_customize_action_prevent_reset_password" id="onelogin_saml_customize_action_prevent_reset_password"
322322
'.($value ? 'checked="checked"': '').'>
323-
<p class="description">'.__("Check it in order to disable the ability of reset the password on Wordpress.", 'onelogin-saml-sso').'</p>';
323+
<p class="description">'.__("Check it in order to disable the ability of reset the password on WordPress.", 'onelogin-saml-sso').'</p>';
324324
}
325325

326326
function plugin_setting_boolean_onelogin_saml_customize_action_prevent_change_password() {
327327
$value = get_option('onelogin_saml_customize_action_prevent_change_password');
328328
echo '<input type="checkbox" name="onelogin_saml_customize_action_prevent_change_password" id="onelogin_saml_customize_action_prevent_change_password"
329329
'.($value ? 'checked="checked"': '').'>
330-
<p class="description">'.__("Check it in order to disable the ability of change the password on Wordpress.", 'onelogin-saml-sso').'</p>';
330+
<p class="description">'.__("Check it in order to disable the ability of change the password on WordPress.", 'onelogin-saml-sso').'</p>';
331331
}
332332

333333
function plugin_setting_boolean_onelogin_saml_customize_action_prevent_change_mail() {
334334
$value = get_option('onelogin_saml_customize_action_prevent_change_mail');
335335
echo '<input type="checkbox" name="onelogin_saml_customize_action_prevent_change_mail" id="onelogin_saml_customize_action_prevent_change_mail"
336336
'.($value ? 'checked="checked"': '').'>
337-
<p class="description">'.__("Check it in order to disable the ability of change the mail on Wordpress (we recommend that if you are using mail as the account matcher field.", 'onelogin-saml-sso').'</p>';
337+
<p class="description">'.__("Check it in order to disable the ability of change the mail on WordPress (we recommend that if you are using mail as the account matcher field.", 'onelogin-saml-sso').'</p>';
338338
}
339339

340340
function plugin_setting_boolean_onelogin_saml_customize_stay_in_wordpress_after_slo() {
341341
$value = get_option('onelogin_saml_customize_stay_in_wordpress_after_slo');
342342
echo '<input type="checkbox" name="onelogin_saml_customize_stay_in_wordpress_after_slo" id="onelogin_saml_customize_stay_in_wordpress_after_slo"
343343
'.($value ? 'checked="checked"': '').'>
344-
<p class="description">'.__("If SLO and Force SAML login are enabled, after the SLO process you will be redirected to the WP main page and a SAML SSO process will start, to prevent that check this and you will stay at the Wordpress Login Form. ", 'onelogin-saml-sso').'</p>';
344+
<p class="description">'.__("If SLO and Force SAML login are enabled, after the SLO process you will be redirected to the WP main page and a SAML SSO process will start, to prevent that check this and you will stay at the WordPress Login Form. ", 'onelogin-saml-sso').'</p>';
345345
}
346346

347347
function plugin_setting_string_onelogin_saml_customize_links_user_registration() {
@@ -373,7 +373,7 @@ function plugin_setting_boolean_onelogin_saml_advanced_settings_strict_mode() {
373373
$value = get_option('onelogin_saml_advanced_settings_strict_mode');
374374
echo '<input type="checkbox" name="onelogin_saml_advanced_settings_strict_mode" id="onelogin_saml_advanced_settings_strict_mode"
375375
'.($value ? 'checked="checked"': '').'>'.
376-
'<p class="description">'.__("If Strict mode is Enabled, then Wordpress will reject unsigned or unencrypted messages if it expects them signed or encrypted.
376+
'<p class="description">'.__("If Strict mode is Enabled, then WordPress will reject unsigned or unencrypted messages if it expects them signed or encrypted.
377377
Also will reject the messages if not strictly follow the SAML standard: Destination, NameId, Conditions ... are validated too.", 'onelogin-saml-sso').'</p>';
378378
}
379379

@@ -506,27 +506,27 @@ function plugin_setting_select_onelogin_saml_advanced_requestedauthncontext() {
506506
}
507507

508508
function plugin_section_idp_text() {
509-
echo "<p>".__("Set here some info related to the IdP that will be connected with our Wordpress. You can find this values at the Onelogin's platform in the Wordpress App at the Single Sign-On tab", 'onelogin-saml-sso')."</p>";
509+
echo "<p>".__("Set here some info related to the IdP that will be connected with our WordPress. You can find this values at the Onelogin's platform in the WordPress App at the Single Sign-On tab", 'onelogin-saml-sso')."</p>";
510510
}
511511

512512
function plugin_section_options_text() {
513513
echo "<p>".__("In this section the behavior of the plugin is set.", 'onelogin-saml-sso')."</p>";
514514
}
515515

516516
function plugin_section_attr_mapping_text() {
517-
echo "<p>".__("Sometimes the names of the attributes sent by the IdP not match the names used by Wordpress for the user accounts. In this section we can set the mapping between IdP fields and Wordpress fields. Notice that this mapping could be also set at Onelogin's IdP", 'onelogin-saml-sso')."</p>";
517+
echo "<p>".__("Sometimes the names of the attributes sent by the IdP not match the names used by WordPress for the user accounts. In this section we can set the mapping between IdP fields and WordPress fields. Notice that this mapping could be also set at Onelogin's IdP", 'onelogin-saml-sso')."</p>";
518518
}
519519

520520
function plugin_section_role_mapping_text() {
521-
echo "<p>".__("The IdP can use it's own roles. Set in this section the mapping between IdP and Wordpress roles. Accepts multiple valued comma separated. Example: admin,owner,superuser", 'onelogin-saml-sso')."</p>";
521+
echo "<p>".__("The IdP can use it's own roles. Set in this section the mapping between IdP and WordPress roles. Accepts multiple valued comma separated. Example: admin,owner,superuser", 'onelogin-saml-sso')."</p>";
522522
}
523523

524524
function plugin_section_role_order_text() {
525525
echo "<p>".__("In some cases, the IdP returns more than one role. Set in this secion the precedence of the different roles, the smallest integer will be the role chosen.", 'onelogin-saml-sso')."</p>";
526526
}
527527

528528
function plugin_section_customize_links_text() {
529-
echo "<p>".__("When we enable the SAML SSO to be integrated with a IdP some Wordpress actions and links could be changed. In this section you will be able to enable or disable the ability of change the mail, change the password and reset the password. Also can override the user registration and the lost password links", 'onelogin-saml-sso')."</p>";
529+
echo "<p>".__("When we enable the SAML SSO to be integrated with a IdP some WordPress actions and links could be changed. In this section you will be able to enable or disable the ability of change the mail, change the password and reset the password. Also can override the user registration and the lost password links", 'onelogin-saml-sso')."</p>";
530530
}
531531

532532
function plugin_section_advanced_settings_text() {

0 commit comments

Comments
 (0)