Making WordPress.org

Changeset 4468


Ignore:
Timestamp:
12/04/2016 05:17:52 PM (10 years ago)
Author:
obenland
Message:

Plugin Directory: Move styles out of plugin code.

Also updates heading structure in developers section.

See #2293.

Location:
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory
Files:
2 edited

Legend:

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

    r4410 r4468  
    5454
    5555                return $output .
    56                         '<h5>' . __( 'Browse the code', 'wporg-plugins' ) . '</h5>' .
     56                        '<h3>' . __( 'Browse the code', 'wporg-plugins' ) . '</h3>' .
    5757                        '<ul>' .
    5858                                '<li>' .
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-contributors.php

    r4335 r4468  
    4040                echo $args['before_widget'];
    4141                ?>
    42                 <style>
    43                         <?php // TODO: Yes, these need to be moved into the CSS somewhere. ?>
    44                         ul.contributors-list {
    45                                 list-style: none;
    46                                 margin: 0;
    47                                 font-size: 0.9em;
    48                         }
    49                         ul.contributors-list li {
    50                                 padding-bottom: 0.5em;
    51                         }
    52                 </style>
    5342                <h3><?php _e( 'Contributors', 'wporg-plugins' ); ?></h3>
    5443
Note: See TracChangeset for help on using the changeset viewer.