Plugin Directory

Changeset 2898244

Timestamp:
04/13/2023 07:10:34 AM (16 months ago)
Author:
nsp-code
Message:

version 2.0.5

Location:
post-types-order
Files:
27 added
5 edited

Legend:

Unmodified
Added
Removed
  • post-types-order/trunk/include/class.cpto.php

    r2890973 r2898244  
    253253                    $options          =     $this->functions->get_options();
    254254                   
    255                     //if functionality turned off, continue
    256                     if( $options['archive_drag_drop']   !=      '1')
    257                         return;
    258                    
     255                                       
    259256                    //if adminsort turned off no need to continue
    260257                    if( $options['adminsort']           !=      '1')
  • post-types-order/trunk/include/class.functions.php

    r2870026 r2898244  
    4747                                            'adminsort'                         =>  1,
    4848                                            'use_query_ASC_DESC'                =>  '',
    49                                             'archive_drag_drop'                 =>  1,
    5049                                            'capability'                        =>  'manage_options',
    5150                                            'navigation_sort_apply'             =>  1,
  • post-types-order/trunk/include/class.options.php

    r2890973 r2898244  
    3434                            $options['adminsort']               = isset($_POST['adminsort'])    ? intval($_POST['adminsort'])   : '';
    3535                            $options['use_query_ASC_DESC']      = isset($_POST['use_query_ASC_DESC'])    ? intval($_POST['use_query_ASC_DESC'])   : '';
    36                             $options['archive_drag_drop']       = isset($_POST['archive_drag_drop'])    ? intval($_POST['archive_drag_drop'])   : '';
    3736                           
    3837                            $options['navigation_sort_apply']   = isset($_POST['navigation_sort_apply'])    ? intval($_POST['navigation_sort_apply'])   : '';
     
    155154                                            <td>
    156155                                                <p>
    157                                                 <input type="checkbox" <?php checked( '1', $options['archive_drag_drop'] ); ?> id="archive_drag_drop" value="1" name="archive_drag_drop">
    158                                                 <?php esc_html_e("Allow sortable drag & drop functionality within default WordPress post type archive. Admin Sort need to be active.", 'post-types-order') ?>.</p>
     156                                                <?php esc_html_e("Allow sortable drag & drop functionality within default WordPress post type archive. Admin Sort need to be active.", 'post-types-order') ?></p>
    159157                                                <br />
    160158                                                <?php
  • post-types-order/trunk/post-types-order.php

    r2890973 r2898244  
    66Author: Nsp Code
    77Author URI: http://www.nsp-code.com
    8 Version: 2.0.2
     8Version: 2.0.
    99Text Domain: post-types-order
    1010Domain Path: /languages/
  • post-types-order/trunk/readme.txt

    r2890973 r2898244  
    55Requires at least: 2.8
    66Tested up to: 6.2
    7 Stable tag: 2.0.2
     7Stable tag: 2.0.
    88
    99Sort Posts and custom Post Type Objects (custom post types) using a Drag and Drop Sortable JavaScript AJAX interface or default WordPress dashboard.
     
    9494
    9595== Change Log == 
     96
     97
     98
    9699
    97100= 2.0.2 =
Note: See TracChangeset for help on using the changeset viewer.