mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-22 12:14:29 +00:00
The sample permalink will now only be generated if the derivative `permalink_template` or `generated_slug` fields are to be included in the response, preventing an unnecessary database request for each post (via `wp_unique_post_slug()`) when those fields are not requested. Props dlh. See #45605. git-svn-id: https://develop.svn.wordpress.org/trunk@45705 602fd350-edb4-49c9-b593-d223f7449a82