[Bb-trac] Re: [bbPress] #690: bb_die() needs to be plugable
bbPress
bb-trac at lists.bbpress.org
Wed Mar 5 00:00:01 GMT 2008
#690: bb_die() needs to be plugable
-------------------------+--------------------------------------------------
Reporter: _ck_ | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 0.8.5 & XML-RPC
Component: Back-end | Version: 0.8.2.1
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by mdawaffe):
* milestone: 0.8.4 => 0.8.5 & XML-RPC
Comment:
690.diff for consideration.
Includes theme's stylesheet if bb_die is not called from the admin
section.
This may make errors look completely hideous unless you're using kakumei.
Thoughts?
I really do think, though, that we should use bb_die() only in extreme
cases. When errors are generated because of invalid data, we should just
see if we can just output error messages on screen.
For example, when you try to write a new topic without any post content,
we should show the user whatever page the were on, refill all the form
elements they had filled out and have an error message appear above the
form.
--
Ticket URL: <http://trac.bbpress.org/ticket/690#comment:6>
bbPress <http://bbpress.org/>
Innovative forum development
More information about the Bb-trac
mailing list