diff --git a/includes/admin/settings/class-sp-settings-general.php b/includes/admin/settings/class-sp-settings-general.php index f211baff..4ef17f0e 100644 --- a/includes/admin/settings/class-sp-settings-general.php +++ b/includes/admin/settings/class-sp-settings-general.php @@ -356,7 +356,7 @@ class SP_Settings_General extends SP_Settings_Page {
$colors ) { ?>
- + diff --git a/includes/admin/settings/class-sp-settings-licenses.php b/includes/admin/settings/class-sp-settings-licenses.php index f133cbae..c1c5052d 100644 --- a/includes/admin/settings/class-sp-settings-licenses.php +++ b/includes/admin/settings/class-sp-settings-licenses.php @@ -62,7 +62,7 @@ class SP_Settings_Licenses extends SP_Settings_Page { $status = get_site_option( 'sportspress_' . $id . '_license_status', false ); ?>
-

+

diff --git a/includes/admin/settings/class-sp-settings-modules.php b/includes/admin/settings/class-sp-settings-modules.php index 7725c669..2c3a8dc0 100644 --- a/includes/admin/settings/class-sp-settings-modules.php +++ b/includes/admin/settings/class-sp-settings-modules.php @@ -193,7 +193,7 @@ class SP_Settings_Modules extends SP_Settings_Page { - + + @@ -114,7 +114,7 @@ $columns = get_option( 'sportspress_player_columns', 'auto' ); > - + @@ -215,7 +215,7 @@ $columns = get_option( 'sportspress_player_columns', 'auto' ); ?> - + @@ -326,7 +326,7 @@ $columns = get_option( 'sportspress_player_columns', 'auto' ); > - + diff --git a/includes/admin/views/html-admin-page-status.php b/includes/admin/views/html-admin-page-status.php index 8f7b933b..59710d04 100644 --- a/includes/admin/views/html-admin-page-status.php +++ b/includes/admin/views/html-admin-page-status.php @@ -349,7 +349,7 @@ diff --git a/includes/admin/views/html-admin-settings.php b/includes/admin/views/html-admin-settings.php index 613b7a65..3d7ee6c1 100644 --- a/includes/admin/views/html-admin-settings.php +++ b/includes/admin/views/html-admin-settings.php @@ -2,7 +2,7 @@

' ); ?>

Defaultformats->event as $key => $format ): ?> - + @@ -761,7 +761,7 @@ class SP_AJAX { formats->event as $key => $format ): ?> - + diff --git a/includes/class-sp-countries.php b/includes/class-sp-countries.php index b56ddb17..ce3f6042 100644 --- a/includes/class-sp-countries.php +++ b/includes/class-sp-countries.php @@ -730,7 +730,7 @@ class SP_Countries { * @return string */ public function get_base_country() { - $default = esc_attr( get_option('sportspress_default_country') ); + $default = get_option('sportspress_default_country'); $country = ( ( $pos = strrpos( $default, ':' ) ) === false ) ? $default : substr( $default, 0, $pos ); return apply_filters( 'sportspress_countries_base_country', $country ); diff --git a/includes/sp-template-functions.php b/includes/sp-template-functions.php index 15b50ae7..dd7f3be6 100644 --- a/includes/sp-template-functions.php +++ b/includes/sp-template-functions.php @@ -86,7 +86,7 @@ if ( ! function_exists( 'sportspress_taxonomy_archive_description' ) ) { if ( is_tax( array( 'sp_season', 'sp_league', 'sp_venue', 'sp_position' ) ) && get_query_var( 'paged' ) == 0 ) { $description = apply_filters( 'the_content', term_description() ); if ( $description ) { - echo '
' . esc_html( $description ) . '
'; + echo '
' . wp_kses_post( $description ) . '
'; } } }
$category ) { ?> -

+

labels->name ); + echo esc_html( $object->labels->name ); ?>: @@ -442,13 +442,13 @@ class SP_Settings_Status extends SP_Settings_Page {
: Name ); + echo esc_html( $active_theme->Name ); ?>
: Version ); + echo esc_html( $active_theme->Version ); if ( ! empty( $theme_version_data['version'] ) && version_compare( $theme_version_data['version'], $active_theme->Version, '!=' ) ) echo ' – ' . $theme_version_data['version'] . ' ' . __( 'is available', 'sportspress' ) . ''; diff --git a/includes/admin/views/html-admin-config.php b/includes/admin/views/html-admin-config.php index f91e09fc..f2b9d0d1 100644 --- a/includes/admin/views/html-admin-config.php +++ b/includes/admin/views/html-admin-config.php @@ -37,8 +37,8 @@ $columns = get_option( 'sportspress_player_columns', 'auto' ); > - post_title ); ?>post_name ); ?>post_title ); ?>post_name ); ?> ID ) ); ?> ID ) ); ?>

post_excerpt ); ?>

post_name ); ?>> post_name ); ?>for, post_name ); ?>againstpost_name ); ?>for, post_name ); ?>against ID ) ); ?> ID ) ); ?>

post_excerpt ); ?>

post_title ); ?>post_name ); ?>post_name ); ?> ID ) ); ?> ID ) ); ?> post_title ); ?>post_name ); ?>post_name ); ?>

post_excerpt ); ?>

labels->name ); + echo esc_html( $object->labels->name ); ?>: @@ -401,7 +401,7 @@
: Name ); + echo esc_html( $active_theme->Name ); ?>