[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/ -> credits.php (source)

   1  <?php
   2  /**
   3   * Credits administration panel.
   4   *
   5   * @package WordPress
   6   * @subpackage Administration
   7   */
   8  
   9  /** WordPress Administration Bootstrap */
  10  require_once  __DIR__ . '/admin.php';
  11  require_once  __DIR__ . '/includes/credits.php';
  12  
  13  // Used in the HTML title tag.
  14  $title = __( 'Credits' );
  15  
  16  require_once  ABSPATH . 'wp-admin/admin-header.php';
  17  
  18  $credits = wp_credits();
  19  ?>
  20  <div class="wrap about__container">
  21  
  22      <div class="about__header">
  23          <div class="about__header-title">
  24              <h1>
  25                  <?php _e( 'Contributors' ); ?>
  26              </h1>
  27          </div>
  28  
  29          <div class="about__header-text">
  30              <?php _e( 'Created by a worldwide team of passionate individuals' ); ?>
  31          </div>
  32      </div>
  33  
  34      <nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
  35          <a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
  36          <a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
  37          <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
  38          <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
  39          <a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a>
  40      </nav>
  41  
  42      <div class="about__section has-1-column has-gutters">
  43          <div class="column aligncenter">
  44              <?php if ( ! $credits ) : ?>
  45  
  46              <p>
  47                  <?php
  48                  printf(
  49                      /* translators: 1: https://wordpress.org/about/ */
  50                      __( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals.' ),
  51                      __( 'https://wordpress.org/about/' )
  52                  );
  53                  ?>
  54                  <br />
  55                  <a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
  56              </p>
  57  
  58              <?php else : ?>
  59  
  60              <p>
  61                  <?php _e( 'Want to see your name in lights on this page?' ); ?>
  62                  <br />
  63                  <a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
  64              </p>
  65  
  66              <?php endif; ?>
  67          </div>
  68      </div>
  69  
  70  <?php
  71  if ( ! $credits ) {
  72      echo '</div>';
  73      require_once  ABSPATH . 'wp-admin/admin-footer.php';
  74      exit;
  75  }
  76  ?>
  77  
  78      <hr class="is-large" />
  79  
  80      <div class="about__section">
  81          <div class="column is-edge-to-edge">
  82              <?php wp_credits_section_title( $credits['groups']['core-developers'] ); ?>
  83              <?php wp_credits_section_list( $credits, 'core-developers' ); ?>
  84              <?php wp_credits_section_list( $credits, 'contributing-developers' ); ?>
  85          </div>
  86      </div>
  87  
  88      <hr />
  89  
  90      <div class="about__section">
  91          <div class="column">
  92              <?php wp_credits_section_title( $credits['groups']['props'] ); ?>
  93              <?php wp_credits_section_list( $credits, 'props' ); ?>
  94          </div>
  95      </div>
  96  
  97      <hr />
  98  
  99      <?php if ( isset( $credits['groups']['translators'] ) || isset( $credits['groups']['validators'] ) ) : ?>
 100      <div class="about__section">
 101          <div class="column">
 102              <?php wp_credits_section_title( $credits['groups']['validators'] ); ?>
 103              <?php wp_credits_section_list( $credits, 'validators' ); ?>
 104              <?php wp_credits_section_list( $credits, 'translators' ); ?>
 105          </div>
 106      </div>
 107  
 108      <hr />
 109      <?php endif; ?>
 110  
 111      <div class="about__section">
 112          <div class="column">
 113              <?php wp_credits_section_title( $credits['groups']['libraries'] ); ?>
 114              <?php wp_credits_section_list( $credits, 'libraries' ); ?>
 115          </div>
 116      </div>
 117  </div>
 118  <?php
 119  
 120  require_once  ABSPATH . 'wp-admin/admin-footer.php';
 121  
 122  return;
 123  
 124  // These are strings returned by the API that we want to be translatable.
 125  __( 'Project Leaders' );
 126  /* translators: %s: The current WordPress version number. */
 127  __( 'Core Contributors to WordPress %s' );
 128  __( 'Noteworthy Contributors' );
 129  __( 'Cofounder, Project Lead' );
 130  __( 'Lead Developer' );
 131  __( 'Release Lead' );
 132  __( 'Release Design Lead' );
 133  __( 'Release Deputy' );
 134  __( 'Release Coordination' );
 135  __( 'Minor Release Lead' );
 136  __( 'Core Developer' );
 137  __( 'Core Tech Lead' );
 138  __( 'Core Triage Lead' );
 139  __( 'Editor Tech Lead' );
 140  __( 'Editor Triage Lead' );
 141  __( 'Documentation Lead' );
 142  __( 'Test Lead' );
 143  __( 'Design Lead' );
 144  __( 'Performance Lead' );
 145  __( 'Default Theme Design Lead' );
 146  __( 'Default Theme Development Lead' );
 147  __( 'Tech Lead' );
 148  __( 'Triage Lead' );
 149  __( 'External Libraries' );


Generated : Sat Aug 22 08:20:26 2026 Cross-referenced by PHPXref