Skip to content

Commit

Permalink
cleanup & version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
eeglbalazs committed Oct 6, 2017
1 parent 6662985 commit 970623a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 21 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ You should see that:

## Changelog

### 4.x-1.2.7

* Adding support for Percolate's overhauled v5 Taxonomy API

### 4.x-1.2.6

* Image import backward compatibility for WP < v4.8
Expand Down
19 changes: 0 additions & 19 deletions frontend/scripts/settings/controllers/add.topics.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,25 +75,6 @@ angular.module('myApp')
})
return taxonomy
})

console.log($scope.taxonomiesPerco);

// $scope.templates = $scope.templates.map(function(template) {
//
// var taxonomyField = _.find(template.fields, {type: 'term'})
//
// if (!taxonomyField || !taxonomyField.ext || !taxonomyField.ext.parent_term_ids[0])
// return template
//
// var taxID = taxonomyField.ext.parent_term_ids[0]
// taxonomyField.taxonomy = _.find($scope.taxonomiesPerco, {root_id: taxID})
// taxonomyField.terms = _.filter($scope.termsPerco, function(term) {
// if (term.path_ids.indexOf(taxID) > -1)
// return term
// })
//
// return template
// })
}

function getTaxonomiesWP(res) {
Expand Down
2 changes: 1 addition & 1 deletion frontend/views/templates/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@

<p>
<small>
Plugin version: 4.x-1.2.6 (<i>Supported WordPress version - Plugin version</i>)<br>
Plugin version: 4.x-1.2.7 (<i>Supported WordPress version - Plugin version</i>)<br>
PHP >= 5.6 required for the plugin to function properly
</small>
</p>
2 changes: 1 addition & 1 deletion percolate-sync.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Plugin URI: https://github.com/percolate/wordpress
Description: Percolate integration for Wordpress, which includes the ability to sync posts, media library elements and custom creative templates.
Author: Percolate Industries, Inc.
Version: 4.x-1.2.6
Version: 4.x-1.2.7
Author URI: http://percolate.com
*/

Expand Down

0 comments on commit 970623a

Please sign in to comment.