WordPress.org

Making WordPress.org

Changeset 2282


Ignore:
Timestamp:
01/12/2016 08:14:11 PM (6 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Allow use of 'code' tags in changelog descriptions.

Example: https://developer.wordpress.org/reference/functions/register_taxonomy/

See r2206.
Fixes #1468.

File:
1 edited

Legend:

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

    r2223 r2282  
    758758            foreach ( $since_meta as $meta ) {
    759759                if ( is_array( $meta ) && $since_term->name == $meta['content'] ) {
    760                     $description = empty( $meta['description'] ) ? '' : '<span class="since-description">' . esc_html( strip_tags( $meta['description'] ) ) . '</span>';
     760                    $description = empty( $meta['description'] ) ? '' : '<span class="since-description">' . \DevHub_Formatting::format_param_description( $meta['description'] ) . '</span>';
    761761
    762762                    $data[ $since_term->name ] = array(
Note: See TracChangeset for help on using the changeset viewer.