WP-Config.php
-
get_branding_title();
- if ( $branding_title == '' ) {
+ if ( '' == $branding_title ) {
$branding_title = 'MainWP';
}
global $current_user;
- $uniqueId = get_option('mainwp_child_uniqueId');
+ $uniqueId = get_option( 'mainwp_child_uniqueId' );
$details = array(
'siteurl' => array(
- 'title' => __('Site URL', 'mainwp-child'),
+ 'title' => __( 'Site URL', 'mainwp-child' ),
'value' => get_bloginfo( 'url' ),
'desc' => get_bloginfo( 'url' ),
),
'adminuser' => array(
- 'title' => __('Administrator name', 'mainwp-child'),
+ 'title' => __( 'Administrator name', 'mainwp-child' ),
'value' => $current_user->user_login,
- 'desc' => __('This is your Administrator username, however, you can use any existing Administrator username.', 'mainwp-child'),
+ 'desc' => __( 'This is your Administrator username, however, you can use any existing Administrator username.', 'mainwp-child' ),
),
'friendly_name' => array(
- 'title' => __('Friendly site name', 'mainwp-child'),
+ 'title' => __( 'Friendly site name', 'mainwp-child' ),
'value' => get_bloginfo( 'name' ),
- 'desc' => __('For the friendly site name, you can use any name, this is just a suggestion.', 'mainwp-child'),
+ 'desc' => __( 'For the friendly site name, you can use any name, this is just a suggestion.', 'mainwp-child' ),
),
'uniqueid' => array(
- 'title' => __('Child unique security id', 'mainwp-child'),
- 'value' => ! empty($uniqueId) ? $uniqueId : __('Leave the field blank', 'mainwp-child'),
- 'desc' => sprintf(__('Child unique security id is not required, however, since you have enabled it, you need to add it to your %s dashboard.', 'mainwp-child'), stripslashes( $branding_title ) ),
+ 'title' => __( 'Child unique security id', 'mainwp-child' ),
+ 'value' => ! empty( $uniqueId ) ? $uniqueId : __( 'Leave the field blank', 'mainwp-child' ),
+ 'desc' => sprintf( __( 'Child unique security id is not required, however, since you have enabled it, you need to add it to your %s dashboard.', 'mainwp-child' ), stripslashes( $branding_title ) ),
),
'verify_ssl' => array(
- 'title' => __('Verify certificate', 'mainwp-child'),
- 'value' => __('Yes', 'mainwp-child'),
- 'desc' => __('If there is an issue with SSL certificate on this site, try to set this option to No.', 'mainwp-child'),
+ 'title' => __( 'Verify certificate', 'mainwp-child' ),
+ 'value' => __( 'Yes', 'mainwp-child' ),
+ 'desc' => __( 'If there is an issue with SSL certificate on this site, try to set this option to No.', 'mainwp-child' ),
),
'ssl_version' => array(
- 'title' => __('SSL version', 'mainwp-child'),
- 'value' => __('Auto Detect', 'mainwp-child'),
- 'desc' => __('Auto Detect', 'mainwp-child'),
+ 'title' => __( 'SSL version', 'mainwp-child' ),
+ 'value' => __( 'Auto Detect', 'mainwp-child' ),
+ 'desc' => __( 'Auto Detect', 'mainwp-child' ),
),
);
@@ -1671,26 +1605,24 @@ class MainWP_Child_Server_Information {