﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
9677	Quick edit of pages strips page code content	apeatling	anonymous	"Using WordPress MU 2.7.1 (same codebase as WordPress 2.7.1 in this part)

I'm creating the BuddyPress codex documentation, which includes code snippets. I've turned off the visual editor as it doesn't handle code snippets very well.

Everything works well, and the code displays correctly when saved.

However, if I use the ""Quick Edit"" option for that page (I changed the slug) then save, all the code snippet content on the page is stripped completely. I'm assuming this would probably be the same for a post.

Here are the steps:

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."	defect (bug)	closed	normal		Administration	2.7.1	normal	worksforme	needs-patch	
