Commit Graph

93 Commits

Author SHA1 Message Date
Ryan Boren 23a7308251 Do page, not post, meta boxes. Props arickmann. see #5798
git-svn-id: https://develop.svn.wordpress.org/trunk@6826 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-13 19:20:29 +00:00
Ryan Boren ce8098c1df Fix delete page nonce
git-svn-id: https://develop.svn.wordpress.org/trunk@6787 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-11 09:18:11 +00:00
Ryan Boren 5deeece50b Fix display of dates for drafts and future posts. Props DD32 and ffemtcj. see #5774
git-svn-id: https://develop.svn.wordpress.org/trunk@6768 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-09 08:40:00 +00:00
Ryan Boren 2c80b3fb04 Separate meta box context into page and context to accommodate postbox API changes. see #5798
git-svn-id: https://develop.svn.wordpress.org/trunk@6762 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-08 21:06:15 +00:00
Ryan Boren 4c6d9571f9 Postbox save updates and admin js refactoring from nbachiyski. fixes #5799
git-svn-id: https://develop.svn.wordpress.org/trunk@6761 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-08 19:57:50 +00:00
Ryan Boren c2083047a8 Remove cookie checking from check_ajax_referer(). Check nonces instead. Props mdawaffe. fixes #5782
git-svn-id: https://develop.svn.wordpress.org/trunk@6739 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-06 21:19:47 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren d04499eccc Don't hard code post type in edit forms. Props filosofo and DD32. fixes #4991
git-svn-id: https://develop.svn.wordpress.org/trunk@6712 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-02 19:22:14 +00:00
Ryan Boren 0a97d079a9 Make postbox IDs unique
git-svn-id: https://develop.svn.wordpress.org/trunk@6671 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-28 17:45:11 +00:00
Ryan Boren de5dc36346 Update edit page form. Post boxes need fixin'
git-svn-id: https://develop.svn.wordpress.org/trunk@6665 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-25 23:11:54 +00:00
Ryan Boren edbba502ed Remember last editor chosen. Props mdawaffe. fixes #3978
git-svn-id: https://develop.svn.wordpress.org/trunk@6567 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-06 19:01:32 +00:00
Peter Westwood 5e8f4ee900 Fix html for post customfields entry box. Fixes #5068 props minusfive.
git-svn-id: https://develop.svn.wordpress.org/trunk@6433 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-20 20:36:35 +00:00
Ryan Boren f1a0a595d7 attribute_escape()s and int casts. see #4333
git-svn-id: https://develop.svn.wordpress.org/trunk@5543 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 09:41:04 +00:00
rob1n d8062bbc62 Add id attribute where it's only name. fixes #3696
git-svn-id: https://develop.svn.wordpress.org/trunk@5323 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-27 00:47:01 +00:00
Matt Mullenweg 93e33032b6 Kill the slow-loading iframe in favor of a popup link
git-svn-id: https://develop.svn.wordpress.org/trunk@5159 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 22:02:19 +00:00
Mark Jaquith d8336eed5c 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: https://develop.svn.wordpress.org/trunk@5056 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-17 08:46:59 +00:00
Mark Jaquith eb40f87272 wp-admin colonectomy by foolswisdom. fixes #3630
git-svn-id: https://develop.svn.wordpress.org/trunk@4787 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-23 07:43:56 +00:00
Ryan Boren d3c162e0e5 Autosave fixes from mdawaffe. fixes #3601
git-svn-id: https://develop.svn.wordpress.org/trunk@4760 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-18 03:32:54 +00:00
Mark Jaquith f95b191dab i18n fixes, logic cleanup, wording clarifications, and more from nbachiyski. fixes #3474
git-svn-id: https://develop.svn.wordpress.org/trunk@4658 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 23:06:18 +00:00
Mark Jaquith 31c39f948d new function for escaping within attributes: attribute_escape()
git-svn-id: https://develop.svn.wordpress.org/trunk@4656 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:10:04 +00:00
Mark Jaquith 48ee537a1c No need to backslash escape single quotes and line breaks when using js_escape()
git-svn-id: https://develop.svn.wordpress.org/trunk@4655 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 06:04:39 +00:00
Ryan Boren 80cd515b96 Use js_escape. Props nbachiyski. fixes #3399
git-svn-id: https://develop.svn.wordpress.org/trunk@4535 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-28 21:51:13 +00:00
Ryan Boren e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Matt Mullenweg 1fe4409c54 This is vestigal
git-svn-id: https://develop.svn.wordpress.org/trunk@4397 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-15 01:44:37 +00:00
Ryan Boren ad90b4519b Uploader improvements from mdawaffe. fixes #3191
git-svn-id: https://develop.svn.wordpress.org/trunk@4274 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-03 07:15:13 +00:00
Ryan Boren 24cd5df33c Add and use delete class on delete buttons. Props mdawaffe. fixes #3187
git-svn-id: https://develop.svn.wordpress.org/trunk@4267 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-02 18:34:08 +00:00
Ryan Boren 8941e0dfbe Validate good times, come on. Props Viper007Bond. fixes #3113
git-svn-id: https://develop.svn.wordpress.org/trunk@4169 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-07 17:28:29 +00:00
Ryan Boren c1582ab856 Capitalization fixes from foolswisdom and davidosier. fixes #3077
git-svn-id: https://develop.svn.wordpress.org/trunk@4125 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 01:47:01 +00:00
Ryan Boren 8988c209e9 Fix autosave redirects
git-svn-id: https://develop.svn.wordpress.org/trunk@4088 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 19:13:00 +00:00
Ryan Boren 5f241c40be autosave fix ups
git-svn-id: https://develop.svn.wordpress.org/trunk@4086 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 18:50:28 +00:00
Ryan Boren 0106320536 autosave span from masquerade
git-svn-id: https://develop.svn.wordpress.org/trunk@4084 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 07:26:48 +00:00
Ryan Boren 89d8708cb1 Custom field AJAX fix from mdawaffe. fixes #2970
git-svn-id: https://develop.svn.wordpress.org/trunk@4029 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-23 17:14:51 +00:00
Matt Mullenweg 4ec0249ac2 Some renames
git-svn-id: https://develop.svn.wordpress.org/trunk@3999 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-06 04:27:45 +00:00
Ryan Boren c776c8b89f Validation fixes from leftjustified. fixes #2907
git-svn-id: https://develop.svn.wordpress.org/trunk@3983 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 20:28:02 +00:00
Ryan Boren 1884d2926f Add delete page nonce. fixes #2847
git-svn-id: https://develop.svn.wordpress.org/trunk@3932 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 07:01:16 +00:00
Ryan Boren 11a6312a36 Use wp_get_referer(). fixes #2800
git-svn-id: https://develop.svn.wordpress.org/trunk@3918 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-24 07:34:35 +00:00
Ryan Boren deac9fea9d js_escape() in onclicks. fixes #2851
git-svn-id: https://develop.svn.wordpress.org/trunk@3907 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-24 01:28:08 +00:00
Ryan Boren 6f1d273fc9 Update nonce action strings. Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@3804 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 23:08:05 +00:00
Ryan Boren 659cc90b93 Fix cap. Props ryanscheuermann. fixes #2723
git-svn-id: https://develop.svn.wordpress.org/trunk@3775 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-17 21:32:16 +00:00
Ryan Boren fcfda4db13 Nonce from above. #2678
git-svn-id: https://develop.svn.wordpress.org/trunk@3759 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-02 22:36:06 +00:00
Ryan Boren aa88f20cff tinyMCE 2.0.5 coming at you live. fixes #2598
git-svn-id: https://develop.svn.wordpress.org/trunk@3664 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 07:50:33 +00:00
Ryan Boren cb23290318 AJAX, cause you love it. Props mdawaffe. fixes #2561
git-svn-id: https://develop.svn.wordpress.org/trunk@3660 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-29 01:51:55 +00:00
Ryan Boren b4351fd870 Breakup post.php into post.php, comment.php, page.php, post-new.php
git-svn-id: https://develop.svn.wordpress.org/trunk@3563 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-21 06:11:46 +00:00
Ryan Boren 02c324dd68 Oops. Missing paren.
git-svn-id: https://develop.svn.wordpress.org/trunk@3562 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-20 21:23:09 +00:00
Ryan Boren 30c5d8a624 Check Published for future posts. fixes #2488
git-svn-id: https://develop.svn.wordpress.org/trunk@3560 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-20 21:00:19 +00:00
Ryan Boren bcf84b6e6d Add Publish button for pages. fixes #2451
git-svn-id: https://develop.svn.wordpress.org/trunk@3550 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-19 05:57:54 +00:00
Ryan Boren e5c3552381 Move raquo into gettext. Props SteveAgl. fixes #2453
git-svn-id: https://develop.svn.wordpress.org/trunk@3541 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:29:33 +00:00
Ryan Boren bde96bc025 Add new page caps now that pages can be draft or publish. Brings page caps to parity with posts. Add delete caps for posts and pages. fixes #2382 #2336 #2301
git-svn-id: https://develop.svn.wordpress.org/trunk@3513 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-11 09:56:02 +00:00
Ryan Boren f961003343 Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: https://develop.svn.wordpress.org/trunk@3510 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 10:03:48 +00:00
Ryan Boren a6baed8b6c Check upload_files cap for inline uploader. Props David House and doit-cu. fixes #2302
git-svn-id: https://develop.svn.wordpress.org/trunk@3456 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-18 19:16:31 +00:00