Make WordPress Core

Ticket #31705: 31705.patch

File 31705.patch, 558 bytes (added by ianmjones, 11 years ago)
  • tests/phpunit/tests/feed/rss2.php

     
    1313        function setUp() {
    1414                parent::setUp();
    1515
     16                $this->author_id = $this->factory->user->create( array( 'role' => 'editor' ) );
     17                $this->old_current_user = get_current_user_id();
     18                wp_set_current_user( $this->author_id );
     19
    1620                $this->factory->post->create_many( 25 );
    1721
    1822                $this->post_count = get_option('posts_per_rss');