Skip to content

Commit

Permalink
Fix author criteria
Browse files Browse the repository at this point in the history
  • Loading branch information
George Hotelling committed Feb 12, 2020
1 parent 0a735d3 commit 27e5afc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/query/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ const isSpecificPostModeActive = ( { specificMode, specificPosts } ) =>
const queryCriteriaFromAttributes = ( criteria ) => {
const {
per_page: perPage,
authors,
author,
categories,
tags,
specificPosts,
Expand All @@ -219,7 +219,7 @@ const queryCriteriaFromAttributes = ( criteria ) => {
: {
per_page: perPage,
categories,
author: authors,
author,
tags,
},
( value ) => ! isUndefined( value )
Expand Down

0 comments on commit 27e5afc

Please sign in to comment.