diff --git a/wp-admin/credits.php b/wp-admin/credits.php index 9cc4544c29..aaa5a4a2fa 100644 --- a/wp-admin/credits.php +++ b/wp-admin/credits.php @@ -69,7 +69,7 @@ function _wp_credits_add_profile_link( &$display_name, $username, $profiles ) { * @param string &$data External library data, passed by reference. */ function _wp_credits_build_object_link( &$data ) { - $data = '' . $data[0] . ''; + $data = '' . esc_html( $data[0] ) . ''; } list( $display_version ) = explode( '-', $wp_version ); @@ -120,7 +120,7 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) { $title = translate( $group_data['name'] ); } - echo '