[wp-trac] [WordPress Trac] #60575: Refactor: `data_wp_context` function does not follow WP standards.

WordPress Trac noreply at wordpress.org
Mon Feb 19 16:13:09 UTC 2024


#60575: Refactor: `data_wp_context` function does not follow WP standards.
--------------------------------------+---------------------
 Reporter:  cbravobernal              |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  6.5
Component:  Editor                    |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |     Focuses:
--------------------------------------+---------------------
Changes (by swissspidy):

 * keywords:   => needs-patch dev-feedback
 * component:  General => Editor


Comment:

 > `data_wp_context()` is the first unprefixed WordPress function in Core.

 That's not what I said and also not true. I said it is the only function
 in `src/wp-includes/interactivity-api/interactivity-api.php` that doesn't
 have a `wp_interactivity_` prefix.

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


More information about the wp-trac mailing list