Edit File by line
/home/barbar84/public_h.../wp-admin
File: credits.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Credits administration panel.
[2] Fix | Delete
*
[3] Fix | Delete
* @package WordPress
[4] Fix | Delete
* @subpackage Administration
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
/** WordPress Administration Bootstrap */
[8] Fix | Delete
require_once __DIR__ . '/admin.php';
[9] Fix | Delete
require_once __DIR__ . '/includes/credits.php';
[10] Fix | Delete
[11] Fix | Delete
$title = __( 'Credits' );
[12] Fix | Delete
[13] Fix | Delete
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
[14] Fix | Delete
[15] Fix | Delete
require_once ABSPATH . 'wp-admin/admin-header.php';
[16] Fix | Delete
[17] Fix | Delete
$credits = wp_credits();
[18] Fix | Delete
?>
[19] Fix | Delete
<div class="wrap about__container">
[20] Fix | Delete
[21] Fix | Delete
<div class="about__header">
[22] Fix | Delete
<div class="about__header-image">
[23] Fix | Delete
<img alt="<?php _e( 'Code is Poetry' ); ?>" src="<?php echo admin_url( 'images/about-badge.svg' ); ?>" />
[24] Fix | Delete
</div>
[25] Fix | Delete
[26] Fix | Delete
<div class="about__header-container">
[27] Fix | Delete
<div class="about__header-title">
[28] Fix | Delete
<p>
[29] Fix | Delete
<?php _e( 'WordPress' ); ?>
[30] Fix | Delete
<?php echo $display_version; ?>
[31] Fix | Delete
</p>
[32] Fix | Delete
</div>
[33] Fix | Delete
[34] Fix | Delete
<div class="about__header-text">
[35] Fix | Delete
<?php _e( 'Jazz up your stories in an editor that’s cleaner, crisper, and does more to get out of your way.' ); ?>
[36] Fix | Delete
</div>
[37] Fix | Delete
</div>
[38] Fix | Delete
[39] Fix | Delete
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
[40] Fix | Delete
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
[41] Fix | Delete
<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
[42] Fix | Delete
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
[43] Fix | Delete
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
[44] Fix | Delete
</nav>
[45] Fix | Delete
</div>
[46] Fix | Delete
[47] Fix | Delete
<div class="about__section is-feature">
[48] Fix | Delete
<div class="column">
[49] Fix | Delete
<h1><?php _e( 'Credits' ); ?></h1>
[50] Fix | Delete
[51] Fix | Delete
<?php if ( ! $credits ) : ?>
[52] Fix | Delete
[53] Fix | Delete
<p>
[54] Fix | Delete
<?php
[55] Fix | Delete
printf(
[56] Fix | Delete
/* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
[57] Fix | Delete
__( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
[58] Fix | Delete
__( 'https://wordpress.org/about/' ),
[59] Fix | Delete
__( 'https://make.wordpress.org/' )
[60] Fix | Delete
);
[61] Fix | Delete
?>
[62] Fix | Delete
</p>
[63] Fix | Delete
[64] Fix | Delete
<?php else : ?>
[65] Fix | Delete
[66] Fix | Delete
<p>
[67] Fix | Delete
<?php _e( 'WordPress is created by a worldwide team of passionate individuals.' ); ?>
[68] Fix | Delete
</p>
[69] Fix | Delete
<p>
[70] Fix | Delete
<?php
[71] Fix | Delete
printf(
[72] Fix | Delete
/* translators: %s: https://make.wordpress.org/ */
[73] Fix | Delete
__( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
[74] Fix | Delete
__( 'https://make.wordpress.org/' )
[75] Fix | Delete
);
[76] Fix | Delete
?>
[77] Fix | Delete
</p>
[78] Fix | Delete
[79] Fix | Delete
<?php endif; ?>
[80] Fix | Delete
</div>
[81] Fix | Delete
</div>
[82] Fix | Delete
[83] Fix | Delete
<?php
[84] Fix | Delete
if ( ! $credits ) {
[85] Fix | Delete
echo '</div>';
[86] Fix | Delete
require_once ABSPATH . 'wp-admin/admin-footer.php';
[87] Fix | Delete
exit;
[88] Fix | Delete
}
[89] Fix | Delete
?>
[90] Fix | Delete
[91] Fix | Delete
<hr />
[92] Fix | Delete
[93] Fix | Delete
<div class="about__section">
[94] Fix | Delete
<div class="column has-subtle-background-color">
[95] Fix | Delete
<?php wp_credits_section_title( $credits['groups']['core-developers'] ); ?>
[96] Fix | Delete
<?php wp_credits_section_list( $credits, 'core-developers' ); ?>
[97] Fix | Delete
<?php wp_credits_section_list( $credits, 'contributing-developers' ); ?>
[98] Fix | Delete
</div>
[99] Fix | Delete
</div>
[100] Fix | Delete
[101] Fix | Delete
<hr />
[102] Fix | Delete
[103] Fix | Delete
<div class="about__section">
[104] Fix | Delete
<div class="column">
[105] Fix | Delete
<?php wp_credits_section_title( $credits['groups']['props'] ); ?>
[106] Fix | Delete
<?php wp_credits_section_list( $credits, 'props' ); ?>
[107] Fix | Delete
</div>
[108] Fix | Delete
</div>
[109] Fix | Delete
[110] Fix | Delete
<hr />
[111] Fix | Delete
[112] Fix | Delete
<?php if ( isset( $credits['groups']['translators'] ) || isset( $credits['groups']['validators'] ) ) : ?>
[113] Fix | Delete
<div class="about__section">
[114] Fix | Delete
<div class="column">
[115] Fix | Delete
<?php wp_credits_section_title( $credits['groups']['validators'] ); ?>
[116] Fix | Delete
<?php wp_credits_section_list( $credits, 'validators' ); ?>
[117] Fix | Delete
<?php wp_credits_section_list( $credits, 'translators' ); ?>
[118] Fix | Delete
</div>
[119] Fix | Delete
</div>
[120] Fix | Delete
[121] Fix | Delete
<hr />
[122] Fix | Delete
<?php endif; ?>
[123] Fix | Delete
[124] Fix | Delete
<div class="about__section">
[125] Fix | Delete
<div class="column">
[126] Fix | Delete
<?php wp_credits_section_title( $credits['groups']['libraries'] ); ?>
[127] Fix | Delete
<?php wp_credits_section_list( $credits, 'libraries' ); ?>
[128] Fix | Delete
</div>
[129] Fix | Delete
</div>
[130] Fix | Delete
</div>
[131] Fix | Delete
<?php
[132] Fix | Delete
[133] Fix | Delete
require_once ABSPATH . 'wp-admin/admin-footer.php';
[134] Fix | Delete
[135] Fix | Delete
return;
[136] Fix | Delete
[137] Fix | Delete
// These are strings returned by the API that we want to be translatable.
[138] Fix | Delete
__( 'Project Leaders' );
[139] Fix | Delete
/* translators: %s: The current WordPress version number. */
[140] Fix | Delete
__( 'Core Contributors to WordPress %s' );
[141] Fix | Delete
__( 'Noteworthy Contributors' );
[142] Fix | Delete
__( 'Cofounder, Project Lead' );
[143] Fix | Delete
__( 'Lead Developer' );
[144] Fix | Delete
__( 'Release Lead' );
[145] Fix | Delete
__( 'Release Design Lead' );
[146] Fix | Delete
__( 'Release Deputy' );
[147] Fix | Delete
__( 'Core Developer' );
[148] Fix | Delete
__( 'External Libraries' );
[149] Fix | Delete
[150] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function