mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-23 07:51:49 +01:00
This allows third-party plugins to avoid accidentally being overwritten with an update of a plugin of a similar name from the WordPress.org Plugin Directory. Additionally, introduce the `update_plugins_{$hostname}` filter, which third-party plugins can use to offer updates for a given hostname. If set, the `Update URI` header field should be a URI and have a unique hostname. Some examples include: * `https://wordpress.org/plugins/example-plugin/` * `https://example.com/my-plugin/` * `my-custom-plugin-name` `Update URI: false` also works, and unless there is code handling the `false` hostname, the plugin will never get an update notification. If the header is present, the WordPress.org API will currently only return updates for the plugin if it matches the following format: * `https://wordpress.org/plugins/{$slug}/` * `w.org/plugin/{$slug}` If the header has any other value, the API will not return a result and will ignore the plugin for update purposes. Props dd32, DavidAnderson, meloniq, markjaquith, DrewAPicture, mweichert, design_dolphin, filosofo, sean212, nhuja, JeroenReumkens, infolu, dingdang, joyously, earnjam, williampatton, grapplerulrich, markparnell, apedog, afragen, miqrogroove, rmccue, crazycoders, jdgrimes, damonganto, joostdevalk, jorbin, georgestephanis, khromov, GeekStreetWP, jb510, Rarst, juliobox, Ipstenu, mikejolley, Otto42, gMagicScott, TJNowell, GaryJ, knutsp, mordauk, nvartolomei, aspexi, chriscct7, benoitchantre, ryno267, lev0, gregorlove, dougwollison, SergeyBiryukov. See #14179, #23318, #32101. Built from https://develop.svn.wordpress.org/trunk@50921 git-svn-id: http://core.svn.wordpress.org/trunk@50530 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
css | ||
images | ||
includes | ||
js | ||
maint | ||
network | ||
user | ||
about.php | ||
admin-ajax.php | ||
admin-footer.php | ||
admin-functions.php | ||
admin-header.php | ||
admin-post.php | ||
admin.php | ||
async-upload.php | ||
authorize-application.php | ||
comment.php | ||
credits.php | ||
custom-background.php | ||
custom-header.php | ||
customize.php | ||
edit-comments.php | ||
edit-form-advanced.php | ||
edit-form-blocks.php | ||
edit-form-comment.php | ||
edit-link-form.php | ||
edit-tag-form.php | ||
edit-tags.php | ||
edit.php | ||
erase-personal-data.php | ||
export-personal-data.php | ||
export.php | ||
freedoms.php | ||
import.php | ||
index.php | ||
install-helper.php | ||
install.php | ||
link-add.php | ||
link-manager.php | ||
link-parse-opml.php | ||
link.php | ||
load-scripts.php | ||
load-styles.php | ||
media-new.php | ||
media-upload.php | ||
media.php | ||
menu-header.php | ||
menu.php | ||
moderation.php | ||
ms-admin.php | ||
ms-delete-site.php | ||
ms-edit.php | ||
ms-options.php | ||
ms-sites.php | ||
ms-themes.php | ||
ms-upgrade-network.php | ||
ms-users.php | ||
my-sites.php | ||
nav-menus.php | ||
network.php | ||
options-discussion.php | ||
options-general.php | ||
options-head.php | ||
options-media.php | ||
options-permalink.php | ||
options-privacy.php | ||
options-reading.php | ||
options-writing.php | ||
options.php | ||
plugin-editor.php | ||
plugin-install.php | ||
plugins.php | ||
post-new.php | ||
post.php | ||
press-this.php | ||
privacy-policy-guide.php | ||
privacy.php | ||
profile.php | ||
revision.php | ||
setup-config.php | ||
site-health-info.php | ||
site-health.php | ||
term.php | ||
theme-editor.php | ||
theme-install.php | ||
themes.php | ||
tools.php | ||
update-core.php | ||
update.php | ||
upgrade-functions.php | ||
upgrade.php | ||
upload.php | ||
user-edit.php | ||
user-new.php | ||
users.php | ||
widgets.php |