Ticket #209 (closed defect: wontfix)

Opened 9 months ago

Last modified 2 weeks ago

mgd_format ignores custom filters

Reported by: flack Assigned to: piotras
Priority: major Milestone: 8.09 Ragnaroek
Component: Midgard Core Version:
Keywords: Cc:

Description

When you register your own filters, they only work with the &(var:filter); syntax, mgd_format ignores them.

Code to reproduce:

<?php
function cus_filter($string)
{
    $string = "other string";
    echo $string;
}


mgd_register_filter('filter', 'cus_filter');
$input = "some string";
 echo mgd_format($input, 'xfilter'); 
?>
<br />
&(input:xfilter);

Expected output:

other string

other string

Actual output:

some string

other string

Change History

09/30/08 14:47:58 changed by bergie

  • status changed from new to closed.
  • resolution set to wontfix.
  • milestone set to 8.09 Ragnaroek.

Legacy Midgard functionality.