WordPress.org

Making WordPress.org

Changeset 6224


Ignore:
Timestamp:
12/03/17 20:38:23 (2 weeks ago)
Author:
drewapicture
Message:

Developer: Pass return descriptions through format_param_description() to allow for formatting hash notations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php

    r6151 r6224  
    763763 
    764764        $return      = array_shift( $return ); 
    765         $description = empty( $return['content'] ) ? '' : \DevHub_Formatting::make_doclink_clickable( $return['content'] ); 
     765        $description = empty( $return['content'] ) ? '' : \DevHub_Formatting::format_param_description( $return['content'] ); 
    766766        $type        = empty( $return['types'] ) ? '' : esc_html( implode( '|', $return['types'] ) ); 
    767767        $type        = apply_filters( 'devhub-function-return-type', $type, $post_id ); 
Note: See TracChangeset for help on using the changeset viewer.