Making WordPress.org


Ignore:
File:
1 edited

Legend:

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

    r10783 r7916  
    3030        public static function do_init() {
    3131                // 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 ) ) {
    3333                        self::$using_pages_widget = true;
    3434                }
     
    5454
    5555                // Second link is always link to handbook home page.
    56                 $handbook_name = wporg_get_current_handbook_name();
    5756                if ( wporg_is_handbook_landing_page() ) {
    58                         $links[] = $handbook_name;
     57                        $links[] = __( 'Handbook', 'wporg' );
    5958                } 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' ) );
    6160                }
    6261
Note: See TracChangeset for help on using the changeset viewer.