Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Old Version fixes and change logs (http://forum.bytesforall.com/forumdisplay.php?f=37)
-   -   BUGFIX 364-01: “Title tags in Category Menu Bar” fails to remove muti-line title (http://forum.bytesforall.com/showthread.php?t=12569)

juggledad Feb 1, 2011 08:01 AM

BUGFIX 364-01: “Title tags in Category Menu Bar” fails to remove muti-line title
 
If you have a Category with a multi line description, setting the option 'Title tags in Category Menu Bar' to 'No' will not prevent the title from displaying.

To fix this edit 'bfa_hor_cats.php and change line 29 (version 3.6.1 and 3.6.4) from
HTML Code:

                $list_cat_string = preg_replace("/title=\"(.*?)\"/i","",$list_cat_string);
to
HTML Code:

                $list_cat_string = preg_replace("/title=\"(.*?)\"/si","",$list_cat_string);

KatyDigg Feb 10, 2011 02:20 PM

Trying this out right now ... only just found this BUGFIX, as it is not a "sticky" post.

juggledad Feb 10, 2011 03:47 PM

it is now.


All times are GMT -6. The time now is 04:07 AM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.