[wp-trac] [WordPress Trac] #36529: Bug in get_permalink()
WordPress Trac
noreply at wordpress.org
Thu Apr 14 19:02:41 UTC 2016
#36529: Bug in get_permalink()
--------------------------+-----------------------------
Reporter: dav4 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.5
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
In some cases, when default category (from get_option( 'default_category')
was deleted (for example with another plugin), get_permalink() show:
{{{
PHP Notice: Trying to get property of non-object in
/Applications/AMPPS/www/wordpress/wp-includes/link-template.php on line
193
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36529>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list