Skip to content

Commit 7ca1204

Browse files
authored
Update escaping to keep escaping $this->items
Signed-off-by: Scott Kingsley Clark <scott@skc.dev>
1 parent 792fadb commit 7ca1204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/PodsUI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4711,7 +4711,7 @@ public function screen_meta() {
47114711
if ( true === $this->pagination ) {
47124712
?>
47134713
<input type="text" class="screen-per-page" name="wp_screen_options[value]" id="<?php echo esc_attr( $this->unique_identifier ); ?>_per_page" maxlength="3" value="20">
4714-
<label for="<?php echo esc_attr( $this->unique_identifier ); ?>_per_page"><?php printf( esc_html__( '%s per page', 'pods' ), $this->items ); ?></label>
4714+
<label for="<?php echo esc_attr( $this->unique_identifier ); ?>_per_page"><?php echo esc_html( sprintf( __( '%s per page', 'pods' ), $this->items ) ); ?></label>
47154715
<?php
47164716
}
47174717
$this->do_hook( 'screen_meta_screen_submit' );

0 commit comments

Comments
 (0)