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

WordPress Trac noreply at wordpress.org
Tue Feb 20 12:16:45 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:
--------------------------------------+---------------------

Comment (by cbravobernal):

 Replying to [comment:1 swissspidy]:
 > > `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.

 Sorry if misunderstood. Anyway I agree with what you mentioned.

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


More information about the wp-trac mailing list