Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests: Remove 'errors' assertion when not WP_Error in Tests_Term_WpIn…
…sertTerm. Removes the assertion for 'errors' being empty when the instance is `WP_Term` and not `WP_Error`. This property exists on `WP_Error`. This assertion always passed because it was checking a dynamic property on `WP_Term` that does not exist and is not added within Core. Thus, this assertion is not needed and fails with dynamic property deprecations. Follow-up to [51403], [34646], [29830]. See #61890, #61530. git-svn-id: https://develop.svn.wordpress.org/trunk@58920 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information