Making WordPress.org

Ticket #6646: 6646.3.patch

File 6646.3.patch, 1.1 KB (added by upadalavipul, 2 years ago)
  • sites/trunk/api.wordpress.org/public_html/core/credits/wp-credits.php

     
    259259                }
    260260
    261261                $next = false;
    262                 foreach ( self::$cycle_dates as $branch => $date ) {
     262                foreach ( self::$cycle_dates as $date ) {
    263263                        if ( $next )
    264264                                return $date;
    265265                        if ( self::$cycle_dates[ $this->branch ] == $date )
  • sites/trunk/api.wordpress.org/public_html/patterns/1.0/index.php

     
    1717 * @param string $buffer
    1818 */
    1919function flush_handler( $buffer ) {
    20         $old_headers = headers_list();
    2120
    2221        // Remove CORS header added by REST API.
    2322        header_remove( 'access-control-allow-headers' );