[wp-trac] [WordPress Trac] #33197: Upgrading on 4.3 - Could not Establish Secure Connection to Wordpress.org

WordPress Trac noreply at wordpress.org
Thu Jul 30 09:00:01 UTC 2015


#33197: Upgrading on 4.3 - Could not Establish Secure Connection to Wordpress.org
-----------------------------+------------------------------
 Reporter:  atomicjack       |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by atomicjack):

 Is this correct section of code?


 {{{
 if ( $c <= 50 || ( $c > 50 && mt_rand( 0, (int)( $c / 50 ) ) == 1 ) ) {
                         require_once( ABSPATH . WPINC . '/http.php' );
                         $response = wp_remote_get( admin_url(
 'upgrade.php?step=1' ), array( 'timeout' => 120, 'httpversion' => '1.1' )
 );
                         /** This action is documented in wp-
 admin/network/upgrade.php */
                         do_action( 'after_mu_upgrade', $response );
                         unset($response);
                 }
                 unset($c);
         }
 }
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33197#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list