Plugin Directory

Changeset 2736178


Ignore:
Timestamp:
06/02/2022 08:03:02 AM (4 years ago)
Author:
prosolution
Message:

1.8.3

  • Fix coding related to php 8
  • Lower varchar to 55 of column jobid, siteid when create new table jobs
Location:
prosolution-wp-client/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • prosolution-wp-client/trunk/README.txt

    r2720404 r2736178  
    66Tested up to: 4.9.5
    77Requires PHP: 5.6
    8 Stable tag: 1.8.2
     8Stable tag: 1.8.3
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6666
    6767== Changelog ==
     68
     69= 1.8.3 =
     70* Fix coding related to php 8
     71* Lower varchar to 55 of column jobid, siteid when create new table jobs
    6872
    6973= 1.8.2 =
  • prosolution-wp-client/trunk/includes/class-prosolwpclient-table-helper.php

    r2720404 r2736178  
    129129                            'includeExpired'    => 1
    130130                        );
    131                     }
     131                    } 
    132132                    $api_body  = array( "param" => json_encode( $safe_data ));
    133133
     
    135135                        'headers'        => $header_info,
    136136                        'body'           => $api_body
    137                     ) );
    138 
     137                    ) );
    139138                } else if($table_name != '' && $table_name != 'jobs'){ // default table beside jobs
    140139                    $response = wp_remote_get( $api_config['api_url'] . 'system/list/' . $table_name, array( 'headers' => $header_info ) );
     
    474473                            $keyfield="textfield_".$x;
    475474                            $keylabel="textfieldlabel_".$x;
    476                             if(array_key_exists($keyfield,$response_data)){
     475                           
     476                            if(property_exists($response_data,$keyfield)){
     477                               
    477478                                $valuefield=$response_data->$keyfield;
    478479                                $valuelabel=$response_data->$keylabel;
     
    492493                                        '%s'
    493494                                    )
    494                                 );     
     495                                );       
    495496                            }
    496497                        }
  • prosolution-wp-client/trunk/prosolwpclient.php

    r2720404 r2736178  
    1717     * Plugin URI:        https://prosolution.com/produkte-und-services/workexpert.html
    1818     * Description:       WordPress client for ProSolution
    19      * Version:           1.8.2
     19     * Version:           1.8.3
    2020     * Author:            ProSolution
    2121     * Author URI:        https://www.prosolution.com
     
    3939
    4040    defined('PROSOLWPCLIENT_PLUGIN_NAME') or define('PROSOLWPCLIENT_PLUGIN_NAME', 'prosolwpclient');
    41     defined('PROSOLWPCLIENT_PLUGIN_VERSION') or define('PROSOLWPCLIENT_PLUGIN_VERSION', '1.8.2');
     41    defined('PROSOLWPCLIENT_PLUGIN_VERSION') or define('PROSOLWPCLIENT_PLUGIN_VERSION', '1.8.3');
    4242    defined('PROSOLWPCLIENT_BASE_NAME') or define('PROSOLWPCLIENT_BASE_NAME', plugin_basename(__FILE__));
    4343    defined('PROSOLWPCLIENT_ROOT_PATH') or define('PROSOLWPCLIENT_ROOT_PATH', plugin_dir_path(__FILE__));
  • prosolution-wp-client/trunk/public/class-prosolwpclient-public.php

    r2720404 r2736178  
    224224                        for($xo=0;$xo<$recordcount;$xo++){
    225225                                foreach ( $qjobs[$xo] as $key => $value ) {
    226                                     if(!array_key_exists($key,$obj_response)){
     226                                    if(!property_exists($obj_response,$key)){
    227227                                    $obj_response->$key=array();
    228228                                    } 
     
    292292                    for($xo=0;$xo<$recordcount;$xo++){
    293293                            foreach ( $qjobs[$xo] as $key => $value ) {
    294                                 if(!array_key_exists($key,$obj_response)){
     294                                if(!property_exists($obj_response,$key)){
    295295                                $obj_response->$key=array();
    296296                                } 
     
    471471                        for($xo=0;$xo<$recordcount;$xo++){
    472472                             foreach ( $qjobs[$xo] as $key => $value ) {
    473                                  if(!array_key_exists($key,$obj_response)){
     473                                 if(!property_exists($obj_response,$key)){
    474474                                    $obj_response->$key=array();
    475475                                 } 
  • prosolution-wp-client/trunk/public/templates/singlefieldset/modals/prosolwpclientjobapplicationactivitymodal.php

    r2460136 r2736178  
    4444
    4545<script id="operation_areas_template" type="x-tmpl-mustache">
    46     <?php
     46    <?php 
    4747        if($pstemplate!=1){
    4848            foreach ( $all_operationarea as $index => $area_info ) {
  • prosolution-wp-client/trunk/public/templates/singlefieldset/prosolwpclient-job-application-education-info_main.php

    r2454627 r2736178  
    1717    $all_nace          = $wpdb->get_results( "SELECT * FROM $table_ps_nace as nace WHERE nace.site_id='$siteid' ORDER BY nace.name ASC", ARRAY_A );
    1818    $all_operationarea = $wpdb->get_results( "SELECT * FROM $table_ps_operationarea as operationarea WHERE operationarea.site_id='$siteid' ORDER BY operationarea.name ASC", ARRAY_A );
     19   
    1920    $step_label = get_option('prosolwpclient_applicationform');
    2021?>
  • prosolution-wp-client/trunk/public/templates/singlefieldset/prosolwpclientjobapplicationeducationinfo.php

    r2454627 r2736178  
    1616    $all_nace          = $wpdb->get_results( "SELECT * FROM $table_ps_nace as nace WHERE nace.site_id='$siteid' ORDER BY nace.name ASC", ARRAY_A );
    1717    $all_operationarea = $wpdb->get_results( "SELECT * FROM $table_ps_operationarea as operationarea WHERE operationarea.site_id='$siteid' ORDER BY operationarea.name ASC", ARRAY_A );
     18   
    1819    $opt = get_option('prosolwpclient_applicationform');
    1920    $sect = $issite.'education';
Note: See TracChangeset for help on using the changeset viewer.