Skip to:
Content

bbPress.org

Ticket #2882: 2882.diff

File 2882.diff, 648 bytes (added by tharsheblows, 4 years ago)

set function set_permalink_structure to public in unit tests

  • tests/phpunit/testcases/users/template/user.php

     
    2424                $this->set_current_user( $this->old_current_user );
    2525        }
    2626
    27         private function set_permalink_structure( $permalink_structure = '/%year%/%monthnum%/%day%/%postname%/' ) {
     27        public function set_permalink_structure( $permalink_structure = '/%year%/%monthnum%/%day%/%postname%/' ) {
    2828                global $wp_rewrite;
    2929                $wp_rewrite->set_permalink_structure( $permalink_structure );
    3030        }