← All changes
|
includes/features/bbpc_attachments/code/sanitize.php
+3
-2
1.2.9
→
2.5.0
View file →
| @@ -3,10 +3,10 @@ | ||
| 3 | 3 | if ( ! defined( 'ABSPATH' ) ) { |
| 4 | 4 | exit; |
| 5 | 5 | } |
| 6 | 6 | |
| 7 | -if ( ! function_exists( 'bbpc_sanitize_key_expanded' ) ) { | |
| 8 | - function bbpc_sanitize_key_expanded( $key ) { | |
| 7 | +if ( ! function_exists( 'forumax_sanitize_key_expanded' ) ) { | |
| 8 | + function forumax_sanitize_key_expanded( $key ) { | |
| 9 | 9 | $key = strtolower( $key ); |
| 10 | 10 | $key = preg_replace( '/[^a-z0-9._\-]/', '', $key ); |
| 11 | 11 | |
| 12 | 12 | return $key; |
| @@ -71,4 +71,5 @@ | ||
| 71 | 71 | |
| 72 | 72 | return $output; |
| 73 | 73 | } |
| 74 | 74 | } |
| 75 | + | |