• Resolved Justin Tadlock

    (@greenshady)


    In this line of code in the what-the-file.php file, I recommend using PHP_INT_MAX instead of 1000:

    
    add_filter( 'template_include', array( $this, 'save_current_page' ), 1000 );
    

    I had to change that to get it to work a my theme that has a higher filter on template_include.

  • The topic ‘Use PHP_INT_MAX for priority when capturing templates’ is closed to new replies.