Skip to content

Commit

Permalink
Commit changes of 2.6.2
Browse files Browse the repository at this point in the history
* Quick fix for Custom taxonomy multiselector. [Link to the issue](#35). Thanks to [natrio](https://github.com/natrio)
* Quick fix for birthdate field. [Link to the issue](https://wordpress.org/support/topic/date-of-birth-year-field-empty-after-reload-with-required-field-missing/)

git-svn-id: http://plugins.svn.wordpress.org/buddypress-xprofile-custom-fields-type/trunk@1586291 b8457f37-d9ea-0310-8a92-e5e31aec5664
  • Loading branch information
atallos committed Feb 1, 2017
1 parent 468dcdd commit 31dd575
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bp-xprofile-custom-fields-type.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: BuddyPress Xprofile Custom Fields Type
Plugin URI: http://donmik.com/en/buddypress-xprofile-custom-fields-type/
Description: BuddyPress installation required!! This plugin add custom field types to BuddyPress Xprofile extension. Field types are: Birthdate, Email, Url, Datepicker, ...
Version: 2.6.1
Version: 2.6.2
Author: donmik
Author URI: http://donmik.com
*/
Expand Down
2 changes: 1 addition & 1 deletion classes/Bxcft_Field_Type_Birthdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public function edit_field_options_html( array $args = array() ) {
}

if ( ! empty( $_POST['field_' . $this->field_obj->id . '_year'] ) ) {
$new_year = date( 'j', (int) $_POST['field_' . $this->field_obj->id . '_year'] );
$new_year = (int) $_POST['field_' . $this->field_obj->id . '_year'];
$year = ( $year != $new_year ) ? $new_year : $year;
}

Expand Down
10 changes: 6 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=donmi
Tags: buddypress, xprofile, fields
Requires at least: 3.0
Tested up to: 4.4
Stable tag: 2.6.1
Stable tag: 2.6.2
License: GLPv2 or later

Buddypress 2.5 required! This plugin add custom field types to Buddypress Xprofile extension. Field types are: Birthdate, Email, Url, ...
Expand Down Expand Up @@ -52,11 +52,13 @@ custom taxonomy multiselector.

== Changelog ==

= 2.6.1 =
* Quick fix for this [issue](https://github.com/donmik/buddypress-xprofile-custom-fields-type/issues/32).
= 2.6.2 =
* Quick fix for Custom taxonomy multiselector. [Link to the issue](https://github.com/donmik/buddypress-xprofile-custom-fields-type/pull/35). Thanks to [natrio](https://github.com/natrio)
* Quick fix for birthdate field. [Link to the issue](https://wordpress.org/support/topic/date-of-birth-year-field-empty-after-reload-with-required-field-missing/)

= Previous versions =
* <http://donmik.com/en/buddypress-xprofile-custom-fields-type/#changelog>

== Upgrade Notice ==
* Quick fix for this [issue](https://github.com/donmik/buddypress-xprofile-custom-fields-type/issues/32).
* Quick fix for this [issue](https://github.com/donmik/buddypress-xprofile-custom-fields-type/pull/35). Thanks to [natrio](https://github.com/natrio)
* Quick fix for birthdate field. [Link to the issue](https://wordpress.org/support/topic/date-of-birth-year-field-empty-after-reload-with-required-field-missing/)

0 comments on commit 31dd575

Please sign in to comment.