Opened 19 months ago
Closed 14 months ago
#19179 closed enhancement (fixed)
Unused code in WP_Widget_Links
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.4 |
| Component: | Widgets | Version: | 3.2 |
| Severity: | trivial | Keywords: | has-patch |
| Cc: | pavelevap@… |
Description
As reported by pavelevap in #18096:
In Links widget there are two places with the same string, but I could not simulate to display one of them on my testing website?
if ( is_admin() && !$category ) { // Display All Links widget as such in the widgets screen echo $before_widget . $before_title. __('All Links') . $after_title . $after_widget; return; }
This code was introduced in [10896] as a part of the fix for #9449. It doesn't make much sense, since the function is never called in the admin.
Attachments (1)
Change History (4)
SergeyBiryukov — 19 months ago
comment:2
SergeyBiryukov — 17 months ago
- Milestone changed from Awaiting Review to 3.4
- Type changed from defect (bug) to enhancement
Note: See
TracTickets for help on using
tickets.

Thank you, Sergey.