Changeset 4802
- Timestamp:
- 01/26/2017 09:59:20 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-cli/inc/class-handbook.php
r4791 r4802 12 12 if ( ! is_singular( 'handbook' ) 13 13 || ! is_main_query() 14 || ! in_the_loop() ) { 14 || ! in_the_loop() 15 || get_the_ID() !== get_queried_object_id() ) { 15 16 return $title; 16 17 } 17 18 // Unhook, so the filter is only run once on the page19 remove_filter( 'the_title', array( 'WPOrg_Cli\Handbook', 'filter_the_title_edit_link' ) );20 18 21 19 $markdown_source = self::get_markdown_edit_link( get_the_ID() );
Note: See TracChangeset
for help on using the changeset viewer.