[wp-trac] Re: [WordPress Trac] #6374: Editing a Post With an Existing Custom Field Value Containing an HTML Encoded Entity Produces an Unescaped Character Upon Save.

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 24 21:40:26 GMT 2008


#6374: Editing a Post With an Existing Custom Field Value Containing an HTML
Encoded Entity Produces an Unescaped Character Upon Save.
----------------------------+-----------------------------------------------
 Reporter:  qweenie         |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  normal          |    Milestone:  2.6      
Component:  Administration  |      Version:  2.5      
 Severity:  normal          |   Resolution:           
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by lloydbudd):

  * version:  => 2.5
  * milestone:  => 2.6

Old description:

> Editing a Post With an Existing Custom Field Value Containing an HTML
> Encoded Entity Produces an Unescaped Character Upon Save.
>
> ENV: WP trunk 2.5 revision 7502
> Repro: Always
> Steps:
> 1. update a custom field with value of 'lopez & gwatney'
> 2. view post and the source of page shows a valid html escaped entity
> 'lopez & gwatney'
> 3. edit same post changing category and save
> 4. view post and the source of page shows invalid unescaped character.
> 'lopez & gwatney'
>
> Expected Result:
> Source of page to show 'lopez & gwatney' when displaying custom field
> value

New description:

 Editing a Post With an Existing Custom Field Value Containing an HTML
 Encoded Entity Produces an Unescaped Character Upon Save.

 ENV: WP trunk 2.5 revision 7502 [[br]]
 Repro: Always [[br]]
 Steps: [[br]]
 1. update a custom field with value of 'lopez & gwatney' [[br]]
 2. view post and the source of page shows a valid html escaped entity
 'lopez & gwatney' [[br]]
 3. edit same post changing category and save [[br]]
 4. view post and the source of page shows invalid unescaped character.
 'lopez & gwatney' [[br]]


 Expected Result: [[br]]
 Source of page to show 'lopez & gwatney' when displaying custom field
 value

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


More information about the wp-trac mailing list