Ticket #5230 (closed defect (bug): fixed)

Opened 4 years ago

Last modified 4 years ago

taxonomy - incorrect php fetch_row in update or insert term

Reported by: michelwp Owned by: anonymous
Priority: high Milestone: 2.5
Component: Administration Version: 2.3
Severity: critical Keywords: taxonomy term slug alias_of needs-patch
Cc:

Description

taxonomy - incorrect ->fetch_row in wp_update or wp_insert term :

the script block if $alias_of is present (I am developping new powerful taxonomy features)

must be replace by ->get_row to work and create alias of a previous term

line 1094 and 930

Change History

  • Milestone set to 2.4

comment:2 follow-up: ↓ 3   michelwp4 years ago

Just a question :

why the milestone is set to 2.4 ?

why the modification in taxonomy.php can not be made sooner because the 'WordPress DB Class' don't contain the error causing ->fetch_row (never present in other scripts ) and must be replace by ->get_row which solve the pb...

a trac newbies

comment:3 in reply to: ↑ 2   westi4 years ago

Replying to michelwp:

Just a question :

why the milestone is set to 2.4 ?

why the modification in taxonomy.php can not be made sooner because the 'WordPress DB Class' don't contain the error causing ->fetch_row (never present in other scripts ) and must be replace by ->get_row which solve the pb...

a trac newbies

In General interim releases e.g. 2.3.1 only contain major bug fixes. Also bugs are fixed in trunk (i.e. 2.4) first and then backported to the current interim release branch if required.

  • Keywords needs-patch added

comment:5   ryan4 years ago

  • Status changed from new to closed
  • Resolution set to fixed

(In [6283]) get_row() not fetch_row(). Props michelwp. fixes #5230

Note: See TracTickets for help on using tickets.