[wp-trac] [WordPress Trac] #64632: Remove outdated GitHub reference in custom-html-widgets.js comment

WordPress Trac noreply at wordpress.org
Thu Feb 12 14:36:33 UTC 2026


#64632: Remove outdated GitHub reference in custom-html-widgets.js comment
--------------------------+------------------------------
 Reporter:  mayur8991     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Widgets       |     Version:  4.9
 Severity:  trivial       |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------
Changes (by sabernhardt):

 * version:  6.9.1 => 4.9


Old description:

> In wp-admin/js/widgets/custom-html-widgets.js (around line 336),
> there is a comment referencing the following URL:
>
> https://github.com/xwp/wordpress-develop/pull/247/commits/5322387d
>
> The link currently returns a 404 error and appears to reference a
> non-official fork of WordPress.
>
> Since the link is no longer accessible and does not provide useful
> context, it may cause confusion for developers reviewing the code.
>
> It would be good to remove the outdated URL from the comment to
> improve code clarity and maintainability.

New description:

 In `wp-admin/js/widgets/custom-html-widgets.js` (around line 336),
 there is a comment referencing the following URL:

 `https://github.com/xwp/wordpress-develop/pull/247/commits/5322387d`

 The link currently returns a 404 error and appears to reference a
 non-official fork of WordPress.

 Since the link is no longer accessible and does not provide useful
 context, it may cause confusion for developers reviewing the code.

 It would be good to remove the outdated URL from the comment to
 improve code clarity and maintainability.

--

Comment:

 [https://github.com/WordPress/wordpress-
 develop/blob/6.9.1/src/js/_enqueues/wp/widgets/custom-html.js#L336 Line
 336] was part of [41376].

 The [https://web.archive.org/web/20211019211141/https://github.com/xwp
 /wordpress-develop/pull/247 Wayback archive] points to #41596 (which leads
 to [https://core.trac.wordpress.org/attachment/ticket/41596/41596.1.diff
 41596.1.diff] and [41260]).

 cc: @westonruter

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


More information about the wp-trac mailing list