Use HTTPS URLs for core.trac.wordpress.org

see #27115

git-svn-id: https://develop.svn.wordpress.org/trunk@29788 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2014-09-29 13:27:55 +00:00
parent 4c22a5003b
commit 7063377539
20 changed files with 34 additions and 34 deletions

View File

@@ -11,12 +11,12 @@ class Tests_XMLRPC_wp_restoreRevision extends WP_XMLRPC_UnitTestCase {
parent::setUp();
$this->post_id = $this->factory->post->create( array( 'post_content' => 'edit1' ) ); // Not saved as a revision
// First saved revision on update, see http://core.trac.wordpress.org/changeset/24650
// First saved revision on update, see https://core.trac.wordpress.org/changeset/24650
wp_insert_post( array( 'ID' => $this->post_id, 'post_content' => 'edit2' ) );
$revisions = wp_get_post_revisions( $this->post_id );
//$revision = array_shift( $revisions ); // First revision is empty - http://core.trac.wordpress.org/changeset/23842
// First revision is NOT empty, see http://core.trac.wordpress.org/changeset/24650
//$revision = array_shift( $revisions ); // First revision is empty - https://core.trac.wordpress.org/changeset/23842
// First revision is NOT empty, see https://core.trac.wordpress.org/changeset/24650
$revision = array_shift( $revisions );
$this->revision_id = $revision->ID;
}