PRIVACY: possible privacy leakage under a defined set of circumstances
This commit is contained in:
@@ -1379,12 +1379,8 @@ function generate_named_map($location) {
|
||||
|
||||
function prepare_body(&$item,$attach = false) {
|
||||
|
||||
if(get_config('system','item_cache') && $item['html'])
|
||||
return $item['html'];
|
||||
|
||||
call_hooks('prepare_body_init', $item);
|
||||
|
||||
|
||||
unobscure($item);
|
||||
|
||||
$s = prepare_text($item['body'],$item['mimetype']);
|
||||
@@ -1452,12 +1448,6 @@ function prepare_body(&$item,$attach = false) {
|
||||
$prep_arr = array('item' => $item, 'html' => $s);
|
||||
call_hooks('prepare_body_final', $prep_arr);
|
||||
|
||||
if(get_config('system','item_cache'))
|
||||
q("update item set html = '%s' where id = %d",
|
||||
dbesc($prep_arr['html']),
|
||||
intval($item['id'])
|
||||
);
|
||||
|
||||
return $prep_arr['html'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user