[wp-trac] [WordPress Trac] #57795: [@wordpress packages] Make the safeguard for using private APIs opt-in rather than opt-out
WordPress Trac
noreply at wordpress.org
Fri Mar 10 12:35:56 UTC 2023
#57795: [@wordpress packages] Make the safeguard for using private APIs opt-in
rather than opt-out
----------------------------------------------+-----------------------
Reporter: zieladam | Owner: zieladam
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.3
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch gutenberg-merge commit | Focuses:
----------------------------------------------+-----------------------
Changes (by zieladam):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"55512" 55512]:
{{{
#!CommitTicketReference repository="" revision="55512"
Build/Test tools: Prevent registering the same private JavaScript API
twice.
This sets the IS_WORDPRESS_CORE global variable to true in the webpack
build script to enable extra safeguards around private JavaScript APIs.
Props costdev, hellofromTonya, gziolo, peterwilsoncc.
Fixes #57795.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57795#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list