Code Duplication    Length = 5-5 lines in 2 locations

classes/fields/html.php 1 location

@@ 119-123 (lines=5) @@
116
117
		$value = $this->strip_html( $value, $options );
118
119
		if ( 1 === (int) pods_v( static::$type . '_oembed', $options, 0 ) ) {
120
			$embed = $GLOBALS['wp_embed'];
121
			$value = $embed->run_shortcode( $value );
122
			$value = $embed->autoembed( $value );
123
		}
124
125
		if ( 1 === (int) pods_v( static::$type . '_wptexturize', $options, 1 ) ) {
126
			$value = wptexturize( $value );

classes/fields/paragraph.php 1 location

@@ 170-174 (lines=5) @@
167
168
		$value = $this->strip_html( $value, $options );
169
170
		if ( 1 === (int) pods_v( static::$type . '_oembed', $options, 0 ) ) {
171
			$embed = $GLOBALS['wp_embed'];
172
			$value = $embed->run_shortcode( $value );
173
			$value = $embed->autoembed( $value );
174
		}
175
176
		if ( 1 === (int) pods_v( static::$type . '_wptexturize', $options, 1 ) ) {
177
			$value = wptexturize( $value );