Making WordPress.org


Ignore:
Timestamp:
05/12/2014 01:52:26 PM (13 years ago)
Author:
samuelsidler
Message:

Handbook plugin: Backout fix for #464 because it breaks developer handbook table of contents.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/table-of-contents.php

    r606 r609  
    3131                else
    3232                        $pages_header = 'h3';
     33
     34                if ( $pages = wp_list_pages( array( 'child_of' => get_the_ID(), 'echo' => false, 'title_li' => false, 'post_type' => $this->post_type ) ) )
     35            $toc .= "<$pages_header>Pages</$pages_header><ul class=\"items\">$pages</ul>";
    3336
    3437                if ( $items ) {
Note: See TracChangeset for help on using the changeset viewer.