Skip to:
Content

bbPress.org

Ticket #1827: 1827.patch

File 1827.patch, 2.1 KB (added by boonebgorges, 13 years ago)
  • bbp-includes/bbp-extend-buddypress.php

     
    847847         * @since bbPress (r3552)
    848848         * @global BuddyPress $bp
    849849         */
    850         private function setup_globals() {
     850        public function setup_globals() {
    851851                global $bp;
    852852
    853853                // Define the parent forum ID
     
    876876         *
    877877         * @since bbPress (r3552)
    878878         */
    879         private function setup_nav() {
     879        public function setup_nav() {
    880880
    881881                // Stop if there is no user displayed or logged in
    882882                if ( !is_user_logged_in() && !bp_displayed_user_id() )
     
    962962         * @since bbPress (r3552)
    963963         * @global BuddyPress $bp
    964964         */
    965         private function setup_admin_bar() {
     965        public function setup_admin_bar() {
    966966                global $bp;
    967967
    968968                // Prevent debug notices
     
    10261026         *
    10271027         * @global BuddyPress $bp
    10281028         */
    1029         private function setup_title() {
     1029        public function setup_title() {
    10301030                global $bp;
    10311031
    10321032                // Adjust title based on view
     
    11051105        /**
    11061106         * The primary display function for group forums
    11071107         */
    1108         protected function display() {
     1108        public function display() {
    11091109
    11101110                // Prevent Topic Parent from appearing
    11111111                add_action( 'bbp_theme_before_topic_form_forum', array( $this, 'ob_start'     ) );
     
    11311131         * @since bbPress (r3563)
    11321132         * @uses bbp_get_template_part()
    11331133         */
    1134         protected function edit_screen() {
     1134        public function edit_screen() {
    11351135
    11361136                // Add group admin actions to forum row actions
    11371137                add_action( 'bbp_forum_row_actions', array( $this, 'forum_row_actions' ) );
     
    11631163         * @uses bbp_new_forum_handler() To check for forum creation
    11641164         * @uses bbp_edit_forum_handler() To check for forum edit
    11651165         */
    1166         protected function edit_screen_save() {
     1166        public function edit_screen_save() {
    11671167
    11681168                // Bail if not a POST action
    11691169                if ( 'POST' !== strtoupper( $_SERVER['REQUEST_METHOD'] ) )
     
    12201220         *
    12211221         * @since bbPress (r3465)
    12221222         */
    1223         protected function create_screen() {
     1223        public function create_screen() {
    12241224
    12251225                // Bail if not looking at this screen
    12261226                if ( !bp_is_group_creation_step( $this->slug ) )