Changeset 3796 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/reference/template-explanation.php
- Timestamp:
- 08/09/2016 10:52:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/reference/template-explanation.php
r3660 r3796 17 17 <?php 18 18 // Output the explanation. Passed through 'the_content' on retrieval, thus no escaping. 19 remove_filter( 'the_content', array( 'DevHub_Formatting', 'fix_unintended_markdown' ), 1 ); 19 20 echo apply_filters( 'the_content', apply_filters( 'get_the_content', $explanation ) ); 21 add_filter( 'the_content', array( 'DevHub_Formatting', 'fix_unintended_markdown' ), 1 ); 20 22 ?> 21 23 </section>
Note: See TracChangeset
for help on using the changeset viewer.