[wp-trac] [WordPress Trac] #39725: Post Type Capabilities Broken
WordPress Trac
noreply at wordpress.org
Fri Jan 27 19:58:15 UTC 2017
#39725: Post Type Capabilities Broken
-------------------------------+---------------------------------
Reporter: michael.ecklund | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 4.7.2
Severity: normal | Resolution:
Keywords: | Focuses: ui, administration
-------------------------------+---------------------------------
Comment (by michael.ecklund):
I could be overlooking something much more complex, but couldn't it be
solved with something like:
{{{#!php
if ( ! isset( $args[0] ) ) {
$args[0] = null;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39725#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list