Make WordPress Core

Ticket #17384: 0001-Fix-markup-on-credits-page-see-17384.patch

File 0001-Fix-markup-on-credits-page-see-17384.patch, 2.3 KB (added by Utkarsh, 13 years ago)
  • wp-admin/credits.php

    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 ) { 
    6868        exit;
    6969}
    7070
    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";
     71echo '<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";
    7272
    7373$gravatar = is_ssl() ? 'https://secure.gravatar.com/avatar/' : 'http://0.gravatar.com/avatar/';
    7474
     75$counter = 0;
    7576foreach ( $results['people'] as $group_slug => $members ) {
    7677        echo '<h3 class="wp-people-group">' . translate( $results['groups'][ $group_slug ] ) . "</h3>\n";
    7778        echo '<ul class="wp-people-group" id="wp-people-group-' . $group_slug . '">' . "\n";
    7879        shuffle( $members ); // We were going to sort by ability to pronounce "hierarchical," but that wouldn't be fair to Matt.
    7980        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++;
    8183        }
    8284        echo "</ul>\n";
    8385}
    __( 'Designer' ); 
    112114__( 'XML-RPC Developer' );
    113115__( 'Internationalization' );
    114116
    115 ?>
    116  No newline at end of file
     117?>