Making WordPress.org

Changeset 10783


Ignore:
Timestamp:
03/05/2021 12:54:40 AM (4 years ago)
Author:
coffee2code
Message:

Handbooks, Breadcrumbs: Use the handbook's actual name instead of just 'Handbook'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/breadcrumbs.php

    r10756 r10783  
    5454
    5555        // Second link is always link to handbook home page.
     56        $handbook_name = wporg_get_current_handbook_name();
    5657        if ( wporg_is_handbook_landing_page() ) {
    57             $links[] = __( 'Handbook', 'wporg' );
     58            $links[] = $handbook_name;
    5859        } else {
    59             $links[] = sprintf( '<a href="%s">%s</a>', esc_url( wporg_get_current_handbook_home_url() ), __( 'Handbook', 'wporg' ) );
     60            $links[] = sprintf( '<a href="%s">%s</a>', esc_url( wporg_get_current_handbook_home_url() ), $handbook_name );
    6061        }
    6162
Note: See TracChangeset for help on using the changeset viewer.