Skip to content

Restricted Headers: remove ones that are allowed, but leave the mech for checking in place for future use#720

Merged
chriscct7 merged 2 commits intoWordPress:trunkfrom
kraftbj:update/header-check
Oct 15, 2024
Merged

Restricted Headers: remove ones that are allowed, but leave the mech for checking in place for future use#720
chriscct7 merged 2 commits intoWordPress:trunkfrom
kraftbj:update/header-check

Conversation

@kraftbj
Copy link
Copy Markdown
Contributor

@kraftbj kraftbj commented Oct 14, 2024

Partly reverts the functionality of #670.
Resolves #718

Per the conversation in #669, the presence of these headers—in and of themselves—do not create a third-party upgrader situation. The UpdateURI, which is already checked elsewhere, does prevent the updates from WordPress.org, but the headers originally included in this code are for information only.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 14, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @octalmage.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Unlinked contributors: octalmage.

Co-authored-by: kraftbj <kraftbj@git.wordpress.org>
Co-authored-by: sc0ttkclark <sc0ttkclark@git.wordpress.org>
Co-authored-by: dd32 <dd32@git.wordpress.org>
Co-authored-by: afragen <afragen@git.wordpress.org>
Co-authored-by: danieliser <danieliser@git.wordpress.org>
Co-authored-by: xwolfde <xwolf@git.wordpress.org>
Co-authored-by: ernilambar <rabmalin@git.wordpress.org>
Co-authored-by: sybrew <cybr@git.wordpress.org>
Co-authored-by: swissspidy <swissspidy@git.wordpress.org>
Co-authored-by: alvarogois <alvarogois@git.wordpress.org>
Co-authored-by: jb510 <jb510@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@afragen
Copy link
Copy Markdown
Member

afragen commented Oct 14, 2024

Thank you Brandon.

Copy link
Copy Markdown

@sc0ttkclark sc0ttkclark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes a lot of sense and keeps the functionality available for problematic comments that could be moved in here like the one which lets you override the Update URI (https://make.wordpress.org/core/2021/06/29/introducing-update-uri-plugin-header-in-wordpress-5-8/)

@danieliser
Copy link
Copy Markdown

I approve this! ☝️

@chriscct7 chriscct7 requested review from chriscct7 and removed request for chriscct7 October 14, 2024 21:39
@xwolfde
Copy link
Copy Markdown

xwolfde commented Oct 14, 2024

Thank you!

@dd32 dd32 assigned dd32 and chriscct7 and unassigned dd32 Oct 15, 2024
@dd32
Copy link
Copy Markdown
Member

dd32 commented Oct 15, 2024

I've chatted with @chriscct7 and I agree with reverting this change for now, assigning it to him to handle.

@chriscct7 chriscct7 requested review from chriscct7 and removed request for barrykooij, davidperezgar, ernilambar and frantorres October 15, 2024 03:42
@chriscct7 chriscct7 modified the milestone: 1.3.0 Oct 15, 2024
@chriscct7 chriscct7 added Checks Audit/test of the particular part of the plugin [Team] Plugins Issues owned by Plugins Team labels Oct 15, 2024
@chriscct7 chriscct7 added the [Type] Bug An existing feature is broken label Oct 15, 2024
@chriscct7 chriscct7 merged commit e993242 into WordPress:trunk Oct 15, 2024
@lucprincen
Copy link
Copy Markdown

Thank you!

@kraftbj kraftbj deleted the update/header-check branch October 15, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Checks Audit/test of the particular part of the plugin [Team] Plugins Issues owned by Plugins Team [Type] Bug An existing feature is broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Git Updater headers now listed as an ERROR for plugin_header_restricted_fields

8 participants