Changes in sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/breadcrumbs.php [10783:7916]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/breadcrumbs.php
r10783 r7916 30 30 public static function do_init() { 31 31 // Note if the WPorg_Handbook_Pages_Widget widget is in use. 32 if ( class_exists( 'WPorg_Handbook_Pages_Widget' ) &&is_active_widget( false, false, WPorg_Handbook_Pages_Widget::get_widget_id_base(), true ) ) {32 if ( is_active_widget( false, false, WPorg_Handbook_Pages_Widget::get_widget_id_base(), true ) ) { 33 33 self::$using_pages_widget = true; 34 34 } … … 54 54 55 55 // Second link is always link to handbook home page. 56 $handbook_name = wporg_get_current_handbook_name();57 56 if ( wporg_is_handbook_landing_page() ) { 58 $links[] = $handbook_name;57 $links[] = __( 'Handbook', 'wporg' ); 59 58 } else { 60 $links[] = sprintf( '<a href="%s">%s</a>', esc_url( wporg_get_current_handbook_home_url() ), $handbook_name);59 $links[] = sprintf( '<a href="%s">%s</a>', esc_url( wporg_get_current_handbook_home_url() ), __( 'Handbook', 'wporg' ) ); 61 60 } 62 61
Note: See TracChangeset
for help on using the changeset viewer.