WordPress.org

Make WordPress Core

Ticket #14315: 14315-comment-template.diff

File 14315-comment-template.diff, 509 bytes (added by dougal, 4 years ago)

Fix theme-compat.php path

  • wp-includes/comment-template.php

     
    917917        elseif ( file_exists( TEMPLATEPATH . $file ) ) 
    918918                require( TEMPLATEPATH .  $file ); 
    919919        else // Backward compat code will be removed in a future release 
    920                 require( WPINC . '/theme-compat/comments.php'); 
     920                require( ABSPATH . WPINC . '/theme-compat/comments.php'); 
    921921} 
    922922 
    923923/**