Changeset 2005
- Timestamp:
- 10/25/2015 01:10:40 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/translate.wordpress.org/public_html/gp-templates/helper-functions.php
r1938 r2005 10 10 }, 50, 4 ); 11 11 12 add_filter( 'gp_breadcrumb', function( $breadcrumb ) {13 $breadcrumb = preg_replace( '#<span class="separator">(.*?)</span>#', '', $breadcrumb, 1 );14 if ( false !== strpos( $breadcrumb, '<span class="active bubble">' ) )15 $breadcrumb = str_replace( '</span><span class="active bubble">', ' <span class="active bubble">', $breadcrumb ) . '</span>';16 return $breadcrumb;17 }, 11 ); // After bubble is added by lamba() in gp-templates/project.php
Note: See TracChangeset
for help on using the changeset viewer.