Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions & Updates (http://forum.bytesforall.com/forumdisplay.php?f=54)
-   -   PATCH 113-03: Using 'the_content()' in a virtual template may incorrect results (http://forum.bytesforall.com/showthread.php?t=19269)

juggledad Jan 6, 2013 02:07 PM

PATCH 113-03: Using 'the_content()' in a virtual template may incorrect results
 
This patch is included in PATCH 113-06

If you use 'the_content();' in a virtual template you may see the post text from one post wth the title from another or you may put the server in a loop or exceed the allowed memory.

The following patch fixs this issue

edit the file 'montezuma/includes/parse_php.php' and change line 35 from
HTML Code:

                if (have_posts())
to
HTML Code:

                if ((is_single() OR is_page()) AND have_posts())
or download the attached file (which has the fix applied) and using FTP, replace the existing 'parse_php.php' file in the 'includes' sub-folder in the theme


All times are GMT -6. The time now is 02:21 PM.

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