Commit Graph

103 Commits

Author SHA1 Message Date
ryan ed09992863 Slug edit for pages. Hide advanced slug field if JS enabled. Trigger first autosave after 15 chars. Set autosave interval to 60s. Props filosofo. see #5749
git-svn-id: http://svn.automattic.com/wordpress/trunk@6955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 20:19:34 +00:00
ryan eb3cb51113 Auto add preview link after autosaving a new post or page. Props filosofo. see #5847
git-svn-id: http://svn.automattic.com/wordpress/trunk@6953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 06:19:46 +00:00
ryan 2c874f5189 Admin styling updates from mt. fixes #5940
git-svn-id: http://svn.automattic.com/wordpress/trunk@6950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 00:27:23 +00:00
ryan efc3b70996 Add Related section to all write/edit pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@6949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 23:43:06 +00:00
ryan 3378e3b20b Lose the breaks and do it right
git-svn-id: http://svn.automattic.com/wordpress/trunk@6948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 23:31:56 +00:00
ryan 9183c9ee15 Add h2 headers to the write/edit pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@6947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 22:49:04 +00:00
ryan b9c63b6f11 Change some meta box titles
git-svn-id: http://svn.automattic.com/wordpress/trunk@6932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 06:50:52 +00:00
ryan 4da577f121 Add Related section to edit page form
git-svn-id: http://svn.automattic.com/wordpress/trunk@6927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 03:16:47 +00:00
ryan 7d06b85a36 Move timestamp to submitbox. Put it in a slidedown. see #5846
git-svn-id: http://svn.automattic.com/wordpress/trunk@6904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 22:07:57 +00:00
ryan 2169d4e439 submit box actions hooks from filosofo. fixes #5873
git-svn-id: http://svn.automattic.com/wordpress/trunk@6901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 19:38:01 +00:00
ryan a3b1336f7f Do page, not post, meta boxes. Props arickmann. see #5798
git-svn-id: http://svn.automattic.com/wordpress/trunk@6826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 19:20:29 +00:00
ryan 1e4cf4d54d Fix delete page nonce
git-svn-id: http://svn.automattic.com/wordpress/trunk@6787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 09:18:11 +00:00
ryan 62a4e6518b Fix display of dates for drafts and future posts. Props DD32 and ffemtcj. see #5774
git-svn-id: http://svn.automattic.com/wordpress/trunk@6768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 08:40:00 +00:00
ryan 7f78733f6b Separate meta box context into page and context to accommodate postbox API changes. see #5798
git-svn-id: http://svn.automattic.com/wordpress/trunk@6762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 21:06:15 +00:00
ryan bc817d2a2e Postbox save updates and admin js refactoring from nbachiyski. fixes #5799
git-svn-id: http://svn.automattic.com/wordpress/trunk@6761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 19:57:50 +00:00
ryan 7b946b9007 Remove cookie checking from check_ajax_referer(). Check nonces instead. Props mdawaffe. fixes #5782
git-svn-id: http://svn.automattic.com/wordpress/trunk@6739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 21:19:47 +00:00
ryan d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan d42b1a8256 Don't hard code post type in edit forms. Props filosofo and DD32. fixes #4991
git-svn-id: http://svn.automattic.com/wordpress/trunk@6712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 19:22:14 +00:00
ryan 22599d1bc1 Make postbox IDs unique
git-svn-id: http://svn.automattic.com/wordpress/trunk@6671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 17:45:11 +00:00
ryan 0bf9c81fb5 Update edit page form. Post boxes need fixin'
git-svn-id: http://svn.automattic.com/wordpress/trunk@6665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 23:11:54 +00:00
ryan 0a5781da6e Remember last editor chosen. Props mdawaffe. fixes #3978
git-svn-id: http://svn.automattic.com/wordpress/trunk@6567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-06 19:01:32 +00:00
westi 9f9a2b862a Fix html for post customfields entry box. Fixes #5068 props minusfive.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 20:36:35 +00:00
ryan 8e547a3677 attribute_escape()s and int casts. see #4333
git-svn-id: http://svn.automattic.com/wordpress/trunk@5543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 09:41:04 +00:00
rob1n 44088f5463 Add id attribute where it's only name. fixes #3696
git-svn-id: http://svn.automattic.com/wordpress/trunk@5323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 00:47:01 +00:00
matt 01961fba45 Kill the slow-loading iframe in favor of a popup link
git-svn-id: http://svn.automattic.com/wordpress/trunk@5159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 22:02:19 +00:00
markjaquith 611b037efa use clean_url() instead of attribute_escape() when dealing with src/href to protect against XSS. props xknown. fixes #3986 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-17 08:46:59 +00:00
markjaquith a5dc6a5271 wp-admin colonectomy by foolswisdom. fixes #3630
git-svn-id: http://svn.automattic.com/wordpress/trunk@4787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-23 07:43:56 +00:00
ryan 8c6162e883 Autosave fixes from mdawaffe. fixes #3601
git-svn-id: http://svn.automattic.com/wordpress/trunk@4760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-18 03:32:54 +00:00
markjaquith 8a678f3841 i18n fixes, logic cleanup, wording clarifications, and more from nbachiyski. fixes #3474
git-svn-id: http://svn.automattic.com/wordpress/trunk@4658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 23:06:18 +00:00
markjaquith 5a76c03203 new function for escaping within attributes: attribute_escape()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:10:04 +00:00
markjaquith deb53f7027 No need to backslash escape single quotes and line breaks when using js_escape()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 06:04:39 +00:00
ryan cc44db510d Use js_escape. Props nbachiyski. fixes #3399
git-svn-id: http://svn.automattic.com/wordpress/trunk@4535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-28 21:51:13 +00:00
ryan 9f534ebae6 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
matt c14edc434a This is vestigal
git-svn-id: http://svn.automattic.com/wordpress/trunk@4397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-15 01:44:37 +00:00
ryan b5741c1270 Uploader improvements from mdawaffe. fixes #3191
git-svn-id: http://svn.automattic.com/wordpress/trunk@4274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-03 07:15:13 +00:00
ryan 13eb3fbb0d Add and use delete class on delete buttons. Props mdawaffe. fixes #3187
git-svn-id: http://svn.automattic.com/wordpress/trunk@4267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-02 18:34:08 +00:00
ryan 6b7de4afd3 Validate good times, come on. Props Viper007Bond. fixes #3113
git-svn-id: http://svn.automattic.com/wordpress/trunk@4169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-07 17:28:29 +00:00
ryan f600dfacfa Capitalization fixes from foolswisdom and davidosier. fixes #3077
git-svn-id: http://svn.automattic.com/wordpress/trunk@4125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 01:47:01 +00:00
ryan a458715afa Fix autosave redirects
git-svn-id: http://svn.automattic.com/wordpress/trunk@4088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 19:13:00 +00:00
ryan 7ac67243e8 autosave fix ups
git-svn-id: http://svn.automattic.com/wordpress/trunk@4086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 18:50:28 +00:00
ryan c4a4c6c371 autosave span from masquerade
git-svn-id: http://svn.automattic.com/wordpress/trunk@4084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 07:26:48 +00:00
ryan fbfe98308d Custom field AJAX fix from mdawaffe. fixes #2970
git-svn-id: http://svn.automattic.com/wordpress/trunk@4029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-23 17:14:51 +00:00
matt 157786ecaa Some renames
git-svn-id: http://svn.automattic.com/wordpress/trunk@3999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-06 04:27:45 +00:00
ryan f02a7931d8 Validation fixes from leftjustified. fixes #2907
git-svn-id: http://svn.automattic.com/wordpress/trunk@3983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-05 20:28:02 +00:00
ryan 281418c54e Add delete page nonce. fixes #2847
git-svn-id: http://svn.automattic.com/wordpress/trunk@3932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-27 07:01:16 +00:00
ryan ec9b6242a3 Use wp_get_referer(). fixes #2800
git-svn-id: http://svn.automattic.com/wordpress/trunk@3918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-24 07:34:35 +00:00
ryan e232ef9a32 js_escape() in onclicks. fixes #2851
git-svn-id: http://svn.automattic.com/wordpress/trunk@3907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-24 01:28:08 +00:00
ryan 96c3f739a8 Update nonce action strings. Props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-26 23:08:05 +00:00
ryan e92d1c8341 Fix cap. Props ryanscheuermann. fixes #2723
git-svn-id: http://svn.automattic.com/wordpress/trunk@3775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-17 21:32:16 +00:00
ryan 3f57a94f4c Nonce from above. #2678
git-svn-id: http://svn.automattic.com/wordpress/trunk@3759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-02 22:36:06 +00:00