diff options
author | Michael Hamann <michael@content-space.de> | 2011-01-10 20:39:44 +0100 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2011-01-10 20:39:44 +0100 |
commit | 4a81940267e4278153d3726b605286fd963084ec (patch) | |
tree | 16b52a6e0bb14b472e94f6ece346563ae7df8b22 /lib/plugins/plugin/classes/ap_info.class.php | |
parent | d6a4a040ca66d247bb4c3fc3e67c4ee683c920b2 (diff) | |
download | rpg-4a81940267e4278153d3726b605286fd963084ec.tar.gz rpg-4a81940267e4278153d3726b605286fd963084ec.tar.bz2 |
Activate the render parameter of p_get_metadata
p_get_metadata has a $render parameter that has been disabled by the
restructuring of metadata rendering. This change reactivates it so
rendering metadata can be prevented. This is e.g. used in the search and
in some plugins like indexmenu that use p_get_first_heading. The default
of the parameter has been changed to true as otherwise the new caching
structure won't work as almost all calls to p_get_metadata don't set the
$render parameter.
The indexer call to p_get_first_heading has been changed to set $render
to true as in the indexer only one page will be rendered and the title
in the index should really be the current one.
This does not fix the problem that rendering pages with lots of links or
displaying the index can cause the parsing/rendering of a lot of pages.
Diffstat (limited to 'lib/plugins/plugin/classes/ap_info.class.php')
0 files changed, 0 insertions, 0 deletions