Ticket #706: 706.diff
File 706.diff, 688 bytes (added by , 10 years ago) |
---|
-
functions.php
508 508 '">' . esc_html( $link ) . '</a>'; 509 509 } 510 510 511 // Link to hook: {@see 'pre_get_search_form'} 512 elseif ( 1 === preg_match( '/(‘)\w+(’)/', $link, $hook ) ) { 513 if ( ! empty( $hook[0] ) ) { 514 $link = '<a href="' . 515 get_post_type_archive_link( 'wp-parser-hook' ) . 516 str_replace( array( '‘', '’' ), '', $link ) . 517 '">' . esc_html( $link ) . '</a>'; 518 } 519 } 520 511 521 // Link to function: {@link esc_attr()} 512 522 else { 513 523 $link = '<a href="' .