Changeset 2741114
- Timestamp:
- 06/12/2022 10:43:09 AM (4 years ago)
- Location:
- nirweb-support/trunk
- Files:
-
- 3 edited
-
core/create_db.php (modified) (2 diffs)
-
nirweb-support.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
nirweb-support/trunk/core/create_db.php
r2715312 r2741114 136 136 require_once ABSPATH . 'wp-admin/includes/upgrade.php'; 137 137 dbDelta( $sql ); 138 } 139 $wpdb->delete( $table_name, array( 'priority_id' => 1 ) ); 140 $wpdb->delete( $table_name, array( 'priority_id' => 2 ) ); 141 $wpdb->delete( $table_name, array( 'priority_id' => 3 ) ); 138 142 139 $wpdb->insert( $table_name, array( 'priority_id' => 1, 'name' => esc_html__( 'low', 'nirweb-support' ), ) ); 143 140 $wpdb->insert( $table_name, array( 'priority_id' => 2, 'name' => esc_html__( 'normal', 'nirweb-support' ), ) ); 144 141 $wpdb->insert( $table_name, array( 'priority_id' => 3, 'name' => esc_html__( 'necessary', 'nirweb-support' ), ) ); 145 } 142 }} 146 143 ); 147 144 // ----------------- Status Datbase … … 161 158 require_once ABSPATH . 'wp-admin/includes/upgrade.php'; 162 159 dbDelta( $sql ); 163 } 164 $wpdb->delete( $table_name, array( 'status_id' => 1 ) ); 165 $wpdb->delete( $table_name, array( 'status_id' => 2 ) ); 166 $wpdb->delete( $table_name, array( 'status_id' => 3 ) ); 167 $wpdb->delete( $table_name, array( 'status_id' => 4 ) ); 160 161 168 162 $wpdb->insert( $table_name, array( 'status_id' => 1, 'name_status' => esc_html__( 'new', 'nirweb-support' ), ) ); 169 163 $wpdb->insert( $table_name, array( 'status_id' => 2, 'name_status' => esc_html__( 'in progress', 'nirweb-support' ), ) ); 170 164 $wpdb->insert( $table_name, array( 'status_id' => 3, 'name_status' => esc_html__( 'answered', 'nirweb-support' ), ) ); 171 165 $wpdb->insert( $table_name, array( 'status_id' => 4, 'name_status' => esc_html__( 'closed', 'nirweb-support' ), ) ); 172 } 166 } } 173 167 ); -
nirweb-support/trunk/nirweb-support.php
r2737883 r2741114 4 4 Description: NirWeb support is a great help desk and support plugin for WordPress with full support of WooCommerce 5 5 Author: nirweb Team 6 Version: 2.8. 66 Version: 2.8.7 7 7 Author URI: https://www.nirweb.ir 8 8 Text Domain: nirweb-support -
nirweb-support/trunk/readme.txt
r2737883 r2741114 5 5 Tested up to: 6.0 6 6 Requires PHP: 7.0 7 Stable tag: 2.8. 67 Stable tag: 2.8.7 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.