Skip to:
Content

BuddyPress.org

Changeset 13856


Ignore:
Timestamp:
05/08/2024 07:51:37 AM (4 months ago)
Author:
imath
Message:

Add a documentation link into the BP Signups Admin Screen help tab

Props emaralive

Fixes #9149

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/classes/class-bp-members-admin.php

    r13799 r13856  
    5555
    5656    /**
     57     * Support forum link.
     58     *
     59     * @since 14.0.0
     60     * @var string
     61     */
     62    private $bp_forum = '';
     63
     64    /**
    5765     * Redirect.
    5866     *
     
    256264            $this->capability = 'manage_network_users';
    257265        }
     266
     267        // Support forum link.
     268        $this->bp_forum = sprintf(
     269            '<a href="%1$s">%2$s</a>',
     270            esc_url( 'https://buddypress.org/support/' ),
     271            esc_html__( 'Support Forums', 'buddypress' )
     272        );
    258273
    259274        /*
     
    18791894            ) );
    18801895
     1896            $manage_pending_ua = sprintf(
     1897                '<a href="%1$s">%2$s</a>',
     1898                esc_url( 'https://github.com/buddypress/buddypress/blob/master/docs/user/administration/users/signups.md#manage-pending-user-accounts' ),
     1899                esc_html__( 'Managing Pending User Accounts', 'buddypress' )
     1900            );
     1901
    18811902            // Help panel - sidebar links.
    18821903            get_current_screen()->set_help_sidebar(
    18831904                '<p><strong>' . esc_html__( 'For more information:', 'buddypress' ) . '</strong></p>' .
    1884                 '<p>' . __( '<a href="https://buddypress.org/support/">Support Forums</a>', 'buddypress' ) . '</p>'
     1905                '<p>' . $manage_pending_ua . '</p>' .
     1906                '<p>' . $this->bp_forum . '</p>'
    18851907            );
    18861908
Note: See TracChangeset for help on using the changeset viewer.