Making WordPress.org

Changeset 1909


Ignore:
Timestamp:
09/24/2015 05:31:33 AM (10 years ago)
Author:
drewapicture
Message:

DevHub: Ensure the "Parsed Summary" and "Parsed Description" inputs are correctly labeled in the "Parsed Content" meta box.

Also fix some styling in the meta box to properly hide the excerpt textarea element by default and make it large enough to see the entire summary when active.

Fixes #1248.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
Files:
3 edited

Legend:

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

    r1847 r1909  
    8585            <tr valign="top">
    8686                <th scope="row">
    87                     <label for="excerpt"><?php _e( 'Parsed Description:', 'wporg' ); ?></label>
     87                    <label for="excerpt"><?php _e( 'Parsed Summary:', 'wporg' ); ?></label>
    8888                </th>
    8989                <td>
    9090                    <div class="wporg_parsed_readonly <?php echo $ticket ? 'hidden' : ''; ?>"><?php echo apply_filters( 'the_content', $post->post_excerpt ); ?></div>
    91                     <textarea rows="1" cols="40" name="excerpt" id="excerpt" class="wporg_parsed_content <?php echo $ticket ? '' : 'hidden'; ?>"><?php echo $post->post_excerpt; ?></textarea>
     91                    <textarea rows="2" cols="40" name="excerpt" class="wporg_parsed_content <?php echo $ticket ? '' : 'hidden'; ?>"><?php echo $post->post_excerpt; ?></textarea>
    9292                </td>
    9393            </tr><!-- .wporg_parsed_content -->
    9494            <tr valign="top" data-id="<?php the_id(); ?>">
    9595                <th scope="row">
    96                     <label for="wporg_parsed_content"><?php _e( 'Parsed Summary:', 'wporg' ); ?></label>
     96                    <label for="wporg_parsed_content"><?php _e( 'Parsed Description:', 'wporg' ); ?></label>
    9797                </th>
    9898                <td>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/admin.scss

    r1846 r1909  
    7676    }
    7777}
     78
     79/* Parsed Content Meta Box */
     80.wporg_parsed_content {
     81    width: 100%;
     82}
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/admin.css

    r1846 r1909  
    7171  margin-top: 0;
    7272}
     73
     74/* Parsed Content Meta Box */
     75.wporg_parsed_content {
     76  width: 100%;
     77}
Note: See TracChangeset for help on using the changeset viewer.