WordPress.org

Make WordPress Themes

Changes from davis/1.05 at r85614 to davis/1.06 at r85614


Ignore:
Location:
davis/1.06
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • davis/1.06/changelog.txt

    r85614 r85614  
    11*** Davis Changelog *** 
     2 
     3 
     4Version 1.06 (2016-10-02) 
     5------------------------- 
     6- Escaped the home_url() outputs in the header and footer 
    27 
    38 
  • davis/1.06/index.php

    r85614 r85614  
    2222            <?php if ( has_nav_menu( 'primary-menu' ) ) wp_nav_menu( array( 'theme_location' => 'primary-menu' ) ); ?> 
    2323 
    24             <h2><a href="<?php echo home_url(); ?>"><?php bloginfo( 'name' ); ?></a></h2> 
     24            <h2><a href="<?php echo esc_url( home_url() ); ?>"><?php bloginfo( 'name' ); ?></a></h2> 
    2525 
    2626            <p><?php bloginfo( 'description' ); ?></p> 
     
    120120            <footer> 
    121121                 
    122                 <p>&copy; <?php echo date( 'Y' ); ?> <a href="<?php bloginfo( 'home_url' ); ?>"><?php bloginfo( 'name' ); ?></a></p> 
     122                <p>&copy; <?php echo date( 'Y' ); ?> <a href="<?php echo esc_url( home_url() ); ?>"><?php bloginfo( 'name' ); ?></a></p> 
    123123                <p><?php _e( 'Theme by', 'davis' ); ?> <a href="http://www.andersnoren.se">Anders Nor&eacute;n</a></p> 
    124124                 
  • davis/1.06/style.css

    r85614 r85614  
    33    Theme Name: Davis 
    44    Text Domain: davis 
    5     Version: 1.05 
     5    Version: 1.06 
    66    Description: Davis is a teeny-tiny WordPress theme that can be used a starter theme or a *really* lightweight blog theme. It consists of just three PHP files and weighs in at 27 KB, excluding screenshot.png. It features the aside post format, featured images and a responsive design. 
    77    Tags: blog, one-column, custom-menu, featured-images, post-formats, threaded-comments, translation-ready 
Note: See TracChangeset for help on using the changeset viewer.