Changeset 2848680
- Timestamp:
- 01/15/2023 02:21:04 PM (3 years ago)
- Location:
- wp-table-editor/trunk
- Files:
-
- 6 edited
-
assets/css/admin.css (modified) (2 diffs)
-
includes/admin/column.php (modified) (1 diff)
-
includes/admin/row_action.php (modified) (2 diffs)
-
includes/public/row_action.php (modified) (1 diff)
-
main.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-table-editor/trunk/assets/css/admin.css
r2833890 r2848680 210 210 } 211 211 #xs-select-all { 212 display: none;212 /*display: none;*/ 213 213 } 214 214 } … … 485 485 line-height: 36px; 486 486 } 487 body.mobile.modal-open #wpwrap { 488 position: relative !important; 489 } 490 @media screen and (max-width: 782px){ 491 .wp-core-ui .button { 492 min-height: 32px; 493 line-height: 1; 494 } 495 } -
wp-table-editor/trunk/includes/admin/column.php
r2847538 r2848680 165 165 <option value="">textarea</option> 166 166 <option value="text">text</option> 167 <option value="id">id</option> 167 168 <option value="url">url</option> 168 169 <option value="date">date</option> -
wp-table-editor/trunk/includes/admin/row_action.php
r2833890 r2848680 108 108 }elseif($order_types[$x] === 'html'){ 109 109 $sub_array[] = htmlentities($value); 110 }elseif($order_types[$x] === 'id'){ 111 $sub_array[] = $row['column_id']; 110 112 }else{ 111 113 $sub_array[] = $value; … … 176 178 $rows = array(); 177 179 foreach($data as $key => $row){ 178 $rows[$key] = stripslashes(wp_kses_post(trim($_POST[$key]))); 180 if(isset($_POST[$key])){ 181 $rows[$key] = stripslashes(wp_kses_post(trim($_POST[$key]))); 182 } 179 183 } 180 184 if(!empty($row_id)){ 181 185 $result = $wpdb->update($table, $rows, array('column_id' => $row_id)); 182 }183 if($result){184 echo wp_kses_post('<div class="alert alert-success">'.esc_html__('Row Edited', 'wp-table-editor').'</div>');186 if($result){ 187 echo wp_kses_post('<div class="alert alert-success">'.esc_html__('Row Edited', 'wp-table-editor').'</div>'); 188 } 185 189 } 186 190 } -
wp-table-editor/trunk/includes/public/row_action.php
r2833890 r2848680 100 100 }elseif($order_types[$x] === 'html'){ 101 101 $sub_array[] = htmlentities($value); 102 }elseif($order_types[$x] === 'id'){ 103 $sub_array[] = $row['column_id']; 102 104 }else{ 103 105 $sub_array[] = $value; -
wp-table-editor/trunk/main.php
r2848070 r2848680 4 4 Plugin URI: https://wptableeditor.com/documentation/ 5 5 Description: Table Editor is a WordPress plugin used to quickly create tables from Excel, CSV, JSON and other data sources. Allows you to create beautiful sortable and responsive tables inside your posts, pages, custom post types or widget area. 6 Version: 1.1. 86 Version: 1.1.9 7 7 Author: wptableeditor.com 8 8 Author URI: https://wptableeditor.com/ … … 15 15 if ( ! defined( 'WPTABLEEDITOR_ASSETS' ) ) define( 'WPTABLEEDITOR_ASSETS', plugins_url( 'assets/', __FILE__ ) ); 16 16 if ( ! defined( 'WPTABLEEDITOR_VENDOR' ) ) define( 'WPTABLEEDITOR_VENDOR', plugins_url( 'vendor/', __FILE__ ) ); 17 if ( ! defined( 'WPTABLEEDITOR_VERSION' ) ) define( 'WPTABLEEDITOR_VERSION', '1.1. 8' );17 if ( ! defined( 'WPTABLEEDITOR_VERSION' ) ) define( 'WPTABLEEDITOR_VERSION', '1.1.9' ); 18 18 if ( ! defined( 'WPTABLEEDITOR_SLUG' ) ) define( 'WPTABLEEDITOR_SLUG', basename( plugin_dir_path( __FILE__ ) ) ); 19 19 if ( ! defined( 'WPTABLEEDITOR_MAIN' ) ) define( 'WPTABLEEDITOR_MAIN', plugin_basename( __FILE__ ) ); … … 257 257 "User-Agent" => $site_url, 258 258 ), 259 'timeout' => 15259 'timeout' => 30 260 260 ); 261 261 $url = add_query_arg( $option, self::$api_url ); -
wp-table-editor/trunk/readme.txt
r2848080 r2848680 5 5 Tested up to: 6.1.1 6 6 Requires PHP: 7.4 7 Stable tag: 1.1. 87 Stable tag: 1.1.9 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 75 75 == Changelog == 76 76 77 = 1.1.9 = 78 * Code Optimization 79 77 80 = 1.1.8 = 78 * Other small bug fixes and stability improvements .81 * Other small bug fixes and stability improvements 79 82 80 83 = 1.1.7 = 81 * Other small bug fixes and stability improvements .84 * Other small bug fixes and stability improvements 82 85 83 86 = 1.1.6 = 84 * Other small bug fixes and stability improvements .87 * Other small bug fixes and stability improvements 85 88 86 89 = 1.1.5 = 87 * Other small bug fixes and stability improvements .90 * Other small bug fixes and stability improvements 88 91 89 92 = 1.1.4 = … … 91 94 92 95 = 1.1.3 = 93 * Other small bug fixes and stability improvements .96 * Other small bug fixes and stability improvements 94 97 95 98 = 1.1.2 =
Note: See TracChangeset
for help on using the changeset viewer.