@@ 2514-2519 (lines=6) @@ | ||
2511 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2512 | } |
|
2513 | ||
2514 | if ( $mod['plan_classes'] ) { |
|
2515 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2516 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2517 | } else { |
|
2518 | $mod['plan_classes'] = array( 'free' ); |
|
2519 | } |
|
2520 | ||
2521 | if ( $mod['feature'] ) { |
|
2522 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2521-2526 (lines=6) @@ | ||
2518 | $mod['plan_classes'] = array( 'free' ); |
|
2519 | } |
|
2520 | ||
2521 | if ( $mod['feature'] ) { |
|
2522 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2523 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2524 | } else { |
|
2525 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2526 | } |
|
2527 | ||
2528 | /** |
|
2529 | * Filters the feature array on a module. |