[wp-trac] Re: [WordPress Trac] #3978: Visual Editor should remember your last tab setting

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 5 23:59:47 GMT 2008


#3978: Visual Editor should remember your last tab setting
-------------------------------------+--------------------------------------
 Reporter:  matt                     |        Owner:  mdawaffe
     Type:  enhancement              |       Status:  assigned
 Priority:  high                     |    Milestone:  2.5     
Component:  Administration           |      Version:  2.1.2   
 Severity:  minor                    |   Resolution:          
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Changes (by mdawaffe):

  * keywords:  needs-patch => has-patch needs-testing
  * owner:  anonymous => mdawaffe
  * status:  new => assigned

Comment:

 3978.diff

  1. Stores editor preference in wordpress_editor_{$user_id} cookie with
 long expire time.
  2. Loads page with correct editor for that user.
  3. wpSetDefaultEditor( editor ): JS function to set cookie.
  4. wp_default_editor(): PHP function that checks cookie.  Is filtered so
 that a plugin can store this editor preference info in the DB instead of
 the cookie.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3978#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list