[wp-trac] [WordPress Trac] #13918: Don’t nag to Change Permalinks if permalink structure is defined
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 1 17:08:16 UTC 2010
#13918: Don’t nag to Change Permalinks if permalink structure is defined
--------------------------+-------------------------------------------------
Reporter: demetris | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Permalinks | Version: 3.0
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by demetris):
I suppose nacin’s comment means to add the check to the same IF, without
nesting. I updated the patch accordingly, against the current trunk.
One other thing: I am not certain which way is better for checking
whether the option does not have a value:
{{{!get_option('permalink_structure')}}}
or
{{{get_option('permalink_structure') == ''}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13918#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list