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


Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref