mirror of
git://develop.git.wordpress.org/
synced 2025-04-10 15:13:49 +02:00
This prevents a number of php notices that are surfaced due to the endpoint being called on load of the post editor even when there are no templates. Reviewed by joemcgill. Merges [58079] to the 6.5 branch. Props grantmkin, CookiesForDevo, britner, wildworks, jorbin. Fixes #60909. git-svn-id: https://develop.svn.wordpress.org/branches/6.5@58080 602fd350-edb4-49c9-b593-d223f7449a82