Plugin Directory

Changeset 2741114


Ignore:
Timestamp:
06/12/2022 10:43:09 AM (4 years ago)
Author:
nirweb
Message:

2.8.7

Location:
nirweb-support/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • nirweb-support/trunk/core/create_db.php

    r2715312 r2741114  
    136136            require_once ABSPATH . 'wp-admin/includes/upgrade.php';
    137137            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
    142139        $wpdb->insert( $table_name, array( 'priority_id' => 1, 'name' => esc_html__( 'low', 'nirweb-support' ), ) );
    143140        $wpdb->insert( $table_name, array( 'priority_id' => 2, 'name' => esc_html__( 'normal', 'nirweb-support' ), ) );
    144141        $wpdb->insert( $table_name, array( 'priority_id' => 3, 'name' => esc_html__( 'necessary', 'nirweb-support' ), ) );
    145     }
     142    }}
    146143);
    147144// ----------------- Status Datbase
     
    161158            require_once ABSPATH . 'wp-admin/includes/upgrade.php';
    162159            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
    168162        $wpdb->insert( $table_name, array( 'status_id'   => 1, 'name_status' => esc_html__( 'new', 'nirweb-support' ), ) );
    169163        $wpdb->insert( $table_name, array( 'status_id'   => 2, 'name_status' => esc_html__( 'in progress', 'nirweb-support' ), ) );
    170164        $wpdb->insert( $table_name, array( 'status_id'   => 3, 'name_status' => esc_html__( 'answered', 'nirweb-support' ), ) );
    171165        $wpdb->insert( $table_name, array( 'status_id'   => 4, 'name_status' => esc_html__( 'closed', 'nirweb-support' ), ) );
    172     }
     166    }   }
    173167);
  • nirweb-support/trunk/nirweb-support.php

    r2737883 r2741114  
    44Description: NirWeb support is a great help desk and support plugin for WordPress with full support of WooCommerce
    55Author: nirweb Team
    6 Version: 2.8.6
     6Version: 2.8.7
    77Author URI:  https://www.nirweb.ir
    88Text Domain: nirweb-support
  • nirweb-support/trunk/readme.txt

    r2737883 r2741114  
    55Tested up to: 6.0
    66Requires PHP: 7.0
    7 Stable tag: 2.8.6
     7Stable tag: 2.8.7
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.