WordPress.org

Making WordPress.org

Changeset 4076


Ignore:
Timestamp:
09/16/2016 10:28:27 AM (4 years ago)
Author:
netweb
Message:

Forums Theme: Switch the "top level" breadcrumb item to use the "site home" link instead of the "forum root" link.

This change ensures the page header and breadcrumb root links both link to https://wordpress.org/support/.

Props SergeyBiryukov.
Fixes #2044.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/functions.php

    r4074 r4076  
    6969
    7070    // Home
    71     $args['include_home']    = false;
     71    $args['include_home']    = true;
     72    $args['home_text']       = __( 'Support', 'wporg-forums' );
    7273
    7374    // Forum root
    74     $args['include_root']    = true;
    75     $args['root_text']       = __( 'Support', 'wporg-forums' );
     75    $args['include_root']    = false;
    7676
    7777    // Current
Note: See TracChangeset for help on using the changeset viewer.