Skip to:
Content

BuddyPress.org

Changeset 13723


Ignore:
Timestamp:
02/08/2024 05:39:24 PM (11 months ago)
Author:
imath
Message:

Improve URLs settings WP Admin screen's help tab

Add a link to the BuddyPress URLs settings documentation.

Props emaralive

Fixes #9088 (branch 12.0)

File:
1 edited

Legend:

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

    r13660 r13723  
    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.