Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme » New Versions & Updates »

PATCH 113-03: Using 'the_content()' in a virtual template may incorrect results


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jan 6, 2013, 03:07 PM
juggledad's Avatar
juggledad
 
22,382 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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
__________________
"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; Mar 13, 2013 at 04:52 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Edited virtual template changes not showing up jerryc Montezuma Theme 2 Oct 5, 2012 11:24 PM
PATCH 377-03: Page 'Title' incorrect when using 'WordPress SEO by Yoast' juggledad Old Version fixes and change logs 2 Aug 19, 2012 04:59 PM
PATCH 377-02: Page 'Title' incorrect when using BFA SEO and Blog Title - Page Title juggledad Old Version fixes and change logs 0 Aug 13, 2012 04:23 AM
[SOLVED] PATCH 373-03: date-modified in post/page .. patch is corrupted dnasir New Versions, & Updating 3 Jan 19, 2012 09:21 AM
Template for search results kjetil Center area post/pages 1 Jun 14, 2010 05:06 AM


All times are GMT -6. The time now is 03:10 AM.


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