[wp-trac] [WordPress Trac] #42254: Duplicate news entries in Events & News dashboard widget
WordPress Trac
noreply at wordpress.org
Wed Oct 25 10:30:41 UTC 2017
#42254: Duplicate news entries in Events & News dashboard widget
--------------------------------------+-----------------------------
Reporter: iandunn | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: Future Release
Component: Administration | Version: 4.8
Severity: minor | Resolution:
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+-----------------------------
Comment (by birgire):
Thanks @Iceable and congratulation with your first patch.
If this is the way to go (as there might be other approaches, as mentioned
by @Mte90 ) then I wonder if it would make sense to abstract the main part
of the {{{wp_widget_rss_output()}}} into a function or functions to
reduce the duplicated code? So {{{wp_widget_rss_output()}}} would be a
wrapper. Or introduce some new input arguments to alter the output type of
that function to make it easier to work with?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42254#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list