Making WordPress.org


Ignore:
Timestamp:
05/05/2020 02:50:09 AM (4 years ago)
Author:
dd32
Message:

Plugin Directory: API: Update to respect the new markup format introduced in [9826].

See #5191.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-plugin.php

    r9747 r9827  
    333333    protected function get_simplified_faq_markup( $markup ) {
    334334        $markup = str_replace(
    335             array( '<dl>', '</dl>', '<dt>', '</dt>', '<dd>', '</dd>' ),
    336             array( '',     '',      '<h4>', '</h4>', '<p>',  '</p>'  ),
     335            array( '<dl>', '</dl>', '<dt>', '</dt>', '<h3>', '</h3>', '<dd>', '</dd>' ),
     336            array( '',     '',      '<h4>', '</h4>', '',      '',     '<p>',  '</p>'  ),
    337337            $markup
    338338        );
Note: See TracChangeset for help on using the changeset viewer.