Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

PATCH 3718-02: Add code to fix formating errors due to a bug in BBPRESS


  #1  
Old Dec 3, 2014, 09:28 AM
juggledad's Avatar
juggledad
 
23,516 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
This patch will fix a page formatting error when using Atahualpa with BBPress due to a bug in BBPress. (reported to BBPress see: https://bbpress.trac.wordpress.org/ticket/2723) BBPress is not setting the is_single and is_page conditionals. This patch will make and adjustment if BBPress is active so the formating is correct.

This will be added in 3.7.19

To fix the issue, edit bfa_post_parts.php and change line 134 (versiion 3.7.18) from
HTML Code:
	OR   is_page() 
to
HTML Code:
	OR   is_page() 
	OR   function_exists('is_bbpress')
edit bfa_get_options.php and change line 346 from
HTML Code:
		if ( is_page() AND !is_front_page() AND !is_home() ) {
to
HTML Code:
		if (( is_page() AND !is_front_page() AND !is_home() ) 
        OR (function_exists('is_bbpress')) )  {
This code will be added to 3.7.19
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
PATCH 3718-01: <body> statement shows category named when blog page is front page juggledad Old Version fixes and change logs 0 Sep 2, 2014 04:01 AM
Patch 122-02: documentation error in 'Limited PHP Code' for get_search_form( juggledad New Versions & Updates 0 Apr 16, 2014 05:18 AM
PATCH 113-06: the_author and other 'Limited PHP code' don't all work juggledad New Versions & Updates 0 Mar 13, 2013 03:49 PM
PATCH 373-06: Remove '<p>...</p>' surrounding footer to prevent validation errors juggledad Old Version fixes and change logs 0 Mar 2, 2012 10:31 AM
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


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


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