Component’s browser title + Changeset 5153 + Skeleton Component
-
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!)
- The topic ‘Component’s browser title + Changeset 5153 + Skeleton Component’ is closed to new replies.