Skip to content

Commit

Permalink
Merge branch 'release/0.21.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
garex committed Dec 6, 2017
2 parents 65c1d49 + 115746f commit 1415a63
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 4 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
- DB_ENGINE=InnoDB
matrix:
- WP_VERSION=
- WP_VERSION=4.8.4
- WP_VERSION=4.7.5
- WP_VERSION=4.6.1
- WP_VERSION=4.5
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
## Changelog ##


### 0.21.4 ###

Welcome WordPress 4.9

* Fix missing test issue at "Respondents’ test results" page.
It concerns you only if your database uses old not recomended database engine
MyISAM, that is not clean other tables after removing something in main table.

You can check your tables' engine at "Report the problem" under "System information".


### 0.21.3 ###

Fix links to other posts at results page
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

**Requires at least:** 3.2

**Tested up to:** 4.8
**Tested up to:** 4.9

**Stable tag:** 0.21.3
**Stable tag:** 0.21.4

**License:** GPLv3

Expand Down
7 changes: 6 additions & 1 deletion src/Model/Passing.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,12 @@ public function buildResults()
*/
public function createTest()
{
return $this->createRelated('WpTesting_Model_Test')->setWp($this->getWp());
try {
return $this->createRelated('WpTesting_Model_Test')->setWp($this->getWp());
} catch (fNotFoundException $e) {
$test = new WpTesting_Model_Test();
return $test->setWp($this->getWp());
}
}

public function trash()
Expand Down
2 changes: 1 addition & 1 deletion wp-testing.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Wp-testing
* Plugin URI: http://wordpress.org/extend/plugins/wp-testing/
* Description: Helps to create psychological tests.
* Version: 0.21.3
* Version: 0.21.4
* Author: Alexander Ustimenko
* Author URI: http://ustimen.co
* License: GPL3
Expand Down

0 comments on commit 1415a63

Please sign in to comment.