Making WordPress.org

Ticket #2384: meta-2384.patch

File meta-2384.patch, 2.5 KB (added by SergeyBiryukov, 8 years ago)
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/redirects.php

     
    4444        public static function redirect_handbook() {
    4545                if (
    4646                        // Naked /handbook/ request
    47                         ( 'handbook' == get_query_var( 'name' ) && ! get_query_var( 'post_type' ) ) ||
    48                         // Temporary: Disable access to handbooks unless a member of the site
    49                         ( ! is_user_member_of_blog() && is_post_type_archive( array( 'theme-handbook' ) ) )
     47                        ( 'handbook' == get_query_var( 'name' ) && ! get_query_var( 'post_type' ) )
    5048                ) {
    5149                        wp_redirect( home_url() );
    5250                        exit();
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-home-landing.php

     
    1515
    1616                        <div class="handbook-banner section blue clear color">
    1717                                <div class="inner-wrap three-columns">
    18                                         <div class="widget box box-left transparent" style="color:#999;">
    19                                                 <h3 class="widget-title" style="color:#999;"><div class="dashicons dashicons-welcome-widgets-menus"></div><?php _e( 'Themes', 'wporg' ); ?></h3>
     18                                        <div class="widget box box-left transparent">
     19                                                <h3 class="widget-title"><div class="dashicons dashicons-welcome-widgets-menus"></div><?php _e( 'Themes', 'wporg' ); ?></h3>
    2020                                                <p class="widget-description"><?php _e( 'Want to know all there is to know about theming and WordPress?', 'wporg' ); ?></p>
    21                                                 <?php if ( is_user_member_of_blog() ) : ?>
    2221                                                <a href="<?php esc_attr_e( get_post_type_archive_link( 'theme-handbook' ) ); ?>" class="themes-go get-started go button"><?php _e( 'Develop Themes ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a>
    23                                                 <?php else :?>
    24                                                 <strong><em><?php _e( 'Coming Soon!', 'wporg' ); ?></em></strong>
    25                                                 <?php endif; ?>
    2622                                        </div>
    2723                                        <div class="widget box box-right transparent">
    2824                                                <h3 class="widget-title"><div class="dashicons dashicons-admin-plugins"></div><?php _e( 'Plugins', 'wporg' ); ?></h3>