Changeset 3047
- Timestamp:
- 04/29/2016 06:29:08 PM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/formatting.php
r2990 r3047 31 31 add_filter( 'the_content', array( __CLASS__, 'autolink_references' ), 11 ); 32 32 add_filter( 'devhub-format-description', array( __CLASS__, 'autolink_references' ) ); 33 add_filter( 'devhub-parameter-type', array( __CLASS__, 'autolink_references' ) ); 33 34 34 35 add_filter( 'devhub-format-description', array( __CLASS__, 'fix_param_hash_formatting' ), 9 ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php
r2984 r3047 556 556 $types = array(); 557 557 foreach ( $tag['types'] as $i => $v ) { 558 $types[ $i ] = "<span class=\"{$v}\">{$v}</span>";558 $types[ $i ] = sprintf( '<span class="%s">%s</span>', $v, apply_filters( 'devhub-parameter-type', $v, $post_id ) ); 559 559 } 560 560
Note: See TracChangeset
for help on using the changeset viewer.