* `wp_send_json_error()` accesses `$errors` on an instance, it must be `public` * `$error_data` is a local message cache for error codes and doesn't particularly hide info, would be the only non-public field or method in the class Make `$errors` and `$error_data` public and remove magic methods. See #30891. Built from https://develop.svn.wordpress.org/trunk@31138 git-svn-id: http://core.svn.wordpress.org/trunk@31119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
5.0 KiB
5.0 KiB