Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating » Old Version fixes and change logs »

PATCH 367-01: Odd effects when 'CSS: Compress' = 'Yes'


  #1  
Old May 13, 2011, 05:52 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.

css.php.zip

--------------------------------------------------------------
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"; 
}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jul 7, 2011 at 12:41 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
PATCH 367-05: Site Title appended after the 'WordPress SEO by Yoast' title juggledad Old Version fixes and change logs 0 Jul 4, 2011 05:24 AM
PATCH 367-04: Hovering over a Post/Page title only shows "Permanent Link to " juggledad Old Version fixes and change logs 0 Jun 20, 2011 12:03 PM
PATCH 367-03: PHP errors when adding widget areas in index.php juggledad Old Version fixes and change logs 0 May 14, 2011 09:52 AM
PATCH 367-02: Page Titles are double with 3.6.7 (now part of PATCH 367-04) juggledad Old Version fixes and change logs 0 May 13, 2011 03:57 PM
Ajaxed WordPress plugin special effects not working tuibguy Plugins & Atahualpa 2 Mar 19, 2009 02:10 PM


All times are GMT -6. The time now is 09:31 AM.


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