Code Duplication    Length = 11-11 lines in 2 locations

wp-share-this.php 2 locations

@@ 183-193 (lines=11) @@
180
	/**
181
	 * @return mixed|void
182
	 */
183
	private static function _og_title() {
184
185
		$title = get_the_title();
186
187
		if ( is_home() || is_front_page() ) {
188
			$title = get_bloginfo( 'name' );
189
		}
190
191
		return apply_filters( 'wpst_og_title', wp_kses_post( $title ) );
192
193
	}
194
195
	/**
196
	 * @return mixed|void
@@ 198-208 (lines=11) @@
195
	/**
196
	 * @return mixed|void
197
	 */
198
	private static function _og_description() {
199
200
		$description = apply_filters( 'the_excerpt', get_the_excerpt() );
201
202
		if ( is_home() || is_front_page() ) {
203
			$description = get_bloginfo( 'description' );
204
		}
205
206
		return apply_filters( 'wpst_og_description', wp_kses_post( $description ) );
207
208
	}
209
210
	/**
211
	 * @return mixed|void