Skip to content

Fix missing “Copy” button on the Windows download page - #1981

Merged
sy-records merged 3 commits into
php:masterfrom
LamentXU123:button
Aug 4, 2026
Merged

Fix missing “Copy” button on the Windows download page#1981
sy-records merged 3 commits into
php:masterfrom
LamentXU123:button

Conversation

@LamentXU123

@LamentXU123 LamentXU123 commented Aug 3, 2026

Copy link
Copy Markdown
Member

Add Copy buttons next to SHA256 checksums on download-related pages. Follow-up #1957. Now not only in the pre-realese page do we have this button after sha1 hash.

cc @sy-records

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

📊 Regression report for commit 2dd7b70 is at https://web-php-regression-report-pr-1981.preview.thephp.foundation

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

🚀 Preview for commit 2dd7b70 is available at https://web-php-pr-1981.preview.thephp.foundation

Comment thread releases/index.php
if (!isset($src["filename"])) {
continue;
}
printf('<li><a href="https://museum.php.net/php%d/%s">%s</a></li>',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

These don't have SHA-256 hashes, only MD5, so the changes made here are unnecessary and need to be reverted.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I dont see the reason why we only provide a button in case of SHA1 but not MD5.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Most of them are SHA-256; I've already removed MD5 from my PR. These MD5 values may simply be legacy issues.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Oh I see. Fair point :)

@LamentXU123 LamentXU123 changed the title Add Copy buttons next to SHA256 checksums on download-related pages Add Copy buttons next to SHA256 and MD5 checksums on download-related pages Aug 4, 2026
@LamentXU123 LamentXU123 changed the title Add Copy buttons next to SHA256 and MD5 checksums on download-related pages Add Copy buttons next to SHA256 checksums on download-related pages Aug 4, 2026
@LamentXU123
LamentXU123 requested a review from sy-records August 4, 2026 04:29
@sy-records sy-records changed the title Add Copy buttons next to SHA256 checksums on download-related pages Fix missing “Copy” button on the Windows download page Aug 4, 2026
@sy-records
sy-records merged commit 8e5a5eb into php:master Aug 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants