WordPress.org

Plugin Directory

Changeset 1363645


Ignore:
Timestamp:
03/03/16 20:42:53 (13 months ago)
Author:
ulfben
Message:

Added check for is_front_page(). UNTESTED!

https://wordpress.org/support/topic/closing-tree-issues?replies=2#post-8109975

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-dtree-30/trunk/wp-dtree-build.php

    r1257027 r1363645  
    109109    } 
    110110    if(!$forced){ //don't allow shortcutting when forcing a node open. 
    111         if(is_home()){ 
     111        if(is_home() || is_front_page()){ 
    112112            return "$tree_id.closeAll(); /*is home*/\n"; 
    113113        } 
Note: See TracChangeset for help on using the changeset viewer.