Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/08/2024 05:30:41 PM (2 years ago)
Author:
imath
Message:

Improve URLs settings WP Admin screen's help tab

Add a link to the BuddyPress URLs settings documentation.

Props emaralive

See #9088 (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/admin/bp-core-admin-functions.php

    r13718 r13722  
    714714                        break;
    715715
    716                 // Component page.
     716                // Rewrites page.
    717717                case 'settings_page_bp-rewrites':
    718718                case 'settings_page_bp-rewrites-network':
     
    726726                        );
    727727
     728                        $manage_rewrites = sprintf(
     729                                '<a href="%1$s">%2$s</a>',
     730                                esc_url( 'https://github.com/buddypress/buddypress/blob/master/docs/user/administration/settings/urls.md' ),
     731                                esc_html__( 'Managing URLs', 'buddypress' )
     732                        );
     733
    728734                        // Help panel - sidebar links.
    729735                        $screen->set_help_sidebar(
    730736                                '<p><strong>' . esc_html__( 'For more information:', 'buddypress' ) . '</strong></p>' .
     737                                '<p>' . $manage_rewrites . '</p>' .
    731738                                '<p>' . $bp_forum . '</p>'
    732739                        );
Note: See TracChangeset for help on using the changeset viewer.