Changeset 1699139
- Timestamp:
- 07/19/2017 07:12:12 PM (8 years ago)
- Location:
- frontend-uploader/trunk
- Files:
-
- 4 edited
-
frontend-uploader.php (modified) (2 diffs)
-
lib/php/class-frontend-uploader-wp-media-list-table.php (modified) (1 diff)
-
lib/php/class-frontend-uploader-wp-posts-list-table.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend-uploader/trunk/frontend-uploader.php
r1688586 r1699139 4 4 Description: Allow your visitors to upload content and moderate it. 5 5 Author: Rinat Khaziev, Daniel Bachhuber 6 Version: 1.2. 16 Version: 1.2.2 7 7 Author URI: http://digitallyconscious.com 8 8 … … 26 26 27 27 // Define consts and bootstrap and dependencies 28 define( 'FU_VERSION', '1.2. 1' );28 define( 'FU_VERSION', '1.2.2' ); 29 29 define( 'FU_ROOT' , dirname( __FILE__ ) ); 30 30 define( 'FU_FILE_PATH' , FU_ROOT . '/' . basename( __FILE__ ) ); -
frontend-uploader/trunk/lib/php/class-frontend-uploader-wp-media-list-table.php
r1468826 r1699139 24 24 ); 25 25 26 $this->set_pagination_args( array( 27 'total_items' => $wp_query->found_posts, 28 'total_pages' => $wp_query->max_num_pages, 29 'per_page' => $wp_query->query_vars['posts_per_page'], 30 ) ); 31 26 32 $this->_column_headers = array( $columns, $hidden, $this->get_sortable_columns() ) ; 27 33 -
frontend-uploader/trunk/lib/php/class-frontend-uploader-wp-posts-list-table.php
r1468826 r1699139 42 42 'id', 43 43 ); 44 45 $this->set_pagination_args( array( 46 'total_items' => $wp_query->found_posts, 47 'total_pages' => $wp_query->max_num_pages, 48 'per_page' => $wp_query->query_vars['posts_per_page'], 49 ) ); 50 44 51 $this->_column_headers = array( $columns, $hidden, $this->get_sortable_columns() ) ; 45 52 } -
frontend-uploader/trunk/readme.txt
r1688586 r1699139 5 5 Requires at least: 4.1 6 6 Tested up to: 4.8 7 Stable tag: 1.2. 17 Stable tag: 1.2.2 8 8 License: GPLv2 or later 9 9 … … 108 108 = Form Elements = 109 109 110 * `[input type="text" name="post_title" class="my-class" ]` A text box for one line of text 111 * `[textarea name="post_content" class="my-text-area"]` => A text box for multiple lines of text 112 * `[input type="file" name="my-file"]` => A file uploader 113 * `[checkboxes name="fruits" values="value:Description,124:Banana,cherry:Cherry"]` => A set of checkboxes 114 * `[radio name="fruit" class="checkboxes" description="Pick a fruit" values="value:Description,124:Banana,cherry:Cherry"]` => A set of radio buttons 115 * `[select name="select-fruit" class="select" description="Pick a fruit" values="apple:Apple,banana:Banana,cherry:Cherry"]` => A select 116 * `[input type="submit" class="btn" value="Submit"]` => A submit button 110 Following are form elements you can use, please refer to *Field Attributes* section for more details on what attributes can be used. 111 112 Text box for one line of text: 113 `[input type="text" name="post_title" class="my-class" ]` 114 115 Text box for multiple lines of text: 116 `[textarea name="post_content" class="my-text-area"]` 117 118 File upload field: 119 `[input type="file" name="my-file"]` 120 121 Set of checkboxes: 122 `[checkboxes name="fruits" values="value:Description,124:Banana,cherry:Cherry"]` 123 124 Set of radio buttons: 125 `[radio name="fruit" class="checkboxes" description="Pick a fruit" values="value:Description,124:Banana,cherry:Cherry"]` 126 127 Select: 128 `[select name="select-fruit" class="select" description="Pick a fruit" values="apple:Apple,banana:Banana,cherry:Cherry"]` 129 130 Submit button: 131 `[input type="submit" class="btn" value="Submit"]` 132 133 Recaptcha: 134 `[recaptcha]` 117 135 118 136 **Field Attributes** … … 313 331 == Changelog == 314 332 333 = 1.2.2 (Jul 19, 2017) = 334 * Fix broken pagination in list tables 335 315 336 = 1.2 (Jun 30, 2017) = 316 337 * Added image preview in email notification
Note: See TracChangeset
for help on using the changeset viewer.