Ticket #7478: meta-7478.diff
File meta-7478.diff, 738 bytes (added by , 14 months ago) |
---|
-
includes/class-glossary-handler.php
73 73 return $content; 74 74 } 75 75 76 /** 77 * Determines if glossary items should be linked for the content. 78 * 79 * @param bool $do_links Should the glossary items in the content be linked? Default true. 80 * @param string $content The content being processed for glossary links. 81 */ 82 if ( ! (bool) apply_filters( 'wporg_glossary_do_links', true, $content ) ) { 83 return $content; 84 } 85 76 86 $regex = $this->glossary->get_item_names_regex(); 77 87 if ( ! $regex ) { 78 88 return $content;