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)
-   -   BUGFIX 364-06: Post Date does not work in 'FOOTER: xxxx' (http://forum.bytesforall.com/showthread.php?t=13216)

juggledad Mar 9, 2011 04:48 AM

BUGFIX 364-06: Post Date does not work in 'FOOTER: xxxx'
 
prior to 3.6.1, you could access $post->post_modified in the 'FOOTER: Homepage', 'FOOTER: Multi Post Pages', 'FOOTER: Single Post Pages', or 'FOOTER: "Page" Pages' but due to the use of stream wrappers in 3.6.x - $post is no longer valid.

To fix this edit bfa_post_parts.php (it's in the 'functions' folder) and change
in version 3.6.1 - line 176
in version 3.6.4 - line 171
from
HTML Code:

        global $bfa_ata;
to
HTML Code:

        global $bfa_ata, $post;


All times are GMT -6. The time now is 05:28 AM.

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