Plugin Directory

Changeset 2957372


Ignore:
Timestamp:
08/23/2023 02:27:46 PM (3 years ago)
Author:
themeglow
Message:

Update for php 8

Location:
job-board-light
Files:
1005 added
2 edited

Legend:

Unmodified
Added
Removed
  • job-board-light/trunk/plugin.php

    r2950490 r2957372  
    33        *
    44        *
    5         * @version 1.2.3
     5        * @version 1.2.4
    66        * @package Main
    77        * @author themeglow
     
    1313        Author: ThemeGlow
    1414        Author URI: http://e-plugins.com/
    15         Version: 1.2.3
     15        Version: 1.2.4
    1616        Text Domain: jobboard
    1717        License: GPLv2 or later
     
    2929                * @var string
    3030            */
    31             public $version = "1.2.3";
     31            public $version = "1.2.4";
    3232            /**
    3333                * The minimal required version of WordPress for this plug-in to function correctly.
     
    413413                }       
    414414            }
    415             public function get_unique_keyword_values( $key = 'keyword', $post_type ){
     415            public function get_unique_keyword_values( $post_type, $key = 'keyword' ){
    416416                global $wpdb;
    417417                if( empty( $key ) ){
     
    431431                return $res;
    432432            }
    433             public function get_unique_post_meta_values( $key = 'postcode', $post_type ){
     433            public function get_unique_post_meta_values( $post_type, $key = 'postcode' ){
    434434                global $wpdb;
    435435                $directory_url=get_option('epjbjobboard_url');
     
    445445                return $res;
    446446            } 
    447             public function jobboard_check_field_input_access($field_key_pass, $field_value, $template='myaccount', $user_id){
     447            public function jobboard_check_field_input_access($field_key_pass, $field_value, $user_id, $template='myaccount' ){
    448448                if($template=='myaccount'){             
    449449                    $current_user_id=$user_id;                 
     
    20572057                return $content;   
    20582058            }
    2059             public function get_unique_location_values( $key = 'keyword', $post_type ){
     2059            public function get_unique_location_values($post_type , $key = 'keyword' ){
    20602060                global $wpdb;
    20612061                $post_type=get_option('epjbjobboard_url');
  • job-board-light/trunk/readme.txt

    r2950490 r2957372  
    44Requires at least: 4.9
    55Tested up to: 6.3
    6 Stable tag: 1.2.3
     6Stable tag: 1.2.4
    77Requires PHP: 5.2.4
    88License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.