Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/11/2014 05:25:09 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Convert template notices from paragraph tags to unordered lists.

Improves accessibility by hinting there may be several notices on the page.

Props Karl Groves, netweb. FIxes #2637.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/topics/template.php

    r5561 r5563  
    34353435        $r = bbp_parse_args( $args, array(
    34363436            'topic_id'  => 0,
    3437             'before'    => '<div class="bbp-template-notice info"><p class="bbp-topic-description">',
    3438             'after'     => '</p></div>',
     3437            'before'    => '<div class="bbp-template-notice info"><ul><li class="bbp-topic-description">',
     3438            'after'     => '</li></ul></div>',
    34393439            'size'      => 14
    34403440        ), 'get_single_topic_description' );
Note: See TracChangeset for help on using the changeset viewer.