@@ 2256-2261 (lines=6) @@ | ||
2253 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2254 | } |
|
2255 | ||
2256 | if ( $mod['plan_classes'] ) { |
|
2257 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2258 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2259 | } else { |
|
2260 | $mod['plan_classes'] = array( 'free' ); |
|
2261 | } |
|
2262 | ||
2263 | if ( $mod['feature'] ) { |
|
2264 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2263-2268 (lines=6) @@ | ||
2260 | $mod['plan_classes'] = array( 'free' ); |
|
2261 | } |
|
2262 | ||
2263 | if ( $mod['feature'] ) { |
|
2264 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2265 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2266 | } else { |
|
2267 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2268 | } |
|
2269 | ||
2270 | /** |
|
2271 | * Filters the feature array on a module. |