Patch legacy file

This commit is contained in:
Brian Miyaji
2021-11-17 11:56:34 +09:00
parent 9a8ee082f7
commit e4b1272413

View File

@@ -1195,7 +1195,7 @@ if ( ! function_exists( 'sp_post_checklist' ) ) {
endif;
?>
">
<?php echo wp_kses( str_repeat( '<ul><li>', sizeof( $parents ) ) ); ?>
<?php echo str_repeat( '<ul><li>', sizeof( $parents ) ); ?>
<label class="selectit">
<input type="checkbox" value="<?php echo esc_attr( $post->ID ); ?>" name="<?php echo esc_attr( $slug ); ?><?php if ( isset( $index ) ) { echo '[' . esc_attr( $index ) . ']';} ?>[]"
<?php
@@ -1205,7 +1205,7 @@ if ( ! function_exists( 'sp_post_checklist' ) ) {
>
<?php echo esc_html( sp_get_player_name_with_number( $post->ID ) ); ?>
</label>
<?php echo wp_kses( str_repeat( '</li></ul>', sizeof( $parents ) ) ); ?>
<?php echo str_repeat( '</li></ul>', sizeof( $parents ) ); ?>
</li>
<?php
endforeach;