Skip to:
Content

bbPress.org

Changeset 5950


Ignore:
Timestamp:
10/28/2015 03:09:48 AM (5 years ago)
Author:
netweb
Message:

Theme Compatibility: Add support for singular.php in the root template hierarchy.

This changeset adds upport for the singular.php fallback template introduced in [WP22314]

Props mercime
Fixes #2868

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/core/template-loader.php

    r5829 r5950  
    1616 * Listens to the 'template_include' filter and waits for any bbPress specific
    1717 * template condition to be met. If one is met and the template file exists,
    18  * it will be used; otherwise 
     18 * it will be used; otherwise
    1919 *
    2020 * Note that the _edit() checks are ahead of their counterparts, to prevent them
     
    509509 * Get the templates to use as the endpoint for bbPress template parts
    510510 *
    511  * @since bbPress (r3311)
     511 * @since 2.0.0 bbPress (r3311)
     512 * @since 2.6.0 bbPress (r5950) Added `singular.php` to template stack
    512513 *
    513514 * @uses apply_filters()
     
    525526        'page.php',
    526527        'single.php',
     528        'singular.php',
    527529        'index.php'
    528530    );
Note: See TracChangeset for help on using the changeset viewer.