[wp-trac] Re: [WordPress Trac] #9677: Quick edit of pages strips page code content

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 29 08:02:23 GMT 2009


#9677: Quick edit of pages strips page code content
----------------------------+-----------------------------------------------
 Reporter:  apeatling       |       Owner:  anonymous        
     Type:  defect (bug)    |      Status:  new              
 Priority:  normal          |   Milestone:  Unassigned       
Component:  Administration  |     Version:                   
 Severity:  normal          |    Keywords:  pages, quick edit
----------------------------+-----------------------------------------------

Comment(by apeatling):

 Ugh... Trac formatting.

 1. Create a page with the visual editor turned off.

 2. Add some example code to that page, wrapped in the <?php ?> tags.

 3. Save the page, WordPress will convert the code so it uses HTML
 entities.

 4. View the page, it should display the code just fine on the page within
 the theme.

 5. Go to the edit pages screen and hit the "Quick Edit" link for the page.

 6. Change the slug and hit the "Update Page" button.

 7. View the page again, the code is now stripped.

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


More information about the wp-trac mailing list