Changeset 4410 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-developers.php
- Timestamp:
- 11/24/2016 01:38:06 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-developers.php
r4278 r4410 16 16 static function display() { 17 17 $post = get_post(); 18 $output = ''; 18 19 19 20 if ( $contributors = get_the_terms( $post->ID, 'plugin_contributors' ) ) { … … 27 28 sort( $contributors, SORT_NATURAL ); 28 29 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">'; 30 33 foreach ( $contributors as $contributor_slug ) { 31 34 $contributor = get_user_by( 'slug', $contributor_slug );
Note: See TracChangeset
for help on using the changeset viewer.