From 7ea2dd25dcf32d3776c46738cb42bf0578078452 Mon Sep 17 00:00:00 2001
From: Utkarsh Kukreti <utkarshkukreti@gmail.com>
Date: Fri, 13 May 2011 12:13:43 +0530
Subject: [PATCH] Fix markup on credits page, see #17384.
---
wp-admin/credits.php | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/wp-admin/credits.php b/wp-admin/credits.php
index ef2944f..df427b0 100644
|
a
|
b
|
if ( ! $results ) { |
| 68 | 68 | exit; |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | | echo '<p>' . __( "WordPress is created by a worldwide team of passionate individuals. We couldn't possibly list them all, but here some of the most influential people currently involved with the project:" ) . "<p>\n"; |
| | 71 | echo '<p>' . __( "WordPress is created by a worldwide team of passionate individuals. We couldn't possibly list them all, but here some of the most influential people currently involved with the project:" ) . "</p>\n"; |
| 72 | 72 | |
| 73 | 73 | $gravatar = is_ssl() ? 'https://secure.gravatar.com/avatar/' : 'http://0.gravatar.com/avatar/'; |
| 74 | 74 | |
| | 75 | $counter = 0; |
| 75 | 76 | foreach ( $results['people'] as $group_slug => $members ) { |
| 76 | 77 | echo '<h3 class="wp-people-group">' . translate( $results['groups'][ $group_slug ] ) . "</h3>\n"; |
| 77 | 78 | echo '<ul class="wp-people-group" id="wp-people-group-' . $group_slug . '">' . "\n"; |
| 78 | 79 | shuffle( $members ); // We were going to sort by ability to pronounce "hierarchical," but that wouldn't be fair to Matt. |
| 79 | 80 | foreach ( $members as $member_slug => $member ) { |
| 80 | | echo '<li class="wp-person" id="wp-person-' . $member_slug . '"><img src="' . $gravatar . $member[3] . '?s=60" class="gravatar" /><a class="web" href="' . $results['data']['profile_prefix'] . $member[2] . '">' . $member[0] . '</a><br /><span class="title">' . translate( $member[1] ) . "</span></li>\n"; |
| | 81 | echo '<li class="wp-person" id="wp-person-' . $counter . '"><img src="' . $gravatar . $member[3] . '?s=60" class="gravatar" alt="' . $member[0] . '" /><a class="web" href="' . $results['data']['profile_prefix'] . $member[2] . '">' . $member[0] . '</a><br /><span class="title">' . translate( $member[1] ) . "</span></li>\n"; |
| | 82 | $counter++; |
| 81 | 83 | } |
| 82 | 84 | echo "</ul>\n"; |
| 83 | 85 | } |
| … |
… |
__( 'Designer' ); |
| 112 | 114 | __( 'XML-RPC Developer' ); |
| 113 | 115 | __( 'Internationalization' ); |
| 114 | 116 | |
| 115 | | ?> |
| 116 | | No newline at end of file |
| | 117 | ?> |