@@ 2386-2391 (lines=6) @@ | ||
2383 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2384 | } |
|
2385 | ||
2386 | if ( $mod['plan_classes'] ) { |
|
2387 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2388 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2389 | } else { |
|
2390 | $mod['plan_classes'] = array( 'free' ); |
|
2391 | } |
|
2392 | ||
2393 | if ( $mod['feature'] ) { |
|
2394 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2393-2398 (lines=6) @@ | ||
2390 | $mod['plan_classes'] = array( 'free' ); |
|
2391 | } |
|
2392 | ||
2393 | if ( $mod['feature'] ) { |
|
2394 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2395 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2396 | } else { |
|
2397 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2398 | } |
|
2399 | ||
2400 | /** |
|
2401 | * Filters the feature array on a module. |