Skip to:
Content

BuddyPress.org

Changeset 10166


Ignore:
Timestamp:
10/03/2015 04:55:20 AM (9 years ago)
Author:
mercime
Message:

Theme Compat: Add singular.php to list of wrapper templates.

singular.php is a new template file introduced in WP 4.3.0 which
serves as fallback for page.php and single.php.

Fixes #6636.

File:
1 edited

Legend:

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

    r10108 r10166  
    545545 *
    546546 * @since 1.7.0
     547 * @since 2.4.0 Added singular.php to stack
    547548 *
    548549 * @return array Array of possible root level wrapper template files.
     
    556557        'page.php',
    557558        'single.php',
     559        'singular.php',
    558560        'index.php'
    559561    ) );
Note: See TracChangeset for help on using the changeset viewer.