Skip to content

Fix syntax error on php >=5.6#1

Open
ttskch wants to merge 1 commit into
jyokyoku:masterfrom
ttskch:fix-syntax-error
Open

Fix syntax error on php >=5.6#1
ttskch wants to merge 1 commit into
jyokyoku:masterfrom
ttskch:fix-syntax-error

Conversation

@ttskch
Copy link
Copy Markdown

@ttskch ttskch commented Mar 8, 2017

素晴らしいプラグインをありがとうございます!便利に使わせていただいております。

PHP 5.6以上の環境だと、 =& new が以下のとおりsyntax errorになるため、修正いたしました。
マージしていただけましたらタグ付けもお願いできますとありがたいです。

Parse error: syntax error, unexpected 'new' (T_NEW) in /path/to/project/wp-content/plugins/wp-ogp-customized/libs/class-setting-page.php on line 63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant