[wp-trac] [WordPress Trac] #28216: Allow to register pre-instantiated widgets
WordPress Trac
noreply at wordpress.org
Thu May 14 18:49:49 UTC 2015
#28216: Allow to register pre-instantiated widgets
-------------------------------+------------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 3.9.1
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------------+------------------------------
Comment (by Denis-de-Bernardy):
Replying to [comment:7 westonruter]:
> Why not use setter injection or property injection instead of
constructor injection?
Because there's something wrong with engineering software like that in my
opinion except in very special cases.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28216#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list