Making WordPress.org

Ticket #3051: 3051.2.patch

File 3051.2.patch, 1.4 KB (added by SergeyBiryukov, 7 years ago)
  • wordpress.org/public_html/wp-content/plugins/phpunit-test-reporter/src/class-display.php

     
    3131                        return $content;
    3232                }
    3333
     34                if ( ! did_action( 'loop_start' ) ) {
     35                        return $content;
     36                }
     37
    3438                if ( get_queried_object()->post_parent ) {
    3539                        $content = ptr_get_template_part( 'single-result', array(
    3640                                'report' => get_queried_object(),
  • wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/functions.php

     
    7575add_action( 'wp_footer', __NAMESPACE__ . '\inline_scripts' );
    7676
    7777function welcome_box() {
    78         // Disable for make.wordpress.org/hosting/test-results/*
    79         // because it breaks rendering of the page
    80         if ( is_singular( 'result' ) ) {
    81                 return;
    82         }
    8378        $welcome = get_page_by_path( 'welcome' );
    8479        $cookie  = 'welcome-' . get_current_blog_id();
    8580        $hash    = isset( $_COOKIE[ $cookie ] ) ? $_COOKIE[ $cookie ] : '';