PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 2.2.10
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v2.2.10
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
← All changes | admin/views/sp-framework/functions/sanitize.php +15 -20 2.4.11 → 2.2.10 View file →
@@ -1,19 +1,16 @@
1 1 <?php if ( ! defined( 'ABSPATH' ) ) {
2 2 die;
3 3 } // Cannot access directly.
4 -
4 +/**
5 + *
6 + * Sanitize
7 + * Replace letter a to letter b
8 + *
9 + * @since 1.0.0
10 + * @version 1.0.0
11 + */
5 12 if ( ! function_exists( 'spf_sanitize_replace_a_to_b' ) ) {
6 - /**
7 - * Sanitize
8 - * Replace letter a to letter b
9 - *
10 - * @since 1.0.0
11 - * @version 1.0.0
12 - *
13 - * @param string $value the value.
14 - * @return mixed
15 - */
16 13 function spf_sanitize_replace_a_to_b( $value ) {
17 14
18 15 return str_replace( 'a', 'b', $value );
19 16 }
@@ -18,18 +15,16 @@
18 15 return str_replace( 'a', 'b', $value );
19 16 }
20 17 }
21 18
19 +/**
20 + *
21 + * Sanitize title
22 + *
23 + * @since 1.0.0
24 + * @version 1.0.0
25 + */
22 26 if ( ! function_exists( 'spf_sanitize_title' ) ) {
23 - /**
24 - * Sanitize title
25 - *
26 - * @since 1.0.0
27 - * @version 1.0.0
28 - *
29 - * @param string $value The title.
30 - * @return string
31 - */
32 27 function spf_sanitize_title( $value ) {
33 28
34 29 return sanitize_title( $value );
35 30 }