[wp-trac] [WordPress Trac] #56715: New Feature for the WordPress Core
WordPress Trac
noreply at wordpress.org
Mon Oct 3 20:50:43 UTC 2022
#56715: New Feature for the WordPress Core
-----------------------------+---------------------------------
Reporter: lucifer37666 | Owner: (none)
Type: feature request | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution: worksforme
Keywords: | Focuses: ui, administration
-----------------------------+---------------------------------
Comment (by lucifer37666):
Yah. Make sense now. After this explanation. Thanks.
Replying to [comment:7 jrf]:
> > Why I can put some code into WP core, and I know is there and no waist
more time to go grab the code and paste again. Why need plugin for
everything?
>
> > My suggestions are if WordPress have in Settings a special section,
where you can add this customs codes, Like Google Tag Manager, Google
AdSense Code, Or Google Analytics and a section to add your own custom
code. (Preferable to be able to chose to be added in Body section, Head
Section, Footer Section)
>
>
> Just to clarify why this request is not a good candidate for Core.
>
> Have a look at your own suggestion. You are asking for three specific
fields to be added, each of which is related to an external vendor. There
are hundreds of external vendors out there.
>
> If WordPress Core would add these three fields, within a day, the next
vendor will be saying - ''"vendor A (Google) now has an unfair advantage,
so I want a field for my custom codes to be added to WordPress Core as
well"''.
>
> In the end, there will be hundreds of fields for codes in every single
site, users will not be able to find the field they want anymore and most
users will only use one or two of the fields anyway (if at all).
>
> Also think about this - adding a field like this for one vendor could
even lead to the WordPress Foundation (a non-profit) being sued in court
and stock market regulators getting involved about WordPress unfairly
influencing the market by giving one vendor an unfair advantage over
another.
>
> So, this is why this is plugin territory. Users can install the plugins
which are relevant for their integrations. This is something WP Core
should stay far away from.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56715#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list