Code Duplication    Length = 4-4 lines in 2 locations

includes/general.php 2 locations

@@ 803-806 (lines=4) @@
800
			} else {
801
				// If we are displaying pagination, allow page/offset override only if *set*
802
803
				if ( isset( $tags['page'] ) ) {
804
					$params['page'] = (int) $tags['page'];
805
					$params['page'] = max( $params['page'], 1 );
806
				}
807
808
				if ( isset( $tags['offset'] ) ) {
809
					$params['offset'] = (int) $tags['offset'];
@@ 808-811 (lines=4) @@
805
					$params['page'] = max( $params['page'], 1 );
806
				}
807
808
				if ( isset( $tags['offset'] ) ) {
809
					$params['offset'] = (int) $tags['offset'];
810
					$params['offset'] = max( $params['offset'], 0 );
811
				}
812
			}
813
814
			if ( !empty( $tags[ 'cache_mode' ] ) && 'none' != $tags[ 'cache_mode' ] ) {