Skip to content

Conversation

@eiriarte
Copy link
Contributor

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.

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
@youknowriad youknowriad added the [Type] Bug An existing feature does not function as intended label Nov 27, 2018
@youknowriad youknowriad added this to the 4.6 milestone Nov 27, 2018
youknowriad pushed a commit that referenced this pull request Nov 29, 2018
Wrong argument name broke the "filter by category" functionality in the "Latest Posts" block.
@mtias mtias added the [Block] Categories Affects the Categories Block label Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Categories Affects the Categories Block [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants