Skip to content

passing object by reference not needed from php>=5.3.0. It thrown a PHP ...#55

Closed
Menelao wants to merge 2 commits intodisqus:masterfrom
Menelao:master
Closed

passing object by reference not needed from php>=5.3.0. It thrown a PHP ...#55
Menelao wants to merge 2 commits intodisqus:masterfrom
Menelao:master

Conversation

@Menelao
Copy link

@Menelao Menelao commented Nov 4, 2013

...Strict standards error

@Menelao
Copy link
Author

Menelao commented Nov 11, 2013

Seems that they don't follow the development on github ...

@mattrobenolt
Copy link
Contributor

get_post() won't just work everywhere? According to the WP docs, that's what they recommend: http://codex.wordpress.org/Function_Reference/get_post

And also within the same file, we do just get_post() without &.

Also note: I haven't written PHP in many years. :)

@tail tail closed this in bf06b7b Jan 3, 2014
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.

2 participants