mirror of
git://develop.git.wordpress.org/
synced 2025-02-24 08:33:35 +01:00
This changeset fixes a PHP notice appearing when a template part is created in the site editor. It also adds a unit test case to cover `WP_REST_Templates_Controller::prepare_item_for_database`. Props wildworks, dunhakdis, Rahmohn, oglekler, audrasjb, mukesh27, costdev, dunhakdis. Fixes #57851. git-svn-id: https://develop.svn.wordpress.org/trunk@56248 602fd350-edb4-49c9-b593-d223f7449a82