Skip to content

Conversation

@ryanshoover
Copy link
Contributor

Fixes #719 .

Changes proposed in this pull request

  • Add <?php opening tag to empty php files
  • Rename CMB_Field->string() function to CMB_Field->get_string() (string is a reserved keyword in PHP 7.0)

Add <?php opening tag to empty files
Rename function that is a reserved keyword
@tw2113
Copy link
Contributor

tw2113 commented Aug 23, 2016

Looks good to me, for the most part. Ran ack on the code and you covered any cases of using the "string()" method, however others who may be using that method will need to update as well. Only real blocker I can find.

Up to Justin to approve though.

@jtsternberg jtsternberg merged commit 35c14ff into CMB2:trunk Aug 23, 2016
jtsternberg added a commit that referenced this pull request Aug 23, 2016
@jtsternberg
Copy link
Member

Merged. I've added a back-compat shim if anyone is using the string method: b079227

@ryanshoover
Copy link
Contributor Author

Thanks @jtsternberg and @tw2113!

@jtsternberg
Copy link
Member

Thank you, sir.

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.

3 participants