[wp-trac] [WordPress Trac] #29810: Prevent HTML Corruption When Shortcodes Are Not Allowed
WordPress Trac
noreply at wordpress.org
Wed Oct 1 02:49:13 UTC 2014
#29810: Prevent HTML Corruption When Shortcodes Are Not Allowed
--------------------------+------------------------------
Reporter: miqrogroove | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 2.6
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by miqrogroove):
Replying to [comment:1 kitchin]:
> Are you missing `global` in the three functions at the end of
miqro-29810.2.patch ?
Indeed. It's a work in progress.
> And just as a matter of style at line 214
> can be one-lined
I prefer one-liners myself, especially the if (this) return $that;
variety. The committers here usually prefer readability though.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29810#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list