X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/38ca813a0e312e2768e5b9519f0415cd0aa84781..03f2fa83c13c1b532284205fa7efcab9b8b2c41f:/wp-admin/credits.php diff --git a/wp-admin/credits.php b/wp-admin/credits.php index 773053a9..61d0a5cf 100644 --- a/wp-admin/credits.php +++ b/wp-admin/credits.php @@ -7,96 +7,43 @@ */ /** WordPress Administration Bootstrap */ -require_once( './admin.php' ); +require_once( dirname( __FILE__ ) . '/admin.php' ); +require_once( dirname( __FILE__ ) . '/includes/credits.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 ) . ''; -} +include( ABSPATH . 'wp-admin/admin-header.php' ); +?> +' . 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' ); + __( 'https://codex.wordpress.org/Contributing_to_WordPress' ) ) . ''; + 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"; - -$gravatar = is_ssl() ? 'https://secure.gravatar.com/avatar/' : 'http://0.gravatar.com/avatar/'; +echo '' . __( 'WordPress is created by a worldwide team of passionate individuals.' ) . "
\n"; foreach ( $credits['groups'] as $group_slug => $group_data ) { if ( $group_data['name'] ) { @@ -109,7 +56,7 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) { $title = translate( $group_data['name'] ); } - echo '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/' ) ); ?>