X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/b3ddbea8a296025a672b3c3ddca158dc51ed8080..c55863f11e8589bf8d4a5698bf15752406654f1c:/wp-admin/credits.php diff --git a/wp-admin/credits.php b/wp-admin/credits.php index 773053a9..06fe44b7 100644 --- a/wp-admin/credits.php +++ b/wp-admin/credits.php @@ -7,94 +7,108 @@ */ /** 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/', /* 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 +123,7 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) { $title = translate( $group_data['name'] ); } - echo '