WordPress.org

Make WordPress Core

Ticket #23090: 23090.patch

File 23090.patch, 885 bytes (added by SergeyBiryukov, 5 years ago)
  • wp-includes/template.php

     
    189189/**
    190190 * Retrieve path of home template in current or parent template.
    191191 *
    192  * This is the template used for the page containing the blog posts
     192 * This is the template used for the page containing the blog posts.
    193193 *
    194194 * Attempts to locate 'home.php' first before falling back to 'index.php'.
    195195 *
     
    224224 * Retrieve path of page template in current or parent template.
    225225 *
    226226 * Will first look for the specifically assigned page template
    227  * The will search for 'page-{slug}.php' followed by 'page-id.php'
    228  * and finally 'page.php'
     227 * Then will search for 'page-{slug}.php' followed by 'page-id.php'
     228 * and finally 'page.php'.
    229229 *
    230230 * @since 1.5.0
    231231 *