Code Duplication    Length = 7-7 lines in 2 locations

includes/forms/functions.php 2 locations

@@ 105-111 (lines=7) @@
102
 *
103
 * @return      string
104
 */
105
function give_get_success_page_uri() {
106
	$give_options = give_get_settings();
107
108
	$success_page = isset( $give_options['success_page'] ) ? get_permalink( absint( $give_options['success_page'] ) ) : get_bloginfo( 'url' );
109
110
	return apply_filters( 'give_get_success_page_uri', $success_page );
111
}
112
113
/**
114
 * Determines if we're currently on the Success page.
@@ 336-342 (lines=7) @@
333
 *
334
 * @return      string
335
 */
336
function give_get_history_page_uri() {
337
	$give_options = give_get_settings();
338
339
	$history_page = isset( $give_options['history_page'] ) ? get_permalink( absint( $give_options['history_page'] ) ) : get_bloginfo( 'url' );
340
341
	return apply_filters( 'give_get_history_page_uri', $history_page );
342
}
343
344
/**
345
 * Check if a field is required