X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/38ca813a0e312e2768e5b9519f0415cd0aa84781..784f914b1e4b1c62d6657e86397c2e83bcee4295:/wp-admin/credits.php?ds=inline diff --git a/wp-admin/credits.php b/wp-admin/credits.php index 773053a9..3b29c036 100644 --- a/wp-admin/credits.php +++ b/wp-admin/credits.php @@ -7,96 +7,46 @@ */ /** 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' ); +?> +
-function _wp_credits_build_object_link( &$data ) { - $data = '' . $data[0] . ''; -} +

-include( './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' ); + echo '

'; + /* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */ + printf( __( 'WordPress is created by a worldwide team of passionate individuals. Get involved in WordPress.' ), + 'https://wordpress.org/about/', + __( 'https://make.wordpress.org/' ) + ); + echo '

'; + 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 +59,7 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) { $title = translate( $group_data['name'] ); } - echo '

' . $title . "

\n"; + echo '

' . esc_html( $title ) . "

\n"; } if ( ! empty( $group_data['shuffle'] ) ) @@ -129,13 +79,16 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) { $classes = 'wp-people-group ' . ( $compact ? 'compact' : '' ); echo '\n"; @@ -144,33 +97,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' ) ); ?>

+

Get involved in WordPress.' ), + __( 'https://make.wordpress.org/' ) + ); +?>