Skip to content

Commit

Permalink
A few minor bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Miika Arponen committed Apr 12, 2018
1 parent 40f4d1b commit 564f0c3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.9.2] - 2018-04-12

### Fixed
- A pair of minor bugs that could cause PHP warnings.

## [1.9.1] - 2018-04-12

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: ACF Codifier
Plugin URI: https://github.com/devgeniem/acf-codifier
Description: A helper class to make defining ACF field groups and fields easier in the code.
Version: 1.9.1
Version: 1.9.2
Author: Miika Arponen / Geniem Oy
Author URI: https://geniem.fi
License: GPL-3.0
Expand Down
6 changes: 3 additions & 3 deletions src/Field/DatePicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@ class DatePicker extends \Geniem\ACF\Field {
*
* @var string
*/
protected $display_format;
protected $display_format = 'dd/mm/yy';

/**
* Format when returned via get_field
*
* @var string
*/
protected $return_format;
protected $return_format = 'yymmdd';

/**
* First day to show in datepicker
*
* @var integer
*/
protected $first_day;
protected $first_day = 1;

/**
* Set display_format variable
Expand Down
2 changes: 1 addition & 1 deletion src/Field/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class Image extends \Geniem\ACF\Field {
*
* @var array
*/
protected $mime_types;
protected $mime_types = [];

/**
* Return format
Expand Down

0 comments on commit 564f0c3

Please sign in to comment.