WordPress.org

Make WordPress Core

Ticket #7348: 7348.diff

File 7348.diff, 1.7 KB (added by technosailor, 7 years ago)
  • wp-includes/query.php

     
    15251525 
    15261526                if ( $this->current_post == 0 ) // loop has just started 
    15271527                        do_action('loop_start'); 
     1528                         
     1529                do_action('loop_postcount_' . $this->current_post); 
    15281530        } 
    15291531 
    15301532        function have_posts() { 
  • wp-content/themes/default/footer.php

     
    11 
    22<hr /> 
    33<div id="footer"> 
     4<?php do_action('wp_footer_start'); ?> 
    45<!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. --> 
    56        <p> 
    67                <?php bloginfo('name'); ?> is proudly powered by 
  • wp-content/themes/default/index.php

     
    11<?php get_header(); ?> 
    22 
    33        <div id="content" class="narrowcolumn"> 
    4  
     4        <?php do_action('theme_above_content'); ?> 
    55        <?php if (have_posts()) : ?> 
    66 
    77                <?php while (have_posts()) : the_post(); ?> 
  • wp-content/themes/default/header.php

     
    3535                <div class="description"><?php bloginfo('description'); ?></div> 
    3636        </div> 
    3737</div> 
     38<?php do_action('theme_under_header'); ?> 
    3839<hr />