Making WordPress.org


Ignore:
Timestamp:
08/26/2014 08:04:21 AM (11 years ago)
Author:
coffee2code
Message:

Code Reference: allow for mixed text and code in examples

  • Enable shortcode support in comments
  • Allow for mixed code and text in examples
  • Move functions and handling related to user submitted content into inc/user-content.php
  • Add padding around comments
File:
1 edited

Legend:

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

    r785 r813  
    9393                <li id="comment-<?php comment_ID(); ?>" <?php comment_class( empty( $args['has_children'] ) ? '' : 'parent' ); ?>>
    9494                <article id="div-comment-<?php comment_ID(); ?>" class="comment-body">
    95                     <div class="comment-content code-example-container">
    96                         <pre class="brush: php; toolbar: false;"><?php comment_text(); /* Fully escaped via filter */ ?></pre>
     95                    <div class="comment-content">
     96                        <?php comment_text(); ?>
    9797                    </div>
    9898                    <!-- .comment-content -->
Note: See TracChangeset for help on using the changeset viewer.