| @@ -1,5 +1,6 @@ | ||
| 1 | -<?php if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access directly. | |
| 1 | +<?php if ( ! defined( 'ABSPATH' ) ) { | |
| 2 | + die; } // Cannot access directly. | |
| 2 | 3 | /** |
| 3 | 4 | * |
| 4 | 5 | * Sanitize |
| 5 | 6 | * Replace letter a to letter b |
| @@ -5,14 +6,13 @@ | ||
| 5 | 6 | * Replace letter a to letter b |
| 6 | 7 | * |
| 7 | 8 | * @since 1.0.0 |
| 8 | 9 | * @version 1.0.0 |
| 9 | - * | |
| 10 | 10 | */ |
| 11 | 11 | if ( ! function_exists( 'adminify_sanitize_replace_a_to_b' ) ) { |
| 12 | - function adminify_sanitize_replace_a_to_b( $value ) { | |
| 13 | - return str_replace( 'a', 'b', $value ); | |
| 14 | - } | |
| 12 | + function adminify_sanitize_replace_a_to_b( $value ) { | |
| 13 | + return str_replace( 'a', 'b', $value ); | |
| 14 | + } | |
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | 18 | * |
| @@ -19,11 +19,10 @@ | ||
| 19 | 19 | * Sanitize title |
| 20 | 20 | * |
| 21 | 21 | * @since 1.0.0 |
| 22 | 22 | * @version 1.0.0 |
| 23 | - * | |
| 24 | 23 | */ |
| 25 | 24 | if ( ! function_exists( 'adminify_sanitize_title' ) ) { |
| 26 | - function adminify_sanitize_title( $value ) { | |
| 27 | - return sanitize_title( $value ); | |
| 28 | - } | |
| 25 | + function adminify_sanitize_title( $value ) { | |
| 26 | + return sanitize_title( $value ); | |
| 27 | + } | |
| 29 | 28 | } |