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

Latest Posts Block: the category filter has no effect at the front end #12246

Merged
merged 1 commit into from Nov 27, 2018

Conversation

Projects
None yet
4 participants
@eiriarte
Contributor

eiriarte commented Nov 23, 2018

Description

I fixed a typo in the call to the wp_get_recent_posts function.

How has this been tested?

As the fix is just changing 'categories' to 'category', I tested it simply by changing it directly in my local installation and verifying that the category filter works again as before. (I hope I'm doing all this reasonably well, feel free to scold me otherwise! :) ).

Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.
Latest Posts: typo in wp_get_recent_posts argument name
Wrong argument name broke the "filter by category" functionality in the "Latest Posts" block.

@youknowriad youknowriad merged commit b37b4ba into WordPress:master Nov 27, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@youknowriad youknowriad added this to the 4.6 milestone Nov 27, 2018

dd32 added a commit to dd32/gutenberg that referenced this pull request Nov 29, 2018

Latest Posts: typo in wp_get_recent_posts argument name (WordPress#12246
)

Wrong argument name broke the "filter by category" functionality in the "Latest Posts" block.

youknowriad added a commit that referenced this pull request Nov 29, 2018

Latest Posts: typo in wp_get_recent_posts argument name (#12246)
Wrong argument name broke the "filter by category" functionality in the "Latest Posts" block.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment