[wp-trac] [WordPress Trac] #11515: Admin needs standardized way of handling error messages

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 20 01:22:57 UTC 2009


#11515: Admin needs standardized way of handling error messages
----------------------------+-----------------------------------------------
 Reporter:  filosofo        |       Owner:                              
     Type:  enhancement     |      Status:  new                         
 Priority:  normal          |   Milestone:  3.0                         
Component:  Administration  |     Version:  3.0                         
 Severity:  normal          |    Keywords:  error-message admin-messages
----------------------------+-----------------------------------------------
Changes (by scribu):

  * type:  defect (bug) => enhancement


Comment:

 +1 on the innitiative. Here's my 2c on the 3 proposals

 {{{
 1. A global array of error messages.

 Advantages:
   - easy to implement, as it's the closest to the current practice

 Drawbacks:
   - has to be loaded on each admin page
   - hard to maintain, once the list gets big

 2. Cookie based messages

 Advantages:
   - persistent enough

 Drawbacks:
   - potential security issues? I have no ideea

 3. Database stored messages

 Advantages:
   - persistent

 Drawbacks:
   - database clutter
 }}}

 Also, for number 3, having it also used for private messaging is not
 feasible, IMO.

 So I would go with cookies on this.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11515#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list