Changeset 1057 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-wp-parser-hook.php
- Timestamp:
- 12/19/2014 09:57:26 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-wp-parser-hook.php
r1053 r1057 44 44 45 45 <?php 46 $explanation = '';46 $explanation = get_explanation_field( 'post_content', get_the_ID() ); 47 47 if ( $explanation ) : 48 48 ?> … … 50 50 <section class="explanation"> 51 51 <h2><?php _e( 'Explanation', 'wporg' ); ?></h2> 52 <?php the_content(); ?>52 <?php echo apply_filters( 'the_content', apply_filters( 'get_the_content', $explanation ) ); ?> 53 53 </section> 54 54 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.