Make WordPress Core

Ticket #52352: 52352.diff

File 52352.diff, 785 bytes (added by audrasjb, 4 years ago)

Help/About: Update WP Admin Bar links to Forums/HelpHub

  • src/wp-includes/admin-bar.php

    diff --git a/src/wp-includes/admin-bar.php b/src/wp-includes/admin-bar.php
    index b63be9cd2a..aeb4584d5b 100644
    a b function wp_admin_bar_wp_menu( $wp_admin_bar ) { 
    172172                        'parent' => 'wp-logo-external',
    173173                        'id'     => 'documentation',
    174174                        'title'  => __( 'Documentation' ),
    175                         'href'   => __( 'https://codex.wordpress.org/' ),
     175                        'href'   => __( 'https://wordpress.org/support/' ),
    176176                )
    177177        );
    178178
    function wp_admin_bar_wp_menu( $wp_admin_bar ) { 
    182182                        'parent' => 'wp-logo-external',
    183183                        'id'     => 'support-forums',
    184184                        'title'  => __( 'Support' ),
    185                         'href'   => __( 'https://wordpress.org/support/' ),
     185                        'href'   => __( 'https://wordpress.org/support/forums/' ),
    186186                )
    187187        );
    188188