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)
-   -   PATCH 367-01: Odd effects when 'CSS: Compress' = 'Yes' (http://forum.bytesforall.com/showthread.php?t=14143)

juggledad May 13, 2011 06:52 AM

PATCH 367-01: Odd effects when 'CSS: Compress' = 'Yes'
 
1 Attachment(s)
If you have the setting 'ATO->Configure CSS & JS->CSS: Compress?' set to 'Yes' you may notice some odd effects in the sidebar, or that the space after commas is missing. An incorrect test at the end of css.php causes this issue.

To fix this issue,
1) Download the attached file.
2) unzip it on your computer
3) FTP it to the 'atahualpa' folder on your host, replacing the copy that is there.

Attachment 1354

--------------------------------------------------------------
The following is the change that was made to the code:
--------------------------------------------------------------
css.php (version 3.6.7) lines 2944-2951 were changed from
HTML Code:

if ( $bfa_ata['css_compress'] == "Yes" AND
!( isset($bfa_ata_debug) AND $bfa_ata['allow_debug'] == "Yes" ) ) {
        ob_end_flush();
}       
if ( isset($bfa_ata_preview) OR $bfa_ata['css_external'] == "Inline" OR
( isset($bfa_ata_debug) AND $bfa_ata['allow_debug'] == "Yes" ) ) {
        echo "</style>\n";
}

to
HTML Code:

if ( $bfa_ata['css_compress'] == "Yes" AND
!($bfa_ata_debug==1 AND $bfa_ata['allow_debug'] == "Yes" ) ) {
        ob_end_flush();
}       
if ( isset($bfa_ata_preview) OR $bfa_ata['css_external'] == "Inline" OR
($bfa_ata_debug==1 AND $bfa_ata['allow_debug'] == "Yes" ) ) {
        echo "</style>\n";
}



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

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