Opened 13 years ago
Closed 12 years ago
#22537 closed enhancement (fixed)
Fix balanceTags() docs and make the logic better readable
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Inline Docs | Keywords: | has-patch 3.6-early commit |
Focuses: | Cc: |
Description
The inline documentation of balanceTags()
mixes up "and" and "or" in the first line. The function will does not require both $force
and get_option(...)
to be true, but just one. Apparently, some of the inline docs was already worked on in #19576, but the first line was left as-is.
Also, the logic of the function is kind of hard to read with unnecessary boolean inversions.
The attached patch fixed the docs and makes the function better readable.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Fix balanceTags() docs and make the function better readable