[wp-trac] [WordPress Trac] #15566: if + else = always
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 24 18:48:43 UTC 2010
#15566: if + else = always
-----------------------------+----------------------------------------------
Reporter: hakre | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Comments | Version: 3.1
Severity: normal | Resolution: invalid
Keywords: has-patch close |
-----------------------------+----------------------------------------------
Comment(by Denis-de-Bernardy):
Indeed it isn't... That said... Shouldn't it be:
{{{
if ( $is_hierarchical )
clean_page_cache( $post_id );
else
clean_post_cache( $post_id );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15566#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list