Making WordPress.org


Ignore:
Timestamp:
11/24/2016 01:38:06 AM (8 years ago)
Author:
dd32
Message:

Plugin Directory: Clean up the section templates, bring some custom functionality into their respective shortcodes and shifting the read-more logic from CSS/JS to PHP/HTML.

File:
1 edited

Legend:

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

    r4278 r4410  
    1616    static function display() {
    1717        $post         = get_post();
     18        $output = '';
    1819
    1920        if ( $contributors = get_the_terms( $post->ID, 'plugin_contributors' ) ) {
     
    2728        sort( $contributors, SORT_NATURAL );
    2829
    29         $output = '<ul class="plugin-developers">';
     30        $output .= '<p>' . __( 'This is open source software. The following people have contributed to this plugin.', 'wporg-plugins' ) . '</p>';
     31
     32        $output .= '<ul class="plugin-developers">';
    3033        foreach ( $contributors as $contributor_slug ) {
    3134            $contributor = get_user_by( 'slug', $contributor_slug );
Note: See TracChangeset for help on using the changeset viewer.