mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 12:35:03 +00:00
As capability queries was introduced in 5.9, this commit allows for previous versions by assigning the "who" and unsetting "capability". Follow-up to [51943]. Props johnbillion, swissspidy. Fixes #16841. Built from https://develop.svn.wordpress.org/trunk@52290 git-svn-id: http://core.svn.wordpress.org/trunk@51882 1a063a9b-81f0-0310-95a4-ce76da25c4cd