@@ 2507-2512 (lines=6) @@ | ||
2504 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2505 | } |
|
2506 | ||
2507 | if ( $mod['plan_classes'] ) { |
|
2508 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2509 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2510 | } else { |
|
2511 | $mod['plan_classes'] = array( 'free' ); |
|
2512 | } |
|
2513 | ||
2514 | if ( $mod['feature'] ) { |
|
2515 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2514-2519 (lines=6) @@ | ||
2511 | $mod['plan_classes'] = array( 'free' ); |
|
2512 | } |
|
2513 | ||
2514 | if ( $mod['feature'] ) { |
|
2515 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2516 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2517 | } else { |
|
2518 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2519 | } |
|
2520 | ||
2521 | /** |
|
2522 | * Filters the feature array on a module. |