Jonathan Desrosiers 6e2472b8c2 Build/Test Tools: Make adjustments to how Quick Draft tests confirm expected behavior.
Twenty Twenty-One contained a filter on `the_title` to change the default post title to “Untitled”.

Whenever possible, the default behavior of Core without theme modifications should be confirmed in tests. The default behavior here is for a post title to be “(no title)” when one is not entered.

This change also makes an adjustment to be more specific when retrieving the text to verify results to prevent dates and post statuses from being pulled in.

Props davidbaumwald, desrosj, peterwilsoncc, hellofromTonya.
Fixes #54409.

git-svn-id: https://develop.svn.wordpress.org/trunk@52096 602fd350-edb4-49c9-b593-d223f7449a82
2021-11-10 01:49:01 +00:00
..