[wp-trac] [WordPress Trac] #30837: Updating "about ten percent" code or comment
WordPress Trac
noreply at wordpress.org
Mon Dec 29 19:40:00 UTC 2014
#30837: Updating "about ten percent" code or comment
----------------------------+------------------------------
Reporter: dmchale | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.5
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Comment (by dmchale):
Helen, thanks for clarifying the source.
Since I think the consensus is that the code itself doesn't need to be
changed, I updated the ticket with a patch that simply rewrites the
comment. Hopefully this prevents any future confusion. I left the original
reference to 50 sites intact, but intentionally wrote the end of the
comment in more vague terms in case that threshold value ever changes in
the future.
This all would have been reasonably clear WITHOUT a comment at all; the
inclusion of the in-joke is what confused the intent of the code in the
first place. Now, at least the comment helps to clarify the math.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30837#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list