Changeset 56220
- Timestamp:
- 07/12/2023 12:52:26 PM (17 months ago)
- Location:
- trunk/src
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/about.php
r55853 r56220 41 41 <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a> 42 42 <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a> 43 <a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a> 43 44 </nav> 44 45 -
trunk/src/wp-admin/credits.php
r55499 r56220 45 45 <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a> 46 46 <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a> 47 <a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a> 47 48 </nav> 48 49 -
trunk/src/wp-admin/css/about.css
r55499 r56220 2 2 22.0 - About Pages 3 3 4 1.0 Global: About, Credits, Freedoms, Privacy 4 1.0 Global: About, Credits, Freedoms, Privacy, Get Involved 5 5 1.1 Layout 6 6 1.2 Typography & Elements … … 43 43 44 44 /*------------------------------------------------------------------------------ 45 1.0 - Global: About, Credits, Freedoms, Privacy 45 1.0 - Global: About, Credits, Freedoms, Privacy, Get Involved 46 46 ------------------------------------------------------------------------------*/ 47 47 … … 49 49 .credits-php, 50 50 .freedoms-php, 51 .privacy-php { 51 .privacy-php, 52 .contribute-php { 52 53 background: #fff; 53 54 } … … 56 57 .credits-php #wpcontent, 57 58 .freedoms-php #wpcontent, 58 .privacy-php #wpcontent { 59 .privacy-php #wpcontent, 60 .contribute-php #wpcontent { 59 61 background: #fff; 60 62 padding: 0 24px; … … 65 67 .credits-php.auto-fold #wpcontent, 66 68 .freedoms-php.auto-fold #wpcontent, 67 .privacy-php.auto-fold #wpcontent { 69 .privacy-php.auto-fold #wpcontent, 70 .contribute-php.auto-fold #wpcontent { 68 71 padding-left: 24px; 69 72 } … … 575 578 576 579 .credits-php .about__header-title h1, 580 .freedoms-php .about__header-title h1, 577 581 .privacy-php .about__header-title h1, 578 . freedoms-php .about__header-title h1 {582 .contribute-php .about__header-title h1 { 579 583 /* Fluid font size scales on browser size 960px - 1200px. */ 580 584 font-size: clamp(3rem, 10vw - 3rem, 4.5rem); … … 647 651 648 652 .credits-php .about__header-title h1, 653 .freedoms-php .about__header-title h1, 649 654 .privacy-php .about__header-title h1, 650 . freedoms-php .about__header-title h1 {655 .contribute-php .about__header-title h1 { 651 656 /* Fluid font size scales on browser size 600px - 960px. */ 652 657 font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem); … … 685 690 min-height: auto; 686 691 } 687 } 688 689 @media screen and (max-width: 480px) { 692 690 693 .about__header, 691 694 .credits-php .about__header, 695 .freedoms-php .about__header, 692 696 .privacy-php .about__header, 693 . freedoms-php .about__header {697 .contribute-php .about__header { 694 698 background-image: none; 695 699 } -
trunk/src/wp-admin/freedoms.php
r55499 r56220 42 42 <a href="freedoms.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Freedoms' ); ?></a> 43 43 <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a> 44 <a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a> 44 45 </nav> 45 46 -
trunk/src/wp-admin/privacy.php
r55499 r56220 36 36 <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a> 37 37 <a href="privacy.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Privacy' ); ?></a> 38 <a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a> 38 39 </nav> 39 40 -
trunk/src/wp-includes/admin-bar.php
r56209 r56220 123 123 function wp_admin_bar_wp_menu( $wp_admin_bar ) { 124 124 if ( current_user_can( 'read' ) ) { 125 $about_url = self_admin_url( 'about.php' ); 125 $about_url = self_admin_url( 'about.php' ); 126 $contribute_url = self_admin_url( 'contribute.php' ); 126 127 } elseif ( is_multisite() ) { 127 $about_url = get_dashboard_url( get_current_user_id(), 'about.php' ); 128 $about_url = get_dashboard_url( get_current_user_id(), 'about.php' ); 129 $contribute_url = get_dashboard_url( get_current_user_id(), 'contribute.php' ); 128 130 } else { 129 $about_url = false; 131 $about_url = false; 132 $contribute_url = false; 130 133 } 131 134 … … 156 159 'title' => __( 'About WordPress' ), 157 160 'href' => $about_url, 161 ) 162 ); 163 } 164 165 if ( $contribute_url ) { 166 // Add contribute link. 167 $wp_admin_bar->add_node( 168 array( 169 'parent' => 'wp-logo', 170 'id' => 'contribute', 171 'title' => __( 'Get Involved' ), 172 'href' => $contribute_url, 158 173 ) 159 174 );
Note: See TracChangeset
for help on using the changeset viewer.