Escape outputs

This commit is contained in:
Brian Miyaji
2021-11-13 20:42:08 +09:00
parent 051d3e3055
commit 23ba2446b1
190 changed files with 2837 additions and 2837 deletions

View File

@@ -28,13 +28,13 @@ class SP_Templates {
'sportspress_before_event_template',
array(
'logos' => array(
'title' => __( 'Teams', 'sportspress' ),
'title' => esc_attr__( 'Teams', 'sportspress' ),
'option' => 'sportspress_event_show_logos',
'action' => 'sportspress_output_event_logos',
'default' => 'yes',
),
'excerpt' => array(
'title' => __( 'Excerpt', 'sportspress' ),
'title' => esc_attr__( 'Excerpt', 'sportspress' ),
'option' => 'sportspress_event_show_excerpt',
'action' => 'sportspress_output_post_excerpt',
'default' => 'yes',
@@ -43,7 +43,7 @@ class SP_Templates {
),
array(
'content' => array(
'title' => __( 'Article', 'sportspress' ),
'title' => esc_attr__( 'Article', 'sportspress' ),
'option' => 'sportspress_event_show_content',
'action' => 'sportspress_output_event_content',
'default' => 'yes',
@@ -53,31 +53,31 @@ class SP_Templates {
'sportspress_after_event_template',
array(
'video' => array(
'title' => __( 'Video', 'sportspress' ),
'title' => esc_attr__( 'Video', 'sportspress' ),
'option' => 'sportspress_event_show_video',
'action' => 'sportspress_output_event_video',
'default' => 'yes',
),
'details' => array(
'title' => __( 'Details', 'sportspress' ),
'title' => esc_attr__( 'Details', 'sportspress' ),
'option' => 'sportspress_event_show_details',
'action' => 'sportspress_output_event_details',
'default' => 'yes',
),
'venue' => array(
'title' => __( 'Venue', 'sportspress' ),
'title' => esc_attr__( 'Venue', 'sportspress' ),
'option' => 'sportspress_event_show_venue',
'action' => 'sportspress_output_event_venue',
'default' => 'yes',
),
'results' => array(
'title' => __( 'Results', 'sportspress' ),
'title' => esc_attr__( 'Results', 'sportspress' ),
'option' => 'sportspress_event_show_results',
'action' => 'sportspress_output_event_results',
'default' => 'yes',
),
'performance' => array(
'title' => __( 'Box Score', 'sportspress' ),
'title' => esc_attr__( 'Box Score', 'sportspress' ),
'option' => 'sportspress_event_show_performance',
'action' => 'sportspress_output_event_performance',
'default' => 'yes',
@@ -89,7 +89,7 @@ class SP_Templates {
apply_filters( 'sportspress_before_calendar_template', array() ),
array(
'content' => array(
'title' => __( 'Description', 'sportspress' ),
'title' => esc_attr__( 'Description', 'sportspress' ),
'option' => 'sportspress_calendar_show_content',
'action' => 'sportspress_output_calendar_content',
'default' => 'yes',
@@ -99,7 +99,7 @@ class SP_Templates {
'sportspress_after_calendar_template',
array(
'data' => array(
'title' => __( 'Calendar', 'sportspress' ),
'title' => esc_attr__( 'Calendar', 'sportspress' ),
'option' => 'sportspress_calendar_show_data',
'action' => 'sportspress_output_calendar',
'default' => 'yes',
@@ -112,13 +112,13 @@ class SP_Templates {
'sportspress_before_team_template',
array(
'logo' => array(
'title' => __( 'Logo', 'sportspress' ),
'title' => esc_attr__( 'Logo', 'sportspress' ),
'option' => 'sportspress_team_show_logo',
'action' => 'sportspress_output_team_logo',
'default' => 'yes',
),
'excerpt' => array(
'title' => __( 'Excerpt', 'sportspress' ),
'title' => esc_attr__( 'Excerpt', 'sportspress' ),
'option' => 'sportspress_team_show_excerpt',
'action' => 'sportspress_output_post_excerpt',
'default' => 'yes',
@@ -127,7 +127,7 @@ class SP_Templates {
),
array(
'content' => array(
'title' => __( 'Profile', 'sportspress' ),
'title' => esc_attr__( 'Profile', 'sportspress' ),
'option' => 'sportspress_team_show_content',
'action' => 'sportspress_output_team_content',
'default' => 'yes',
@@ -137,20 +137,20 @@ class SP_Templates {
'sportspress_after_team_template',
array(
'link' => array(
'title' => __( 'Visit Site', 'sportspress' ),
'label' => __( 'Link', 'sportspress' ),
'title' => esc_attr__( 'Visit Site', 'sportspress' ),
'label' => esc_attr__( 'Link', 'sportspress' ),
'option' => 'sportspress_team_show_link',
'action' => 'sportspress_output_team_link',
'default' => 'no',
),
'details' => array(
'title' => __( 'Details', 'sportspress' ),
'title' => esc_attr__( 'Details', 'sportspress' ),
'option' => 'sportspress_team_show_details',
'action' => 'sportspress_output_team_details',
'default' => 'no',
),
'staff' => array(
'title' => __( 'Staff', 'sportspress' ),
'title' => esc_attr__( 'Staff', 'sportspress' ),
'option' => 'sportspress_team_show_staff',
'action' => 'sportspress_output_team_staff',
'default' => 'yes',
@@ -162,7 +162,7 @@ class SP_Templates {
apply_filters( 'sportspress_before_table_template', array() ),
array(
'content' => array(
'title' => __( 'Description', 'sportspress' ),
'title' => esc_attr__( 'Description', 'sportspress' ),
'option' => 'sportspress_table_show_content',
'action' => 'sportspress_output_table_content',
'default' => 'yes',
@@ -172,7 +172,7 @@ class SP_Templates {
'sportspress_after_table_template',
array(
'data' => array(
'title' => __( 'League Table', 'sportspress' ),
'title' => esc_attr__( 'League Table', 'sportspress' ),
'option' => 'sportspress_table_show_data',
'action' => 'sportspress_output_league_table',
'default' => 'yes',
@@ -185,26 +185,26 @@ class SP_Templates {
'sportspress_before_player_template',
array(
'selector' => array(
'title' => __( 'Dropdown', 'sportspress' ),
'label' => __( 'Players', 'sportspress' ),
'title' => esc_attr__( 'Dropdown', 'sportspress' ),
'label' => esc_attr__( 'Players', 'sportspress' ),
'option' => 'sportspress_player_show_selector',
'action' => 'sportspress_output_player_selector',
'default' => 'yes',
),
'photo' => array(
'title' => __( 'Photo', 'sportspress' ),
'title' => esc_attr__( 'Photo', 'sportspress' ),
'option' => 'sportspress_player_show_photo',
'action' => 'sportspress_output_player_photo',
'default' => 'yes',
),
'details' => array(
'title' => __( 'Details', 'sportspress' ),
'title' => esc_attr__( 'Details', 'sportspress' ),
'option' => 'sportspress_player_show_details',
'action' => 'sportspress_output_player_details',
'default' => 'yes',
),
'excerpt' => array(
'title' => __( 'Excerpt', 'sportspress' ),
'title' => esc_attr__( 'Excerpt', 'sportspress' ),
'option' => 'sportspress_player_show_excerpt',
'action' => 'sportspress_output_post_excerpt',
'default' => 'yes',
@@ -213,7 +213,7 @@ class SP_Templates {
),
array(
'content' => array(
'title' => __( 'Profile', 'sportspress' ),
'title' => esc_attr__( 'Profile', 'sportspress' ),
'option' => 'sportspress_player_show_content',
'action' => 'sportspress_output_player_content',
'default' => 'yes',
@@ -223,7 +223,7 @@ class SP_Templates {
'sportspress_after_player_template',
array(
'statistics' => array(
'title' => __( 'Statistics', 'sportspress' ),
'title' => esc_attr__( 'Statistics', 'sportspress' ),
'option' => 'sportspress_player_show_statistics',
'action' => 'sportspress_output_player_statistics',
'default' => 'yes',
@@ -235,7 +235,7 @@ class SP_Templates {
apply_filters( 'sportspress_before_list_template', array() ),
array(
'content' => array(
'title' => __( 'Description', 'sportspress' ),
'title' => esc_attr__( 'Description', 'sportspress' ),
'option' => 'sportspress_list_show_content',
'action' => 'sportspress_output_list_content',
'default' => 'yes',
@@ -245,7 +245,7 @@ class SP_Templates {
'sportspress_after_list_template',
array(
'data' => array(
'title' => __( 'Player List', 'sportspress' ),
'title' => esc_attr__( 'Player List', 'sportspress' ),
'option' => 'sportspress_list_show_data',
'action' => 'sportspress_output_player_list',
'default' => 'yes',
@@ -258,26 +258,26 @@ class SP_Templates {
'sportspress_before_staff_template',
array(
'selector' => array(
'title' => __( 'Dropdown', 'sportspress' ),
'label' => __( 'Staff', 'sportspress' ),
'title' => esc_attr__( 'Dropdown', 'sportspress' ),
'label' => esc_attr__( 'Staff', 'sportspress' ),
'option' => 'sportspress_staff_show_selector',
'action' => 'sportspress_output_staff_selector',
'default' => 'yes',
),
'photo' => array(
'title' => __( 'Photo', 'sportspress' ),
'title' => esc_attr__( 'Photo', 'sportspress' ),
'option' => 'sportspress_staff_show_photo',
'action' => 'sportspress_output_staff_photo',
'default' => 'yes',
),
'details' => array(
'title' => __( 'Details', 'sportspress' ),
'title' => esc_attr__( 'Details', 'sportspress' ),
'option' => 'sportspress_staff_show_details',
'action' => 'sportspress_output_staff_details',
'default' => 'yes',
),
'excerpt' => array(
'title' => __( 'Excerpt', 'sportspress' ),
'title' => esc_attr__( 'Excerpt', 'sportspress' ),
'option' => 'sportspress_staff_show_excerpt',
'action' => 'sportspress_output_post_excerpt',
'default' => 'yes',
@@ -286,7 +286,7 @@ class SP_Templates {
),
array(
'content' => array(
'title' => __( 'Profile', 'sportspress' ),
'title' => esc_attr__( 'Profile', 'sportspress' ),
'option' => 'sportspress_staff_show_content',
'action' => 'sportspress_output_staff_content',
'default' => 'yes',