Opened 10 years ago
Closed 10 years ago
#39328 closed defect (bug) (fixed)
Adding terms without AJAX strips "taxonomy" query arg
| Reported by: | szaqal21 | Owned by: | peterwilsoncc |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.7.1 |
| Component: | Taxonomy | Version: | 4.7 |
| Severity: | normal | Keywords: | has-patch fixed-major commit |
| Cc: | Focuses: |
Description
I've wrote a plugin which disables AJAX for managment of taxonomy terms and I think I've found a bug. If I add new term for taxonomy "category", browser is being redirected to edit-tags.php widthout "taxonomy=category" arg. After some search in core I've found that redirect location is being set wrong - I think. Line 84 in edit-tags.php
<?php $location = add_query_arg( 'message', 1, $location );
uses $location as url, shouldn't it be $referer as other actions do? $location at this point equals to false.
Attachments (1)
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I could reproduce this.
At first glance, looks like regression following [38750], putting on the 4.7.1 milestone for follow up.