Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add file_put_contents() & file_get_contents() #759

Merged
merged 1 commit into from
Dec 31, 2016

Conversation

Copy link
Member

@jrfnl jrfnl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You didn't miss file_get_contents() - it was already covered in the same file, in the group above it...

@jrfnl jrfnl modified the milestone: 0.11.0 Dec 30, 2016
@JDGrimes
Copy link
Contributor

@jrfnl Yes, and I saw that as well, but it is for a different reason (fetching URLs). So it needs to be in both lists.

@jrfnl
Copy link
Member

jrfnl commented Dec 31, 2016

So it needs to be in both lists.

Good point. In that case the unit tests needs to be adjusted. file_get_contents() only needs to be in there once, but be set to expect two messages on that line.


Edit: Duh me. Just noticed that @grappler had already adjusted the PR to do just that. ;-)

@jrfnl jrfnl merged commit dd58c2b into WordPress:develop Dec 31, 2016
@grappler grappler changed the title Add file_get_contents() & file_get_contents() Add file_put_contents() & file_get_contents() Dec 31, 2016
@grappler grappler deleted the feature/file-functions branch December 31, 2016 08:03
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