Repository navigation
Commit 0abd894
committed
Abilities API: Drop two redundant checks from
The query that recovers the total of an out-of-range page copies the
query arguments, which never set `no_found_rows`, so there is nothing
to unset.
`is_user_member_of_blog()` already returns true on a single site, so
the author lookup does not need to check `is_multisite()` first.core/content-query.1 parent 39c5635 commit 0abd894
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
634 | | - | |
| 634 | + | |
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
| |||
715 | 715 | | |
716 | 716 | | |
717 | 717 | | |
718 | | - | |
| 718 | + | |
719 | 719 | | |
720 | 720 | | |
721 | 721 | | |
| |||
0 commit comments