Make WordPress Core

Ticket #35911: 35911.2.patch

File 35911.2.patch, 949 bytes (added by ramiy, 9 years ago)

Sorry, this is the latest patch

  • wp-admin/credits.php

     
    3535$credits = wp_credits();
    3636
    3737if ( ! $credits ) {
     38
    3839        echo '<p class="about-description">';
    3940        /* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
    4041        printf( __( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
     
    4243                __( 'https://make.wordpress.org/' )
    4344        );
    4445        echo '</p>';
    45         include( ABSPATH . 'wp-admin/admin-footer.php' );
    46         exit;
    47 }
    4846
     47} else {
     48
    4949echo '<p class="about-description">' . __( 'WordPress is created by a worldwide team of passionate individuals.' ) . "</p>\n";
    5050
    5151foreach ( $credits['groups'] as $group_slug => $group_data ) {
     
    104104        );
    105105?></p>
    106106
     107<?php
     108}
     109?>
     110
    107111</div>
    108112<?php
    109113