[wp-trac] [WordPress Trac] #50992: Consider removing the ability to alter the list of environment types
WordPress Trac
noreply at wordpress.org
Thu Aug 27 17:27:13 UTC 2020
#50992: Consider removing the ability to alter the list of environment types
----------------------------------------+---------------------
Reporter: johnbillion | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.5.1
Component: Bootstrap/Load | Version: 5.5
Severity: normal | Resolution:
Keywords: needs-patch needs-dev-note | Focuses:
----------------------------------------+---------------------
Comment (by elrae):
Why would someone create content on a staging site and push the database
live without taking into account dev URLs? Typically you should never push
content upstream, only downstream and updates made on the live site. Any
time we do for some reason (very rare) move a db from stage to live we
always take into account that data may not be fully correct. If Yoast is
detecting a stage environment and not populating metadata that it does on
live, that could potentially cause errors in scripts that wouldn't show up
until live. what if my db has settings that don't allow Yoast to create
stuff like in 14.0, or if my tables are so large the queries will bog down
my db. Now i'm pushing code to my production that functioned differently
and things will start dying on production.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50992#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list