We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I expect the class wrapper for the returned post class in Timber::get_post to only be instantiated once.
The class wrapper is instantiated twice.
Create a class wrapper which extends TimberPost, the constructor will be called twice.
WordPress 4.9.4, PHP PHP 7.0.27, Timber 1.7.0
Composer
The text was updated successfully, but these errors were encountered:
ref #1660 -- another protection for class names; validate behavior in #…
d671b91
…1660
Closed by #1663 and #1661
Sorry, something went wrong.
516a43c
17fe5d6
No branches or pull requests
Expected behavior
I expect the class wrapper for the returned post class in Timber::get_post to only be instantiated once.
Actual behavior
The class wrapper is instantiated twice.
Steps to reproduce behavior
Create a class wrapper which extends TimberPost, the constructor will be called twice.
What version of WordPress, PHP and Timber are you using?
WordPress 4.9.4, PHP PHP 7.0.27, Timber 1.7.0
How did you install Timber? (for example, from GitHub, Composer/Packagist, WP.org?)
Composer
The text was updated successfully, but these errors were encountered: