@@ -795,6 +795,7 @@ |
||
| 795 | 795 | * Retrieve the entries for the current view and request. |
| 796 | 796 | * |
| 797 | 797 | * @param \GV\Request The request. Unused for now. |
| 798 | + * @param Request $request |
|
| 798 | 799 | * |
| 799 | 800 | * @return \GV\Entry_Collection The entries. |
| 800 | 801 | */ |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | |
| 75 | 75 | /** |
| 76 | 76 | * Render the page size widget |
| 77 | - * |
|
| 77 | + * |
|
| 78 | 78 | * @param array $widget_args The Widget shortcode args. |
| 79 | 79 | * @param string $content The content. |
| 80 | 80 | * @param string|\GV\Template_Context $context The context, if available. |
@@ -115,14 +115,14 @@ discard block |
||
| 115 | 115 | <?php } ?> |
| 116 | 116 | </select> |
| 117 | 117 | <input type="submit" value="Submit" style="visibility: hidden; position: absolute;" /><?php |
| 118 | - if( ! empty( $_GET ) ) { |
|
| 119 | - $get = $_GET; |
|
| 120 | - unset( $get['page_size'] ); |
|
| 121 | - foreach ( $get as $key => $value ) { |
|
| 122 | - printf( '<input type="hidden" name="%s" value="%s" />', esc_attr( $key ), esc_attr( $value ) ); |
|
| 123 | - } |
|
| 124 | - } |
|
| 125 | - ?> |
|
| 118 | + if( ! empty( $_GET ) ) { |
|
| 119 | + $get = $_GET; |
|
| 120 | + unset( $get['page_size'] ); |
|
| 121 | + foreach ( $get as $key => $value ) { |
|
| 122 | + printf( '<input type="hidden" name="%s" value="%s" />', esc_attr( $key ), esc_attr( $value ) ); |
|
| 123 | + } |
|
| 124 | + } |
|
| 125 | + ?> |
|
| 126 | 126 | </div> |
| 127 | 127 | </form> |
| 128 | 128 | </div> |