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

WordPress Trac noreply at wordpress.org
Mon Mar 4 15:38:09 UTC 2024


#60575: Refactor: `data_wp_context` function does not follow WP standards.
---------------------------------------------+-------------------------
 Reporter:  cbravobernal                     |       Owner:  swissspidy
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  6.5
Component:  Editor                           |     Version:  trunk
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-------------------------
Changes (by swissspidy):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57762" 57762]:
 {{{
 #!CommitTicketReference repository="" revision="57762"
 Interactivity API: Rename `data_wp_context()` to
 `wp_interactivity_data_wp_context()`.

 Increases clarity about where the function belongs to, bringing it in line
 with other related functions.

 After initially merging this change in [57742] and reverting it in
 [57743], this reintroduces it now that the Gutenberg packages have been
 updated accordingly in [57760].

 Props swissspidy, gziolo, cbravobernal, youknowriad, ankitmaru,
 westonruter, luisherranz, darerodz.
 Fixes #60575.
 }}}

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


More information about the wp-trac mailing list