Skip to content

Commit

Permalink
version 1.4.3
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Crawford <[email protected]>
  • Loading branch information
engram-design committed Dec 1, 2015
1 parent d9b8a68 commit 5ac50da
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- Code cleanup and refactoring field-mapping logic for performance and sanity.
- Rewritten Matrix/Table mapping and processing logic. **Matrix and Table fields will need to be re-mapped**.
- Fix for mapping multiple Matrix blocks being out of order from original feed.
- Removed Super Table native support - please ensure you have the 0.3.9 release of Super Table. **Super Table fields will need to be re-mapped**.
- Removed Super Table native support - please ensure you have the 0.4.0 release of Super Table. **Super Table fields will need to be re-mapped**.
- Modified third-party hooks `prepForFeedMeFieldType` so it actually works! Thanks go to [@lindseydiloreto](https://github.com/lindseydiloreto).
- Added `registerFeedMeMappingOptions` for third-party fieldtypes to control the options for mapping feed nodes to field data.
- Added `postForFeedMeFieldType` for third-party fieldtypes to modify entry data before being saved to entry.
Expand Down
8 changes: 8 additions & 0 deletions changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
[
{
"version": "1.4.3",
"downloadUrl": "https://github.com/engram-design/FeedMe/archive/1.4.3.zip",
"date": "2015-12-01 19:35:00",
"notes": [
"[Fixed] Check for both numeric and string single-string arrays. Particularly an issue for JSON feeds."
]
},
{
"version": "1.4.2",
"downloadUrl": "https://github.com/engram-design/FeedMe/archive/1.4.2.zip",
Expand Down
6 changes: 1 addition & 5 deletions feedme/FeedMePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,9 @@ public function getName()
return ($pluginNameOverride) ? $pluginNameOverride : $pluginName;
}

public function getDescription(){
return '';
}

public function getVersion()
{
return '1.4.2';
return '1.4.3';
}

public function getSchemaVersion()
Expand Down
2 changes: 1 addition & 1 deletion feedme/services/FeedMe_FeedService.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function getFormattedMapping($data, $sep = '') {
} elseif (count($value) == 0) {
$return[$sep . $key . '/...'] = array();
} elseif(isset($value[0])) {
if (is_string($value[0])) {
if (is_string($value[0]) || is_numeric($value[0])) {
$return[$sep . $key] = $value[0];
} else {
$return = array_merge($return, $this->getFormattedMapping($value[0], $sep . $key.'/...'));
Expand Down

0 comments on commit 5ac50da

Please sign in to comment.