Changeset 10783
- Timestamp:
- 03/05/2021 12:54:40 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/breadcrumbs.php
r10756 r10783 54 54 55 55 // Second link is always link to handbook home page. 56 $handbook_name = wporg_get_current_handbook_name(); 56 57 if ( wporg_is_handbook_landing_page() ) { 57 $links[] = __( 'Handbook', 'wporg' );58 $links[] = $handbook_name; 58 59 } 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 ); 60 61 } 61 62
Note: See TracChangeset
for help on using the changeset viewer.