[wp-trac] [WordPress Trac] #63494: Please use wp.plugins.usePluginContext instead of wp.plugins.withPluginContext

WordPress Trac noreply at wordpress.org
Wed May 28 07:01:29 UTC 2025


#63494: Please use wp.plugins.usePluginContext instead of
wp.plugins.withPluginContext
---------------------------+-------------------------
 Reporter:  mehrazmorshed  |       Owner:  (none)
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  General        |     Version:
 Severity:  normal         |  Resolution:  invalid
 Keywords:                 |     Focuses:  javascript
---------------------------+-------------------------
Changes (by dd32):

 * status:  new => closed
 * focuses:   => javascript
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Hi @mehrazmorshed and welcome to Trac,

 The message you're seeing is being logged because something is using the
 deprecated functionality.

 This isn't a bug as such, and it's likely Core triggering it - it's likely
 a plugin or theme you're running. It's just that the source of the warning
 logged is from a Core file (because that's what the code is calling).

 You'll need to look at the stack trace from the logged error to determine
 what module/js file/etc is triggering it, and report it to them (or to
 here, if it turns out to be a Core issue).

 As it is, there's no additional data here that can suggest it's a core
 issue. As such, I'm marking this as `invalid`, this can be re-opened if
 you can provide additional information.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63494#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list