Skip to content

Conversation

derickr
Copy link
Member

@derickr derickr commented Aug 28, 2025

This makes use of the new information that Phd will display once php/phd#201 is merged.

It changes the title on the home page also to just "PHP" (removing the : Hypertext Preprocessor part).

It also changes the meta information for manual pages, which is used for social media cards.

This makes use of the new information that Phd will display once
php/phd#201 is merged.

It changes the title on the home page also to just "PHP" (removing the `:
Hypertext Preprocessor` part).

It also changes the meta information for manual pages, which is used for social
media cards.
Comment on lines 429 to 430
$meta_description = "PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.";
$meta_description = $config['description'] ?? $title;
Copy link
Member

Choose a reason for hiding this comment

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

That doesn't seem right. We should not use the title if there is no description given.

Copy link
Member Author

Choose a reason for hiding this comment

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

What would you like to see instead?

Copy link
Member

Choose a reason for hiding this comment

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

The old generic description ("PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.") would work (or just nothing).

Copy link
Contributor

github-actions bot commented Aug 28, 2025

🚀 Regression report for commit 3dbf1bf is at https://web-php-regression-report-pr-1372.preview.thephp.foundation

Copy link
Contributor

github-actions bot commented Aug 28, 2025

🚀 Preview for commit 3dbf1bf can be found at https://web-php-pr-1372.preview.thephp.foundation

@sy-records sy-records merged commit e78ea35 into php:master Sep 3, 2025
5 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.

4 participants