-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d6551d0
commit ae470ee
Showing
3 changed files
with
76 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/class-parser.php b/class-parser.php | ||
index 4b13dc1..2d78de2 100644 | ||
--- a/class-parser.php | ||
+++ b/class-parser.php | ||
@@ -714,7 +714,7 @@ class Parser { | ||
|
||
// In the event that something invalid is used, we'll ignore it (Example: 'Joe Bloggs (Australian Translation)') | ||
if ( ! $user ) { | ||
- $this->warnings['contributor_ignored'] ??= []; | ||
+ $this->warnings['contributor_ignored'] = isset( $this->warnings['contributor_ignored'] ) ? $this->warnings['contributor_ignored'] : []; | ||
$this->warnings['contributor_ignored'][] = $name; | ||
unset( $users[ $i ] ); | ||
continue; |