Plugin Directory

Changeset 1314298


Ignore:
Timestamp:
12/22/2015 02:34:16 PM (10 years ago)
Author:
zartis
Message:

Bug fix for empty $atts

Location:
zartis-job-plugin/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zartis-job-plugin/trunk/Zartis_Job_Plugin.php

    r1295960 r1314298  
    44Plugin URI: http://hirehive.io
    55Description: (Formerly Zartis ATS) Easily add your own secure jobs and careers page to your WordPress site. Includes full access to professional candidate management and posting to twitter, facebook and free job aggregation sites.
    6 Version: 2.1.0
     6Version: 2.2
    77Author: HireHive
    88Author URI: http://hirehive.io
     
    125125{
    126126    //Page Title, Word Shown, Permission, Menu, Slug, Function, icon, pos
    127     add_menu_page(_('HireHive'), _('HireHive Jobs'), 'administrator', 'Zartis_Menu', 'hirehive_settings', 'https://zartis.blob.core.windows.net/public-icons/wp-menu-icon.png');
    128 
    129     //add_submenu_page("Zartis_Menu", "Zartis Options", "Zartis Options", 'administrator',"" , "ZartisOptions");
     127    add_menu_page(_('HireHive'), _('HireHive Jobs'), 'administrator', 'Zartis_Menu', 'hirehive_settings', 'https://zartis.blob.core.windows.net/public-icons/wp-menu-icon.png');   
    130128}
    131129
     
    134132
    135133function Display_HireHive_Widget( $atts ) {
    136     $category = $atts['category'];   
     134    $category = ''; 
     135   
     136    if( isset( $atts['category'] ) && $atts['category']) { 
     137        $category = $atts['category'];
     138    }
    137139
    138140    $Company_Zartis_ID = get_option('Zartis_Unique_ID');
  • zartis-job-plugin/trunk/readme.txt

    r1295960 r1314298  
    55Requires at least: 2.9
    66Tested up to: 4.3.1
    7 Stable tag: 2.1.0
     7Stable tag: 2.2
    88
    99Easily add job listings and secure candidate management to your Wordpress site.
     
    8585= 2.1 =
    8686* Added option to only show a category of jobs so they can be place on certain pages
     87
     88= 2.2 =
     89* Bug fix for $atts null
Note: See TracChangeset for help on using the changeset viewer.