Code Duplication    Length = 4-4 lines in 2 locations

includes/general.php 2 locations

@@ 864-867 (lines=4) @@
861
			} else {
862
				// If we are displaying pagination, allow page/offset override only if *set*
863
864
				if ( isset( $tags['page'] ) ) {
865
					$params['page'] = (int) $tags['page'];
866
					$params['page'] = max( $params['page'], 1 );
867
				}
868
869
				if ( isset( $tags['offset'] ) ) {
870
					$params['offset'] = (int) $tags['offset'];
@@ 869-872 (lines=4) @@
866
					$params['page'] = max( $params['page'], 1 );
867
				}
868
869
				if ( isset( $tags['offset'] ) ) {
870
					$params['offset'] = (int) $tags['offset'];
871
					$params['offset'] = max( $params['offset'], 0 );
872
				}
873
			}
874
875
			if ( !empty( $tags[ 'cache_mode' ] ) && 'none' != $tags[ 'cache_mode' ] ) {