Making WordPress.org


Ignore:
Timestamp:
06/18/2015 08:48:16 PM (9 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Fix improper formatting introduced by parser for '' appearing in parameter docs.

Fixes #1042.
See #492.

File:
1 edited

Legend:

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

    r1675 r1676  
    604604            $encountered_optional = false;
    605605            foreach ( $tags as $tag ) {
     606                // Fix unintended markup introduced by parser.
     607                $tag = str_replace( array( '<strong>', '</strong>' ), '__', $tag );
     608
    606609                if ( ! empty( $tag['name'] ) && 'param' == $tag['name'] ) {
    607610                    $params[ $tag['variable'] ] = $tag;
Note: See TracChangeset for help on using the changeset viewer.