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 3718-02: Add code to fix formating errors due to a bug in BBPRESS (http://forum.bytesforall.com/showthread.php?t=22946)

juggledad Dec 3, 2014 09:28 AM

PATCH 3718-02: Add code to fix formating errors due to a bug in BBPRESS
 
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


All times are GMT -6. The time now is 08:57 AM.

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