• Resolved henningandersen

    (@henningandersen)


    Hi
    I’ve discovered a bug in the hook-header.php file. The date format in the header is hardcoded – it should (in my opinion) rely on the global setup of date format in WordPress.

    From the code:

    <?php if($header_data_enable == true)
    {
    ?>
    <ul class=”info-left”>

    • <?php
      echo date_i18n(‘D. M jS, Y’, strtotime(current_time(“Y-m-d”)));
      if($header_time_enable == true) { ?>
      <span id =”time” class=”time”></span>
      <?php } ?>
    • <?php } ?>

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Bug in hook-header.php’ is closed to new replies.