Plugin Directory

Changeset 1699139


Ignore:
Timestamp:
07/19/2017 07:12:12 PM (8 years ago)
Author:
rinatkhaziev
Message:

Merge 1.2.2

Location:
frontend-uploader/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • frontend-uploader/trunk/frontend-uploader.php

    r1688586 r1699139  
    44Description: Allow your visitors to upload content and moderate it.
    55Author: Rinat Khaziev, Daniel Bachhuber
    6 Version: 1.2.1
     6Version: 1.2.2
    77Author URI: http://digitallyconscious.com
    88
     
    2626
    2727// Define consts and bootstrap and dependencies
    28 define( 'FU_VERSION', '1.2.1' );
     28define( 'FU_VERSION', '1.2.2' );
    2929define( 'FU_ROOT' , dirname( __FILE__ ) );
    3030define( 'FU_FILE_PATH' , FU_ROOT . '/' . basename( __FILE__ ) );
  • frontend-uploader/trunk/lib/php/class-frontend-uploader-wp-media-list-table.php

    r1468826 r1699139  
    2424        );
    2525
     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
    2632        $this->_column_headers = array( $columns, $hidden, $this->get_sortable_columns() ) ;
    2733
  • frontend-uploader/trunk/lib/php/class-frontend-uploader-wp-posts-list-table.php

    r1468826 r1699139  
    4242            'id',
    4343        );
     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
    4451        $this->_column_headers = array( $columns, $hidden, $this->get_sortable_columns() ) ;
    4552    }
  • frontend-uploader/trunk/readme.txt

    r1688586 r1699139  
    55Requires at least: 4.1
    66Tested up to: 4.8
    7 Stable tag: 1.2.1
     7Stable tag: 1.2.2
    88License: GPLv2 or later
    99
     
    108108= Form Elements =
    109109
    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
     110Following are form elements you can use, please refer to *Field Attributes* section for more details on what attributes can be used.
     111
     112Text box for one line of text:
     113`[input type="text" name="post_title" class="my-class" ]`
     114
     115Text box for multiple lines of text:
     116`[textarea name="post_content" class="my-text-area"]`
     117
     118File upload field:
     119`[input type="file" name="my-file"]`
     120
     121Set of checkboxes:
     122`[checkboxes name="fruits" values="value:Description,124:Banana,cherry:Cherry"]`
     123
     124Set of radio buttons:
     125`[radio name="fruit" class="checkboxes" description="Pick a fruit" values="value:Description,124:Banana,cherry:Cherry"]`
     126
     127Select:
     128`[select name="select-fruit" class="select" description="Pick a fruit" values="apple:Apple,banana:Banana,cherry:Cherry"]`
     129
     130Submit button:
     131`[input type="submit" class="btn" value="Submit"]`
     132
     133Recaptcha:
     134`[recaptcha]`
    117135
    118136**Field Attributes**
     
    313331== Changelog ==
    314332
     333= 1.2.2 (Jul 19, 2017) =
     334* Fix broken pagination in list tables
     335
    315336= 1.2 (Jun 30, 2017) =
    316337* Added image preview in email notification
Note: See TracChangeset for help on using the changeset viewer.