Skip to:
Content
Pages
Categories
Search
Top
Bottom

Component’s browser title + Changeset 5153 + Skeleton Component

  • Avatar of James
    James
    Participant

    @janismo

    Hi,

    Cannot find some old thread, so I have to create new one. With bp skeleton component I have faced old issue re “Browser title for a component’s directory only displays the word ‘Directory’”, described here http://buddypress.trac.wordpress.org/ticket/3582?cversion=0&cnum_hist=1

    As we see, there is workaround for this problem included https://buddypress.trac.wordpress.org/changeset/5153, but, as I understand, it is not in BP 1.5.5.

    Basically, the only thing I need to solve this for skeleton component is to replace one string in bp-core-template.php:

    $title = sprintf( __( ‘%s Directory’, ‘buddypress’ ), bp_get_name_from_root_slug() );

    with

    $title = sprintf( __( ‘%s Directory’, ‘buddypress’ ), bp_get_name_from_root_slug( bp_get_root_slug() ) );

    Does anyone know why “Changeset 5153″ was left aside?

    @boonebgorges , probably, you are the best person to ask, since you have spent time on both (thanks btw!)

You must be logged in to reply to this topic.