[wp-trac] [WordPress Trac] #30254: add bypass filter to remove months dropdown on post table
WordPress Trac
noreply at wordpress.org
Sat Dec 6 19:20:58 UTC 2014
#30254: add bypass filter to remove months dropdown on post table
------------------------------------------------+--------------------------
Reporter: norcross | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Administration | Review
Severity: normal | Version: trunk
Keywords: has-patch 2nd-opinion dev-feedback | Resolution:
| Focuses:
| administration
------------------------------------------------+--------------------------
Comment (by DrewAPicture):
Replying to [comment:5 markjaquith]:
> Works for me. Do we use the include_* naming convention elsewhere, or do
we have a convention for filters that enable/disable things?
We have a few what I call "boolean" filters with an "enable_" prefix on
them. It helps to use a naming convention that is "positive" so that when
we check if it's enabled/disabled it doesn't end up as a double negative,
e.g. `false === disable_*`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30254#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list