Changeset 5581 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/formatting.php
- Timestamp:
- 06/15/2017 11:16:36 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/formatting.php
r5579 r5581 181 181 $link = '<a href="' . 182 182 get_post_type_archive_link( 'wp-parser-hook' ) . 183 sanitize_ key( html_entity_decode( $hook[1] ) ) . '/' .183 sanitize_title_with_dashes( html_entity_decode( $hook[1] ) ) . '/' . 184 184 '">' . esc_html( $link ) . '</a>'; 185 185 } … … 206 206 $link = '<a href="' . 207 207 get_post_type_archive_link( 'wp-parser-function' ) . 208 str_replace( '()', '', $link) .208 sanitize_title_with_dashes( html_entity_decode( $link ) ) . 209 209 '">' . esc_html( $link ) . '</a>'; 210 210 }
Note: See TracChangeset
for help on using the changeset viewer.