X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/b3ddbea8a296025a672b3c3ddca158dc51ed8080..849f15aeed7a5e39314057bdc0064d8edd60dd7d:/wp-admin/credits.php diff --git a/wp-admin/credits.php b/wp-admin/credits.php index 773053a9..d7cbc190 100644 --- a/wp-admin/credits.php +++ b/wp-admin/credits.php @@ -7,94 +7,109 @@ */ /** WordPress Administration Bootstrap */ -require_once( './admin.php' ); +require_once( dirname( __FILE__ ) . '/admin.php' ); $title = __( 'Credits' ); -$parent_file = 'index.php'; - -add_contextual_help($current_screen, - '

' . __('Each name or handle is a link to that person’s profile in the WordPress.org community directory.') . '

' . - '

' . __('You can register your own profile at this link to start contributing.') . '

' . - '

' . __('WordPress always needs more people to report bugs, patch bugs, test betas, work on UI design, translate strings, write documentation, and add questions/answers/suggestions to the Support Forums. Join in!') . '

' . - '

' . __('For more information:') . '

' . - '

' . __('Documentation on Contributing to WordPress') . '

' . - '

' . __('Support Forums') . '

' -); - -add_action( 'admin_head', '_wp_credits_add_css' ); -function _wp_credits_add_css() { ?> - -' . esc_html( $display_name ) . ''; } +/** + * Retrieve the link to an external library used in WordPress. + * + * @access private + * @since 3.2.0 + * + * @param string &$data External library data, passed by reference. + * @return string Link to the external library. + */ function _wp_credits_build_object_link( &$data ) { $data = '' . $data[0] . ''; } -include( './admin-header.php' ); +list( $display_version ) = explode( '-', $wp_version ); + +include( ABSPATH . 'wp-admin/admin-header.php' ); ?> -
- -

+
+ +

+ +
+ +
+ + ' . sprintf( __( 'WordPress is created by a worldwide team of passionate individuals. Get involved in WordPress.' ), - 'http://wordpress.org/about/', + echo '

' . sprintf( __( 'WordPress is created by a worldwide team of passionate individuals. Get involved in WordPress.' ), + 'https://wordpress.org/about/', /* translators: Url to the codex documentation on contributing to WordPress used on the credits page */ __( 'http://codex.wordpress.org/Contributing_to_WordPress' ) ) . '

'; - include( './admin-footer.php' ); + include( ABSPATH . 'wp-admin/admin-footer.php' ); exit; } -echo '

' . __( '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:' ) . "

\n"; +echo '

' . __( 'WordPress is created by a worldwide team of passionate individuals.' ) . "

\n"; $gravatar = is_ssl() ? 'https://secure.gravatar.com/avatar/' : 'http://0.gravatar.com/avatar/'; @@ -109,7 +124,7 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) { $title = translate( $group_data['name'] ); } - echo '

' . $title . "

\n"; + echo '

' . $title . "

\n"; } if ( ! empty( $group_data['shuffle'] ) ) @@ -135,7 +150,7 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) { echo '' . esc_attr( $person_data[0] ) . '' . "\n\t"; echo '' . $person_data[0] . "\n\t"; if ( ! $compact ) - echo '
' . translate( $person_data[3] ) . "\n"; + echo '' . translate( $person_data[3] ) . "\n"; echo "\n"; } echo "\n"; @@ -145,24 +160,28 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) { ?>

Get involved in WordPress.' ), - /* translators: Url to the codex documentation on contributing to WordPress used on the credits page */ - __( 'http://codex.wordpress.org/Contributing_to_WordPress' ) ); ?>

+ /* translators: URL to the Make WordPress 'Get Involved' landing page used on the credits page */ + __( 'https://make.wordpress.org/' ) ); ?>