From f2ded7b97a42b587d30c73a3409e9c7ec2ef5041 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Sat, 6 Nov 2021 20:16:48 +0900 Subject: [PATCH] Escape outputs in core functions --- includes/sp-core-functions.php | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/includes/sp-core-functions.php b/includes/sp-core-functions.php index 3e58bb2c..8d29cf47 100644 --- a/includes/sp-core-functions.php +++ b/includes/sp-core-functions.php @@ -1036,8 +1036,8 @@ if ( !function_exists( 'sp_post_checklist' ) ) { if ( ! isset( $slug ) ) $slug = $meta; ?> -
- +
+
  • ">
  • ', sizeof( $parents ) ); ?>
', sizeof( $parents ) ); ?> @@ -1104,10 +1104,10 @@ if ( !function_exists( 'sp_post_checklist' ) ) { ?>
  • - +
  • -
  • +
  • @@ -1120,7 +1120,7 @@ if ( !function_exists( 'sp_column_checklist' ) ) { if ( ! isset( $post_id ) ) global $post_id; ?> -
    +
    • @@ -1158,8 +1158,8 @@ if ( !function_exists( 'sp_column_checklist' ) ) { ?>
    • -
      + @@ -1282,10 +1282,10 @@ if ( !function_exists( 'sp_taxonomy_adder' ) ) { if ( $label == null ) $label = __( 'Add New', 'sportspress' ); ?> -
      + @@ -1554,7 +1554,7 @@ if ( !function_exists( 'sp_taxonomy_field' ) ) { if ( $obj ) { $post_type = get_post_type( $post ); ?> -
      +

      labels->singular_name; ?>