[ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
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 33 printf( 34 /* translators: %s: Version number. */ 35 __( 'WordPress %s was created by a worldwide team of passionate individuals' ), 36 $display_version 37 ); 38 ?> 39 </div> 40 41 <nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>"> 42 <a href="about.php" class="nav-tab"><?php _e( 'What’s New' ); ?></a> 43 <a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a> 44 <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a> 45 <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a> 46 </nav> 47 </div> 48 49 <div class="about__section has-1-column"> 50 <div class="column aligncenter"> 51 <?php if ( ! $credits ) : ?> 52 53 <p> 54 <?php 55 printf( 56 /* translators: 1: https://wordpress.org/about/ */ 57 __( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals.' ), 58 __( 'https://wordpress.org/about/' ) 59 ); 60 ?> 61 <br /> 62 <a href="https://make.wordpress.org/"><?php _e( 'Get involved in WordPress.' ); ?></a> 63 </p> 64 65 <?php else : ?> 66 67 <p> 68 <?php _e( 'Want to see your name in lights on this page?' ); ?> 69 <br /> 70 <a href="https://make.wordpress.org/"><?php _e( 'Get involved in WordPress.' ); ?></a> 71 </p> 72 73 <?php endif; ?> 74 </div> 75 </div> 76 77 <?php 78 if ( ! $credits ) { 79 echo '</div>'; 80 require_once ABSPATH . 'wp-admin/admin-footer.php'; 81 exit; 82 } 83 ?> 84 85 <hr /> 86 87 <div class="about__section"> 88 <div class="column is-edge-to-edge"> 89 <?php wp_credits_section_title( $credits['groups']['core-developers'] ); ?> 90 <?php wp_credits_section_list( $credits, 'core-developers' ); ?> 91 <?php wp_credits_section_list( $credits, 'contributing-developers' ); ?> 92 </div> 93 </div> 94 95 <hr /> 96 97 <div class="about__section"> 98 <div class="column"> 99 <?php wp_credits_section_title( $credits['groups']['props'] ); ?> 100 <?php wp_credits_section_list( $credits, 'props' ); ?> 101 </div> 102 </div> 103 104 <hr /> 105 106 <?php if ( isset( $credits['groups']['translators'] ) || isset( $credits['groups']['validators'] ) ) : ?> 107 <div class="about__section"> 108 <div class="column"> 109 <?php wp_credits_section_title( $credits['groups']['validators'] ); ?> 110 <?php wp_credits_section_list( $credits, 'validators' ); ?> 111 <?php wp_credits_section_list( $credits, 'translators' ); ?> 112 </div> 113 </div> 114 115 <hr /> 116 <?php endif; ?> 117 118 <div class="about__section"> 119 <div class="column"> 120 <?php wp_credits_section_title( $credits['groups']['libraries'] ); ?> 121 <?php wp_credits_section_list( $credits, 'libraries' ); ?> 122 </div> 123 </div> 124 </div> 125 <?php 126 127 require_once ABSPATH . 'wp-admin/admin-footer.php'; 128 129 return; 130 131 // These are strings returned by the API that we want to be translatable. 132 __( 'Project Leaders' ); 133 /* translators: %s: The current WordPress version number. */ 134 __( 'Core Contributors to WordPress %s' ); 135 __( 'Noteworthy Contributors' ); 136 __( 'Cofounder, Project Lead' ); 137 __( 'Lead Developer' ); 138 __( 'Release Lead' ); 139 __( 'Release Design Lead' ); 140 __( 'Release Deputy' ); 141 __( 'Core Developer' ); 142 __( 'External Libraries' );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Nov 21 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |