mirror of
git://develop.git.wordpress.org/
synced 2025-02-22 15:42:29 +01:00
This allows the functions to return a `WP_Error` object containing more information in case of a problem, instead of just boolean false. The various `pre_` filters in these functions are also updated so they can return or be passed a `WP_Error` object. Fixes #49961 git-svn-id: https://develop.svn.wordpress.org/trunk@50143 602fd350-edb4-49c9-b593-d223f7449a82