Committed filter separation patch: all filter-related things are now in filter.module (which is a required module).
To do this cleanly, I reorganised some bits of system.module: there is now a generic handler available for simple variable-get/set based configuration pages. Look at filter_admin() or system_view() for example usage. (based on the patch by Goba)4.4.x
parent
30fb23451f
commit
0158c920ad
|
@ -361,7 +361,7 @@ function import_refresh($feed) {
|
|||
|
||||
// Prepare the item:
|
||||
foreach ($item as $key => $value) {
|
||||
$item[$key] = node_filter(strtr(trim($value), $tt));
|
||||
$item[$key] = filter_default(strtr(trim($value), $tt));
|
||||
}
|
||||
|
||||
if ($item["TITLE"]) {
|
||||
|
|
|
@ -361,7 +361,7 @@ function import_refresh($feed) {
|
|||
|
||||
// Prepare the item:
|
||||
foreach ($item as $key => $value) {
|
||||
$item[$key] = node_filter(strtr(trim($value), $tt));
|
||||
$item[$key] = filter_default(strtr(trim($value), $tt));
|
||||
}
|
||||
|
||||
if ($item["TITLE"]) {
|
||||
|
|
|
@ -361,7 +361,7 @@ function import_refresh($feed) {
|
|||
|
||||
// Prepare the item:
|
||||
foreach ($item as $key => $value) {
|
||||
$item[$key] = node_filter(strtr(trim($value), $tt));
|
||||
$item[$key] = filter_default(strtr(trim($value), $tt));
|
||||
}
|
||||
|
||||
if ($item["TITLE"]) {
|
||||
|
|
Loading…
Reference in New Issue