Title: header.php, inner-wrap ID
Last modified: August 29, 2019

---

# header.php, inner-wrap ID

 *  [FrankD](https://wordpress.org/support/users/frankddo/)
 * (@frankddo)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/header-php-inner-wrap-id/)
 * Hi,
 * there is a small error in header.php.
 * Checking html gives the following mesage:
    _<div class=”inner-wrap” id=””> Bad
   value for attribute id on element div: An ID must not be the empty string.
 * 1.62 and older versions:
    <div class=”inner-wrap”>
 * above 1.62:
    new (wrong) code: <div class=”inner-wrap” id=”<?php echo esc_attr(
   $header_class ); ?>”>
 * How can this be fixed or will this be fixed with a future update?
 * best regards,
    Frank

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Rajesh – ThemeGrill Support](https://wordpress.org/support/users/rajeshpoudel/)
 * (@rajeshpoudel)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/header-php-inner-wrap-id/#post-11882037)
 * Hi,
 * We will check and fix this in the next version update of the theme. Thank you
   for your patience.
 * Thanks.
 *  [smalltownanimal](https://wordpress.org/support/users/smalltownanimal/)
 * (@smalltownanimal)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/header-php-inner-wrap-id/#post-11985750)
 * Hi there – same error here.
 * <div class=”inner-wrap” id=”<?php echo esc_attr( $header_class ); ?>”>
 * Renders as empty id. Wrecks accessibility score.
 * Any eta on a fix?
 * Absolutely loving the theme, guys. So useful.
 *  [Rajesh – ThemeGrill Support](https://wordpress.org/support/users/rajeshpoudel/)
 * (@rajeshpoudel)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/header-php-inner-wrap-id/#post-11988184)
 * Hi,
 * We have already fixed this and it will be available in the next version update
   of the theme, probably within a month.
 * Thanks.
 *  Thread Starter [FrankD](https://wordpress.org/support/users/frankddo/)
 * (@frankddo)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/header-php-inner-wrap-id/#post-12071408)
 * Thank You!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘header.php, inner-wrap ID’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/spacious/1.9.12/screenshot.jpg)
 * Spacious
 * [Support Threads](https://wordpress.org/support/theme/spacious/)
 * [Active Topics](https://wordpress.org/support/theme/spacious/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/spacious/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/spacious/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [FrankD](https://wordpress.org/support/users/frankddo/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/header-php-inner-wrap-id/#post-12071408)
 * Status: not resolved