[wp-trac] [WordPress Trac] #35701: Error during save permalink

WordPress Trac noreply at wordpress.org
Tue Mar 22 21:46:06 UTC 2016


#35701: Error during save permalink
-----------------------------------------------+---------------------------
 Reporter:  sebastian.pisula                   |       Owner:
     Type:  defect (bug)                       |      Status:  new
 Priority:  normal                             |   Milestone:  Awaiting
Component:  General                            |  Review
 Severity:  normal                             |     Version:
 Keywords:  has-screenshots reporter-feedback  |  Resolution:
                                               |     Focuses:
-----------------------------------------------+---------------------------
Changes (by zsusag):

 * keywords:   => has-screenshots reporter-feedback


Comment:

 @sebastian.pisula:

 I'm having a hard time trying to replicate this bug. The only reason that
 this should show is that if you are trying to enter in a false structure
 for either the permalink or the category structure. The message is trying
 to advise you against saving, thus not allowing you to. This isn't a "bug"
 to my knowledge in WordPress, more of just a support thing. Double check
 your input and if you still get the error if you could post your input
 when you change the permalinks I would appreciate it if you would also
 post that here.

 Here is the code in options-permalink.php that references (granted down
 the line) the error message "Are you sure you want to do this?"


 {{{
 if ( isset($_POST['permalink_structure']) ||
 isset($_POST['category_base']) ) {
         check_admin_referer('update-permalink');
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35701#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list