Introducing “Update URI” theme header in WordPress 6.1

WordPress 6.1 introduces a new header available for theme authors. This allows third-party themes to avoid accidentally being overwritten with an update of a theme of a similar name from the WordPress.org Theme Directory. Previously, any custom theme which used the same slug as a theme hosted on WordPress.org was taking a significant risk of being overwritten by an update of the latter. WordPress 6.1 introduces a new Update URI theme header field. If the value of this new field matches any URI other than https://wordpress.org/themes/{$slug}/ or w.org/theme/{$slug}, WordPress will not attempt to update it. If set, the Update URI header field should be a URI and have a unique hostname. Some

source https://www.worldofwp.com/introducing-update-uri-theme-header-in-wordpress-6-1/

Comments

Popular posts from this blog