Commit Graph

230 Commits

Author SHA1 Message Date
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
Ryan Boren 5c16c3de26 Relocate edit_page_form hook for consistency. Props Denis-de-Bernardy. fixes #2118
git-svn-id: https://develop.svn.wordpress.org/trunk@3434 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-13 22:42:45 +00:00
Ryan Boren 7c846b2b8a dbx hooks from Owen. fixes #2250
git-svn-id: https://develop.svn.wordpress.org/trunk@3415 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-09 22:44:42 +00:00
Ryan Boren d9c8d0818a MCE fix-em-ups from skeltoac. fixes #1962
git-svn-id: https://develop.svn.wordpress.org/trunk@3283 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-09 19:24:14 +00:00
Ryan Boren 3974871850 Restore accidental reversion.
git-svn-id: https://develop.svn.wordpress.org/trunk@3149 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 10:03:27 +00:00
Ryan Boren 15513318ba Big tiny fixes from skeltoac. fixes #1897
git-svn-id: https://develop.svn.wordpress.org/trunk@3136 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 17:47:29 +00:00
Matt Mullenweg 7252579349 Some changes and tweaks to how the inline image uploading works.
git-svn-id: https://develop.svn.wordpress.org/trunk@3126 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 03:19:19 +00:00
Ryan Boren 7d851aa114 A button called Save. Props morydd. fixes #1411
git-svn-id: https://develop.svn.wordpress.org/trunk@3100 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 02:15:24 +00:00
Ryan Boren 609383477a TinyMCE tweaks from skeltoac. fixes #1852
git-svn-id: https://develop.svn.wordpress.org/trunk@3015 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-08 19:17:08 +00:00
Ryan Boren 1fb12a1eaa Rename image-uploading to inline-uploading. Props skeltoac. fixes #1834
git-svn-id: https://develop.svn.wordpress.org/trunk@2994 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 03:40:43 +00:00
Ryan Boren 7ffc6d0838 Put the preview anchors on the h2. Props: markjaquith fixes #1765
git-svn-id: https://develop.svn.wordpress.org/trunk@2973 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-29 01:52:56 +00:00
Ryan Boren 976678dce3 Image uploading for pages. Props skeltoac. fixes #1759
git-svn-id: https://develop.svn.wordpress.org/trunk@2951 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-14 21:52:56 +00:00
Ryan Boren 0bd0cd8b33 Partial migration to roles.
git-svn-id: https://develop.svn.wordpress.org/trunk@2900 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-21 05:13:49 +00:00
Matt Mullenweg 1e236eb2ab Fixes #972 for 1.6
git-svn-id: https://develop.svn.wordpress.org/trunk@2826 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 23:06:04 +00:00
Matt Mullenweg 822f7704bc Move JS below edit form, fixes #1555
git-svn-id: https://develop.svn.wordpress.org/trunk@2804 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-23 07:46:33 +00:00
Matt Mullenweg e6aee8f5c6 Clap on Clap off
git-svn-id: https://develop.svn.wordpress.org/trunk@2789 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-18 01:51:59 +00:00
Matt Mullenweg 7c4907713c Draw more attention to the messages, which now blend in a little with the header. TODO: Put all messages in an array, abstract out HTML
git-svn-id: https://develop.svn.wordpress.org/trunk@2762 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-08 01:13:22 +00:00
Matt Mullenweg bf6a2ea577 More places where WYSIWYG should be triggered
git-svn-id: https://develop.svn.wordpress.org/trunk@2749 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-04 09:26:32 +00:00
Matt Mullenweg b81fef690d A few CSS polishes
git-svn-id: https://develop.svn.wordpress.org/trunk@2730 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-23 06:22:48 +00:00
Matt Mullenweg 810e0018f4 Massive user_level fix. We were still using the user_level field in wp_users in some places, where we should just use the table prefixed usermeta value.
git-svn-id: https://develop.svn.wordpress.org/trunk@2702 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-09 01:27:46 +00:00
Ryan Boren b3f7bd726c Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: https://develop.svn.wordpress.org/trunk@2699 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-05 20:47:22 +00:00
Ryan Boren 68571f0e05 Page editing form cleaning and repair.
git-svn-id: https://develop.svn.wordpress.org/trunk@2652 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 03:07:16 +00:00
Ryan Boren 2b50612117 Add get_post_to_edit() and get_default_post_to_edit(). More post.php cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@2651 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 02:51:48 +00:00
Matt Mullenweg f6ef88773f User data migration should be complete
git-svn-id: https://develop.svn.wordpress.org/trunk@2636 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 08:32:44 +00:00
Ryan Boren a250e4f8ab Fix strtotime warning. http://mosquito.wordpress.org/view.php?id=981
git-svn-id: https://develop.svn.wordpress.org/trunk@2412 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-06 05:48:41 +00:00
Matt Mullenweg 8e8b13594c Redirect to the right place - http://mosquito.wordpress.org/view.php?id=510
git-svn-id: https://develop.svn.wordpress.org/trunk@2333 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 09:46:08 +00:00
Matt Mullenweg 0c1b494001 When in advanced view it means the boxes are unchecked
git-svn-id: https://develop.svn.wordpress.org/trunk@2290 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 09:25:54 +00:00
Matt Mullenweg 8099c0076a Don't show template dropdown if there's only one: http://mosquito.wordpress.org/view.php?id=530
git-svn-id: https://develop.svn.wordpress.org/trunk@2203 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-02 10:44:53 +00:00
Matt Mullenweg 824519adfa Expose menu_order.
git-svn-id: https://develop.svn.wordpress.org/trunk@2031 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-02 00:09:05 +00:00
Matt Mullenweg 953caf1484 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@1940 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-12 20:41:19 +00:00
Matt Mullenweg 1c6a2d83f5 Support for hidden custom fields (custom fields that start with _)
git-svn-id: https://develop.svn.wordpress.org/trunk@1935 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-09 04:12:20 +00:00
Matt Mullenweg 5411566910 Better wording
git-svn-id: https://develop.svn.wordpress.org/trunk@1934 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-09 02:57:41 +00:00
Matt Mullenweg 9b3f25f2e0 Make page editing a bit more advanced.
git-svn-id: https://develop.svn.wordpress.org/trunk@1932 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-09 02:13:47 +00:00
Ryan Boren 5710a6ac38 Do not allow a page to be its own parent.
git-svn-id: https://develop.svn.wordpress.org/trunk@1878 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-24 00:12:46 +00:00
Matt Mullenweg 0e36c1f615 Allow users 9+ to post as other users, minor advanced post reorg.
git-svn-id: https://develop.svn.wordpress.org/trunk@1861 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-18 19:40:36 +00:00
Matt Mullenweg 70fdfb4785 Improvements to page handling. Move form to own page, put under "Write", ambiguiate language, and fix redirect.
git-svn-id: https://develop.svn.wordpress.org/trunk@1857 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-16 19:29:51 +00:00
Ryan Boren 31023dd15b Make button save "Save Page" instead of "Create New Page" when editing an existing page.
git-svn-id: https://develop.svn.wordpress.org/trunk@1836 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-28 04:01:51 +00:00
Ryan Boren 4b44c46602 Page templates.
git-svn-id: https://develop.svn.wordpress.org/trunk@1753 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 05:11:11 +00:00
Ryan Boren c54a49b9aa Page/subpage URIs.
git-svn-id: https://develop.svn.wordpress.org/trunk@1752 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 02:18:37 +00:00
Matt Mullenweg 9aa1ed0d11 Pages update and tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1747 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 08:27:13 +00:00
Ryan Boren 0a1aa31389 Fix static page editing.
git-svn-id: https://develop.svn.wordpress.org/trunk@1633 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-10 01:32:20 +00:00
Matt Mullenweg 44de1ee11b Abstract quicktag code and don't show if it's Safari.
git-svn-id: https://develop.svn.wordpress.org/trunk@1631 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-09 17:51:33 +00:00
Matt Mullenweg 6b0bcbf2f5 Massive options cleanup and another step of cleaning up the upgrade/install.
git-svn-id: https://develop.svn.wordpress.org/trunk@1599 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 00:24:28 +00:00
Ryan Boren f261bc462e Static pages. Take 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@1528 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-10 05:58:19 +00:00