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