Settings API should use h3 rather than h4 when outputting titles

This commit is contained in:
Mike Jolley 2014-10-08 15:06:38 +01:00
parent 99931d9a80
commit e9393ddaf7
1 changed files with 1 additions and 1 deletions

View File

@ -620,7 +620,7 @@ abstract class WC_Settings_API {
ob_start(); ob_start();
?> ?>
</table> </table>
<h4 class="wc-settings-sub-title <?php echo esc_attr( $data['class'] ); ?>"><?php echo wp_kses_post( $data['title'] ); ?></h4> <h3 class="wc-settings-sub-title <?php echo esc_attr( $data['class'] ); ?>"><?php echo wp_kses_post( $data['title'] ); ?></h3>
<?php if ( ! empty( $data['description'] ) ) : ?> <?php if ( ! empty( $data['description'] ) ) : ?>
<p><?php echo wp_kses_post( $data['description'] ); ?></p> <p><?php echo wp_kses_post( $data['description'] ); ?></p>
<?php endif; ?> <?php endif; ?>