WordPress.org

Make WordPress Core

Ticket #12641: twentyten.diff

File twentyten.diff, 1.0 KB (added by josephscott, 8 years ago)
  • wp-content/themes/twentyten/footer.php

     
    2020
    2121<?php wp_footer(); ?>
    2222
     23<?php if ( is_singular() ) wp_print_scripts( 'comment-reply' ); ?>
     24
    2325</body>
    2426</html>
  • wp-content/themes/twentyten/header.php

     
    2020        <link rel="profile" href="http://gmpg.org/xfn/11" />
    2121        <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
    2222        <link rel="stylesheet" type="text/css" media="print" href="<?php bloginfo( 'stylesheet_directory' ); ?>/print.css" />
    23         <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    2423        <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    2524        <?php wp_head(); ?>
    2625</head>