Make WordPress Core


Ignore:
Timestamp:
01/25/2021 12:52:22 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Toolbar: Update Documentation and Support links.

This replaces the Codex URL in the "WordPress" section of the admin bar with the HelpHub URL, and updates the Support link to point to the forums.

Follow-up to [45140], [45412].

Props audrasjb.
Fixes #52352. See #46790, #47239.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/admin-bar.php

    r48586 r50015  
    167167    );
    168168
    169     // Add Codex link.
     169    // Add documentation link.
    170170    $wp_admin_bar->add_node(
    171171        array(
     
    173173            'id'     => 'documentation',
    174174            'title'  => __( 'Documentation' ),
    175             'href'   => __( 'https://codex.wordpress.org/' ),
     175            'href'   => __( 'https://wordpress.org/support/' ),
    176176        )
    177177    );
     
    183183            'id'     => 'support-forums',
    184184            'title'  => __( 'Support' ),
    185             'href'   => __( 'https://wordpress.org/support/' ),
     185            'href'   => __( 'https://wordpress.org/support/forums/' ),
    186186        )
    187187    );
Note: See TracChangeset for help on using the changeset viewer.