[wp-trac] [WordPress Trac] #36389: Selective refresh for widgets gets lost once `refresh` is used
WordPress Trac
noreply at wordpress.org
Tue Apr 5 18:58:19 UTC 2016
#36389: Selective refresh for widgets gets lost once `refresh` is used
---------------------------------------------+--------------------------
Reporter: scamartist26 | Owner: westonruter
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.5
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+--------------------------
Comment (by DrewAPicture):
@jorbin: If we're going to add an `@ignore` to the DocBlock, the docs
should be complete and explicit about what it's supposed to be used for
and why it exists. Docs are just as important internally as externally :-)
Side note: I recognize why we need it in core, but it definitely feels a
little weird adding a method specifically for testing purposes. Like maybe
the underlying code isn't flexible enough in its implementation to be
easily testable in the first place. I register my hesitation to make this
a habit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36389#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list