WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 8 months ago

#37199 new enhancement

Strengthen language in wp-config-sample.php

Reported by: kraftbj Owned by:
Milestone: Awaiting Review Priority: low
Severity: minor Version:
Component: Bootstrap/Load Keywords:
Focuses: Cc:

Description

The current /* That's all, stop editing! Happy blogging. */ line can be easily misunderstood when a novice power user is editing/adding things to their wp-config.php file.

We can tweak the language to avoid confusion and folks adding any custom define values after the line to call wp-settings.php.

Attachments (1)

37199.diff (548 bytes) - added by kraftbj 3 years ago.
Add a specific reference to where custom values should go and strengthen to the do not edit warning.

Download all attachments as: .zip

Change History (9)

@kraftbj
3 years ago

Add a specific reference to where custom values should go and strengthen to the do not edit warning.

#1 @swissspidy
3 years ago

  • Summary changed from Strengthen language in wp-content-sample.php to Strengthen language in wp-config-sample.php

#2 @kraftbj
3 years ago

Seeing [37902], I need to refresh the patch to include updating that function too.

This ticket was mentioned in Slack in #polyglots by sergey. View the logs.


3 years ago

#4 @xibe
3 years ago

Piggy-backing on this and wondering if this could be an opportunity to rid us of the outdated (or at least, less used) "blogging" reference :)

This ticket was mentioned in Slack in #core by jorbin. View the logs.


3 years ago

#6 @jorbin
3 years ago

  • Keywords has-patch removed

Discussed this during a bug scrub today, The direction that was decided is:

1) Keep the existing final line, but add in a line /* Add any custom values above this line. */ above it. That language likely can be improved. Suggestions welcome.

2) Need to make sure to work with polyglots for locales that customize wp-config-sample.php

#7 @kraftbj
3 years ago

Maybe something like "Any customization must occur above this line.", "Do not change or add anything beyond this point/after this line"?

Note: See TracTickets for help on using tickets.