Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#2941 closed defect (bug) (fixed)

wp_die doesn't work in wp-db

Reported by: darkfate Owned by: anonymous
Priority: high Milestone: 2.1
Component: Administration Version: 2.1
Severity: blocker Keywords:
Cc:

Description

Following a recent commit, wp_die doesn't work with wp-db.php as I said in #2925. If you try to require it, it comes up with more undefined functions. I just say undo it.

Change History (4)

When I was trying to require it, I was wondering, where is the function that is used in wp_die?

  • Priority changed from normal to high

I meant the

__

function.

comment:3   ryan7 years ago

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

(In [4018]) bail() cannot use wp_die(). wp_die() isn't loaded when bail() runs. fixes #2941

comment:4   ryan7 years ago

  • Milestone changed from 2.0.4 to 2.1
Note: See TracTickets for help on using tickets.