diff --git a/src/wp-admin/includes/privacy-tools.php b/src/wp-admin/includes/privacy-tools.php index 1edbcae495..d9480481f2 100644 --- a/src/wp-admin/includes/privacy-tools.php +++ b/src/wp-admin/includes/privacy-tools.php @@ -277,7 +277,7 @@ function wp_privacy_generate_personal_data_export_group_html( $group_data, $grou $group_html .= ''; } - if ( 1 < $groups_count ) { + if ( $groups_count > 1 ) { $group_html .= '
'; $group_html .= ' ' . esc_html__( 'Return to top' ) . ''; $group_html .= '
'; @@ -433,7 +433,7 @@ function wp_privacy_generate_personal_data_export_file( $request_id ) { fwrite( $file, '

' . esc_html__( 'Personal Data Export' ) . '

' ); // Create TOC. - if ( 1 < $groups_count ) { + if ( $groups_count > 1 ) { fwrite( $file, '
' ); fwrite( $file, '

' . esc_html__( 'Table of Contents' ) . '

' ); fwrite( $file, '