Making WordPress.org


Ignore:
Timestamp:
06/23/2016 06:59:17 PM (10 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Implement Handbooks table of contents functionality for the "More Information" sections of parsed post types.

Props DrewAPicture.
Fixes #1548.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference.php

    r2984 r3563  
    8484        <section class="explanation">
    8585            <h2><?php _e( 'More Information', 'wporg' ); ?></h2>
    86             <?php echo apply_filters( 'the_content', apply_filters( 'get_the_content', $explanation ) ); ?>
     86
     87            <?php
     88            // Output the explanation. Passed through 'the_content' on retrieval, thus no escaping.
     89            echo $explanation;
     90            ?>
    8791        </section>
    8892    <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.