diff --git a/includes/admin/settings/class-sp-settings-modules.php b/includes/admin/settings/class-sp-settings-modules.php index 84f00854..3f33bd26 100644 --- a/includes/admin/settings/class-sp-settings-modules.php +++ b/includes/admin/settings/class-sp-settings-modules.php @@ -64,15 +64,15 @@ if ( ! class_exists( 'SP_Settings_Modules' ) ) : @@ -83,15 +83,15 @@ if ( ! class_exists( 'SP_Settings_Modules' ) ) :
- <?php _e( 'SportsPress Pro', 'sportspress' ); ?> + <?php esc_html_e( 'SportsPress Pro', 'sportspress' ); ?>
-

+

- - + +

@@ -104,16 +104,16 @@ if ( ! class_exists( 'SP_Settings_Modules' ) ) :
- +
-

+

- - + +

@@ -122,16 +122,16 @@ if ( ! class_exists( 'SP_Settings_Modules' ) ) :
- +
-

+

- - + +

@@ -192,7 +192,7 @@ if ( ! class_exists( 'SP_Settings_Modules' ) ) :
- +
- -

+ +

- - + +

@@ -234,15 +234,15 @@ if ( ! class_exists( 'SP_Settings_Modules' ) ) : - + - + - - + + - - + + - + - + - + - + - + - + - + - + - - + + - - + + - - + + - - + + - - + + - + @@ -208,7 +208,7 @@ if ( ! class_exists( 'SP_Settings_Status' ) ) : @@ -220,13 +220,13 @@ if ( ! class_exists( 'SP_Settings_Status' ) ) : - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -519,7 +519,7 @@ if ( ! class_exists( 'SP_Settings_Status' ) ) : @@ -527,7 +527,7 @@ if ( ! class_exists( 'SP_Settings_Status' ) ) : - + @@ -569,7 +569,7 @@ if ( ! class_exists( 'SP_Settings_Status' ) ) : ?> - + - + - + - + @@ -647,14 +647,14 @@ if ( ! class_exists( 'SP_Settings_Status' ) ) : if ( $found_files ) { foreach ( $found_files as $plugin_name => $found_plugin_files ) { ?> - + - - + +
- +
- > -
- + -

+

- + -

+

    diff --git a/includes/admin/settings/class-sp-settings-status.php b/includes/admin/settings/class-sp-settings-status.php index 1768aa45..1464ce0e 100644 --- a/includes/admin/settings/class-sp-settings-status.php +++ b/includes/admin/settings/class-sp-settings-status.php @@ -41,10 +41,10 @@ if ( ! class_exists( 'SP_Settings_Status' ) ) : */ public function output() { ?> -

    +

    -

    -

    +

    +


    @@ -52,45 +52,45 @@ if ( ! class_exists( 'SP_Settings_Status' ) ) :
::
::
:: version ); ?>
::
::
::
::
:: ' . sprintf( __( '%1$s - We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP', 'sportspress' ), size_format( $memory ), 'http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP' ) . ''; + echo '' . sprintf( esc_html__( '%1$s - We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP', 'sportspress' ), esc_html( size_format( $memory ) ), 'http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP' ) . ''; } else { - echo '' . size_format( $memory ) . ''; + echo '' . esc_html( size_format( $memory ) ) . ''; } ?>
:: ' . __( 'Yes', 'sportspress' ) . ''; + echo '' . esc_html__( 'Yes', 'sportspress' ) . ''; } else { - echo '' . __( 'No', 'sportspress' ) . ''; + echo '' . esc_html__( 'No', 'sportspress' ) . ''; } ?>
::
::
::
::
::
::
:: ' . sprintf( __( 'Default timezone is %s - it should be UTC', 'sportspress' ), $default_timezone ) . ''; + echo '' . sprintf( esc_html__( 'Default timezone is %s - it should be UTC', 'sportspress' ), $default_timezone ) . ''; } else { - echo '' . sprintf( __( 'Default timezone is %s', 'sportspress' ), $default_timezone ) . ''; + echo '' . sprintf( esc_html__( 'Default timezone is %s', 'sportspress' ), $default_timezone ) . ''; } ?>
: - +
::
::
::
::
::
::
::
::
::
::
::
::
- publish; ?> publish, future; ?> future, draft; ?> draft, private; ?> private, trash; ?> trash, {'auto-draft'}; ?> auto-draft, inherit; ?> inherit + publish ); ?> publish, future ); ?> future, draft ); ?> draft, private ); ?> private, trash ); ?> trash, {'auto-draft'} ); ?> auto-draft, inherit ); ?> inherit
:: Name ); @@ -577,19 +577,19 @@ if ( ! class_exists( 'SP_Settings_Status' ) ) :
:: Version ); if ( ! empty( $theme_version_data['version'] ) && version_compare( $theme_version_data['version'], $active_theme->Version, '!=' ) ) { - echo ' – ' . $theme_version_data['version'] . ' ' . __( 'is available', 'sportspress' ) . ''; + echo ' – ' . esc_html( $theme_version_data['version'] ) . ' ' . esc_html__( 'is available', 'sportspress' ) . ''; } ?>
:: {'Author URI'} ); @@ -600,7 +600,7 @@ if ( ! class_exists( 'SP_Settings_Status' ) ) :
(): (): ', array_map( 'wp_kses_post', $found_plugin_files ) ); ?> ::