-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Bug: parameters handling in CatListDisplayer::get_post_title #350
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
There are more bugs in this method, I'm afraid I'm gonna have to rewrite it from scratch 😒 |
Oh, I can look into this tomorrow too. Is it the bug that's being reported there or did you find more issues? |
In #288 I didn't refactor The problem is it doesn't really work as described in the docs. One thing is the bug reported in this issue. Another thing is how shortcode parameters and method call arguments are handled.
This is because shortcode parameters and function arguments are handled separately in this method, whereas they should be handled togetether following the rule that shortcode parameters take precedence over arguments. Right now lines 228-254 deal with shortcode params and then lines 256-258 handle arguments, completely separately. |
https://wordpress.org/support/topic/get_post_title-has-to-be-improved/
The text was updated successfully, but these errors were encountered: