Commit Graph

323 Commits

Author SHA1 Message Date
Ryan Boren 7ed364b2ce Notice fixes from nbachiyski. fixes #5961
git-svn-id: https://develop.svn.wordpress.org/trunk@6983 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 17:43:56 +00:00
Ryan Boren 679cd738b9 TinyMCE config enhancements from azaozz. fixes #5896 #5888
git-svn-id: https://develop.svn.wordpress.org/trunk@6894 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-18 17:11:12 +00:00
Ryan Boren 7886e5c6e0 Fix add custom field redirects. Props pishmishy. fixes #2788
git-svn-id: https://develop.svn.wordpress.org/trunk@6816 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-13 18:10:41 +00:00
Ryan Boren 9d87bc73e7 Update post save notifications and redirects
git-svn-id: https://develop.svn.wordpress.org/trunk@6807 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-13 08:55:17 +00:00
Ryan Boren bfa0dd639a Move editor js to editor.js. fixes #5799
git-svn-id: https://develop.svn.wordpress.org/trunk@6770 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-09 13:08:28 +00:00
Ryan Boren 55be48f97f Redirect if post not specified. Props lloydbudd. fixes #5754
git-svn-id: https://develop.svn.wordpress.org/trunk@6741 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-06 21:40:52 +00:00
Matt Mullenweg 9b9c8bd46f Redirect to edit page with posted blurb as default.
git-svn-id: https://develop.svn.wordpress.org/trunk@6581 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-09 11:21:27 +00:00
Ryan Boren fd80901dcf New image uploader from tellyworth. see #5609
git-svn-id: https://develop.svn.wordpress.org/trunk@6579 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-09 08:14:29 +00:00
Ryan Boren 72a79d489d Port autosave to jquery. Props rmccue. see #3824
git-svn-id: https://develop.svn.wordpress.org/trunk@6546 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 08:46:33 +00:00
Matt Mullenweg 30224a0b3d New tag interface, tag auto-suggest while typing. Rough - suggest and parts of JS should probably be refactored. Hat tip: jhodgdon.
git-svn-id: https://develop.svn.wordpress.org/trunk@6542 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-03 01:34:11 +00:00
Ryan Boren 490789554f jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: https://develop.svn.wordpress.org/trunk@6213 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 22:49:42 +00:00
Ryan Boren 7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren 682ac07750 Redirect back to post-new.php when doing a save and continue with empty post fields. fixes #4855
git-svn-id: https://develop.svn.wordpress.org/trunk@5967 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:24:42 +00:00
Ryan Boren 9ef753c3c5 Display error message when attempting to edit post or page IDs that do not exist. Props Viper007Bond. fixes #4737
git-svn-id: https://develop.svn.wordpress.org/trunk@5875 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-15 22:31:19 +00:00
Ryan Boren dd51d69fb3 Revert jcalendar date picker experiment. Save it for another day. fixes #4641
git-svn-id: https://develop.svn.wordpress.org/trunk@5808 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-17 19:26:03 +00:00
Ryan Boren bd72aa8e00 jquery data selector for post timestamps. Props tellyworth. fixes #4641
git-svn-id: https://develop.svn.wordpress.org/trunk@5804 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-16 19:22:27 +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 56368548ad Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4990 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 05:29:15 +00:00
Mark Jaquith 5acfcd9fea trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 15:24:54 +00:00
Ryan Boren ff46d95c6c Don't allow editing pages via post.php. Redirect to page.php
git-svn-id: https://develop.svn.wordpress.org/trunk@4780 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-22 08:16:58 +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
Ryan Boren 32c1d247ac Attachment data abstraction from mdawaffe. fixes #3440
git-svn-id: https://develop.svn.wordpress.org/trunk@4612 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-05 22:37:19 +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 bc2d62560c Some UI cleanups, changes, and various miscellany.
git-svn-id: https://develop.svn.wordpress.org/trunk@4349 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-06 01:14:47 +00:00
Mark Jaquith 3fdba8da61 Better notice and link after post/page saving. Props mdawaffe. fixes #1690
git-svn-id: https://develop.svn.wordpress.org/trunk@4317 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 07:46:47 +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 a28be38534 i18n fixes from nbachiyski. fixes #3109
git-svn-id: https://develop.svn.wordpress.org/trunk@4165 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-05 18:52:24 +00:00
Ryan Boren 7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +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 ff9a056e8b Autosave and prototype. Props masquerade. fixes #3020 #3017
git-svn-id: https://develop.svn.wordpress.org/trunk@4082 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 03:54:45 +00:00
Ryan Boren 86b08a2787 Fix redirect and publish.
git-svn-id: https://develop.svn.wordpress.org/trunk@4059 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-28 22:18:41 +00:00
Ryan Boren 0b25954d38 Use wp_die(). Props filosofo. fixes #2914
git-svn-id: https://develop.svn.wordpress.org/trunk@3985 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 22:00:03 +00:00
Ryan Boren 0474f077f0 wp_reset_vars() from Sewar. fixes #2888
git-svn-id: https://develop.svn.wordpress.org/trunk@3946 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-03 19:03:37 +00:00
Ryan Boren 23e2a0a25f Use wp_redirect().
git-svn-id: https://develop.svn.wordpress.org/trunk@3928 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 05:38:56 +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 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 855864396f Improvements to the nonce AYS from mdawaffe. #2734
git-svn-id: https://develop.svn.wordpress.org/trunk@3783 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-18 06:49:22 +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
Matt Mullenweg 79f049c09e A better comment delete button
git-svn-id: https://develop.svn.wordpress.org/trunk@3721 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 08:02:16 +00:00
Ryan Boren e14b0fc456 Redirect if no action given.
git-svn-id: https://develop.svn.wordpress.org/trunk@3683 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-04 00:12:43 +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 e758b74575 Add referer check. Props masquerade.
git-svn-id: https://develop.svn.wordpress.org/trunk@3621 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-06 08:32:20 +00:00
Ryan Boren 5b484ee182 Add referer checks. Props masquerade.
git-svn-id: https://develop.svn.wordpress.org/trunk@3618 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-06 08:19:41 +00:00
Ryan Boren ba5d6bafdd Fix post save/delete redirects. fixes #2505 #2502
git-svn-id: https://develop.svn.wordpress.org/trunk@3571 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-27 05:15:13 +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 4fc77411ee Option to 'mark as spam' in notification e-mail from Mark J. fixes #1048
git-svn-id: https://develop.svn.wordpress.org/trunk@3529 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 20:09:13 +00:00
Ryan Boren 6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +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 28bd6692a0 is_preview() fixes from David House. fixes #2188
git-svn-id: https://develop.svn.wordpress.org/trunk@3473 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-23 23:39:56 +00:00
Ryan Boren 8a67cfddd0 Remove reference to non-existant edit-attachment-form. fixes #2270
git-svn-id: https://develop.svn.wordpress.org/trunk@3428 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-12 03:44:44 +00:00
Ryan Boren 82f037674e Confirm-delete dialog fix from Mark Jaquith. fixes #2249
git-svn-id: https://develop.svn.wordpress.org/trunk@3416 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-09 22:50:35 +00:00
Ryan Boren 152fe33307 Don't require admin-header.
git-svn-id: https://develop.svn.wordpress.org/trunk@3361 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-26 17:00:39 +00:00
Ryan Boren dcaa152386 Don't die.
git-svn-id: https://develop.svn.wordpress.org/trunk@3315 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 22:26:22 +00:00
Ryan Boren f160329f66 Attachment enhancements from skeltoac. fixes #2074
git-svn-id: https://develop.svn.wordpress.org/trunk@3303 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 19:19:56 +00:00
Ryan Boren f8f9acc610 i18n fixes from nbachiyski. #2006
git-svn-id: https://develop.svn.wordpress.org/trunk@3262 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-02 22:37:02 +00:00
Ryan Boren 27dbb0228e Close iframe properly. Props ringmaster. fixes #1932
git-svn-id: https://develop.svn.wordpress.org/trunk@3188 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 18:30:46 +00:00
Ryan Boren 8d5607f6f7 Tab highlight fix from skeltoac. fixes #1619
git-svn-id: https://develop.svn.wordpress.org/trunk@3164 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:20:33 +00:00
Ryan Boren 9e6d93b6d6 Trailing slashes. Propers to Mark Jaquith. fixes #1893
git-svn-id: https://develop.svn.wordpress.org/trunk@3134 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 10:10:10 +00:00
Ryan Boren e94f3a0418 Bookmarklet script updates.
git-svn-id: https://develop.svn.wordpress.org/trunk@3132 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 09:44:41 +00:00
Ryan Boren eb4979a640 New bookmarklet action.
git-svn-id: https://develop.svn.wordpress.org/trunk@3127 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 03:26:24 +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 72133b0358 Post preview, now with extra spiff, from Mark Jaquith. fixes #1701
git-svn-id: https://develop.svn.wordpress.org/trunk@2906 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-23 00:44:26 +00:00
Ryan Boren 9b64414d35 Fix page edit redirect.
git-svn-id: https://develop.svn.wordpress.org/trunk@2850 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-08 20:38:30 +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 1d5e21d175 Tweaks and catchups
git-svn-id: https://develop.svn.wordpress.org/trunk@2756 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-07 08:58:10 +00:00
Ryan Boren 60bc7f83f4 Fix draft list and publish button. fixes #1514
git-svn-id: https://develop.svn.wordpress.org/trunk@2723 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 21:08:47 +00:00
Ryan Boren 5dbb58cd91 Migrate to caps.
git-svn-id: https://develop.svn.wordpress.org/trunk@2709 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-13 22:26:26 +00:00
Ryan Boren 19ab84315c Role/capability system. Round one. Props: Owen Winkler
git-svn-id: https://develop.svn.wordpress.org/trunk@2703 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-11 22:39:50 +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
Matt Mullenweg 5bd6027fbd Drafts clean up.
git-svn-id: https://develop.svn.wordpress.org/trunk@2701 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-08 22:59:15 +00:00
Matt Mullenweg b5675c3c05 Ugly escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@2692 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 17:42:11 +00:00
Ryan Boren 12d6518279 Fix ID in confirmdeletecomment.
git-svn-id: https://develop.svn.wordpress.org/trunk@2691 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 17:34:55 +00:00
Ryan Boren 706c897f32 Comment updating cleanup. Add get_comment(), edit_comment(), get_comment_to_edit(), and wp_update_comment().
git-svn-id: https://develop.svn.wordpress.org/trunk@2662 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-26 19:55:12 +00:00
Ryan Boren 9e63ebda78 Return post_ID from write_post() and pass it along when doing a save and continue redirect. Props: CŽedric
git-svn-id: https://develop.svn.wordpress.org/trunk@2654 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 23:44:22 +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
Ryan Boren 67846fb123 Consolidate post update code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2650 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 01:33:38 +00:00
Ryan Boren 15dc0c3307 Consolidate post creation code into wp_insert_post().
git-svn-id: https://develop.svn.wordpress.org/trunk@2647 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-18 19:08:38 +00:00
Matt Mullenweg afc06a6f56 New schmancy posting interface
git-svn-id: https://develop.svn.wordpress.org/trunk@2639 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-14 07:31:36 +00:00
Matt Mullenweg 202758f35d http://mosquito.wordpress.org/view.php?id=1347 - Hat tip: Skippy the Salacious
git-svn-id: https://develop.svn.wordpress.org/trunk@2604 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:45:51 +00:00
Ryan Boren 017d679aa4 Correctly set comment and ping status when publishing from advanced edit page. http://mosquito.wordpress.org/view.php?id=877 Props: MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2574 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-24 04:19:19 +00:00
Matt Mullenweg 34f8f74d36 More sanitization cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@2557 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 04:06:37 +00:00
Matt Mullenweg 61ebee5445 Initial auto-save checkin code from DarkCryst. No bug reports on it yet! Several known issues, including deleting cookies, moving the restore button, and other behavior probs.
git-svn-id: https://develop.svn.wordpress.org/trunk@2536 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-16 16:31:38 +00:00
Ryan Boren 2e7c387207 Make get_postdata() use get_post(). Label get_postdata() as deprecated. Remove the one remaining call to get_postdata().
git-svn-id: https://develop.svn.wordpress.org/trunk@2524 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:25:47 +00:00
Ryan Boren 6abd89a643 Don't set auto-set post slug until published. http://mosquito.wordpress.org/view.php?id=1073 Props: coffee2code
git-svn-id: https://develop.svn.wordpress.org/trunk@2496 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 19:24:37 +00:00
Ryan Boren 61efa3844d i18n fix. http://mosquito.wordpress.org/view.php?id=1136 Props: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2463 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-22 00:17:55 +00:00
Ryan Boren 7fa77a3e96 Level 1 users cannot edit or delete published posts. http://mosquito.wordpress.org/view.php?id=1004
git-svn-id: https://develop.svn.wordpress.org/trunk@2452 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-17 03:38:28 +00:00
Ryan Boren a21f267454 Don't let users who cannot publish edit published posts, even their own. Make consistent use of user_can_create_post(). http://mosquito.wordpress.org/view.php?id=1004 Props: MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2441 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-14 00:48:11 +00:00
Ryan Boren 06b50ae8f5 Don't make post slug sticky until the post is published. http://mosquito.wordpress.org/view.php?id=531
git-svn-id: https://develop.svn.wordpress.org/trunk@2426 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-10 03:01:45 +00:00
Ryan Boren 16afe16dbe Fix edit page menu highlighting. http://mosquito.wordpress.org/view.php?id=799 Hat tip: mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@2401 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-02 16:30:00 +00:00
Ryan Boren ffad6205f9 Localize strings. http://mosquito.wordpress.org/view.php?id=909 Props: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2377 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-25 00:20:48 +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 a5fec00554 Don't let there be duplicate post_names
git-svn-id: https://develop.svn.wordpress.org/trunk@2323 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 04:51:14 +00:00
Matt Mullenweg f2f1c3083e More presave filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@2317 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 04:05:19 +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 fd66fc02c6 Enclosure cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@2288 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 08:58:10 +00:00
Matt Mullenweg 294a80c2b0 Update rewrite rules on delete - http://wordpress.org/support/topic.php?id=22562
git-svn-id: https://develop.svn.wordpress.org/trunk@2219 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-05 05:32:36 +00:00
michelvaldrighi 31ba3d15e0 Fix for bug #559, capitalisation issue
git-svn-id: https://develop.svn.wordpress.org/trunk@2194 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 11:03:45 +00:00
Ryan Boren 8b95197691 Remove support for 'all' queries and for poststart and postend.
git-svn-id: https://develop.svn.wordpress.org/trunk@2179 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 01:49:51 +00:00
Matt Mullenweg 48c873e2fa Fix for assigning authors - http://mosquito.wordpress.org/view.php?id=759
git-svn-id: https://develop.svn.wordpress.org/trunk@2172 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 10:32:28 +00:00
Matt Mullenweg 8768dfb610 Moderation confirmation from Ryan, some other template and comment editing improvements.
git-svn-id: https://develop.svn.wordpress.org/trunk@2165 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 04:22:01 +00:00
Matt Mullenweg 9436737d04 Fix for menu_order - http://mosquito.wordpress.org/view.php?id=740
git-svn-id: https://develop.svn.wordpress.org/trunk@2122 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-24 05:36:20 +00:00
Ryan Boren 8aee31bc63 If post title is not provided, we still need to have a sanitized name for use in permalinks. Use the post id. Bug 717.
git-svn-id: https://develop.svn.wordpress.org/trunk@2109 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-20 05:18:55 +00:00
Matt Mullenweg 6ca2c31abd http://mosquito.wordpress.org/view.php?id=521
git-svn-id: https://develop.svn.wordpress.org/trunk@2062 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-07 01:11:51 +00:00
Matt Mullenweg 00d285d0dd Cleaning up filters and format-to-post
git-svn-id: https://develop.svn.wordpress.org/trunk@2059 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 22:51:44 +00:00
Matt Mullenweg 7ca6c5dc82 Show feedback that the post was saved.
git-svn-id: https://develop.svn.wordpress.org/trunk@2050 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 09:29:04 +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 3835423ade http://mosquito.wordpress.org/view.php?id=568
git-svn-id: https://develop.svn.wordpress.org/trunk@1981 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-19 08:17:07 +00:00
Matt Mullenweg 928966d6ce HTML fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@1961 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-15 23:09:46 +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
Ryan Boren 017dfb115b Remove call to undefined function clear_smarty_cache(). Bug 424.
git-svn-id: https://develop.svn.wordpress.org/trunk@1917 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-08 00:23:02 +00:00
Ryan Boren 226f415935 Fix post deletion. Update wp_delete_post() and call from post.php. Bug 472.
git-svn-id: https://develop.svn.wordpress.org/trunk@1891 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-27 04:46:54 +00:00
Ryan Boren bdc464726b Preserve author ID when editing pages. Bug 480. Hat tip: adsworth
git-svn-id: https://develop.svn.wordpress.org/trunk@1873 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-21 21:28:18 +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
michelvaldrighi a82fa76aee leave my textarea opened, kthx
git-svn-id: https://develop.svn.wordpress.org/trunk@1839 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-29 15:29:36 +00:00
Donncha O Caoimh 18c485e15a Indented file.
git-svn-id: https://develop.svn.wordpress.org/trunk@1825 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-22 14:41:01 +00:00
Dougal Campbell b1338c154c Fix header error when saving drafts.
git-svn-id: https://develop.svn.wordpress.org/trunk@1822 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-20 21:27:40 +00:00
Ryan Boren ed78ed9a2d Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.
git-svn-id: https://develop.svn.wordpress.org/trunk@1818 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-19 03:03:06 +00:00
michelvaldrighi f099ceea5a fix for bug #328: better/sane way to get before using it as a fallback for post_name
git-svn-id: https://develop.svn.wordpress.org/trunk@1813 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 15:58:06 +00:00
Donncha O Caoimh cc9dc67ff8 Enclosure support moved to functions.php - it now scans the content
and encloses file of mime type "video", "audio" and "image".
Fixed a bug in upgrade.php - extra character at the start of file.


git-svn-id: https://develop.svn.wordpress.org/trunk@1812 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 12:09:20 +00:00
michelvaldrighi df198e98cc removed call time pass by reference in enclosures support
git-svn-id: https://develop.svn.wordpress.org/trunk@1806 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-16 10:18:36 +00:00
michelvaldrighi 989de456b6 replaced stuff with user_can_*() stuff
git-svn-id: https://develop.svn.wordpress.org/trunk@1805 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-15 16:21:32 +00:00
Donncha O Caoimh 64c7ac39be Seperate enclosure URLs by 1 space, not 3.
git-svn-id: https://develop.svn.wordpress.org/trunk@1800 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 14:22:40 +00:00
Donncha O Caoimh db93072a78 Fix for fsockopen to stop warnings about "Call-time pass-by-reference".
git-svn-id: https://develop.svn.wordpress.org/trunk@1797 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 07:48:15 +00:00
Matt Mullenweg 904bb037c5 Forgot to uncomment debug line
git-svn-id: https://develop.svn.wordpress.org/trunk@1796 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 07:34:55 +00:00
Matt Mullenweg b4984a31c2 Trackback and pingback cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1794 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 07:26:41 +00:00
Matt Mullenweg ac839a8005 Some code cleanup. Also double email fix care of Mark Jaquith.
git-svn-id: https://develop.svn.wordpress.org/trunk@1793 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 05:00:51 +00:00
Ryan Boren afe389d930 Use == instead of =
git-svn-id: https://develop.svn.wordpress.org/trunk@1787 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-12 17:54:54 +00:00
Donncha O Caoimh 2b105ba050 Added enclosure support.
git-svn-id: https://develop.svn.wordpress.org/trunk@1786 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-12 15:52:29 +00:00
Matt Mullenweg 44e6155894 Some additional API hooks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1782 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 22:13:40 +00:00
Matt Mullenweg 236c6ede65 Move balanceTags into filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@1781 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 22:07:09 +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 112d84ee01 Better redirect cleaning.
git-svn-id: https://develop.svn.wordpress.org/trunk@1751 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 16:22:31 +00:00
Matt Mullenweg 4cf19662eb Changes to how we do redirects.
git-svn-id: https://develop.svn.wordpress.org/trunk@1748 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 08:35:22 +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 f7d9aadc28 Do not sanitize an empty title.
git-svn-id: https://develop.svn.wordpress.org/trunk@1688 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 05:38:47 +00:00
Ryan Boren 8b407a6db1 Do not sanitize an empty title.
git-svn-id: https://develop.svn.wordpress.org/trunk@1687 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 05:36:18 +00:00
Matt Mullenweg 3776531128 Axing of geo stuff, major cleanups on permalink options, style tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1664 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 15:09:39 +00:00
Matt Mullenweg 2059519dbf Initial functionality so level 1 users may be allowed to publish or just post drafts.
git-svn-id: https://develop.svn.wordpress.org/trunk@1656 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-14 12:41:09 +00:00
Ryan Boren 83d1029ce2 Save meta info to DB before doing the publish_post action.
git-svn-id: https://develop.svn.wordpress.org/trunk@1644 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-14 06:54:09 +00:00
Ryan Boren 2706a8f965 Honor default category in post forms. Bug 182.
git-svn-id: https://develop.svn.wordpress.org/trunk@1634 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-10 06:31:19 +00:00
Matt Mullenweg bf70fc82bd Set GUID when posting.
git-svn-id: https://develop.svn.wordpress.org/trunk@1604 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 02:03:51 +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
Matt Mullenweg 8e4263c25d Case typo in delete_post API hook. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000228
git-svn-id: https://develop.svn.wordpress.org/trunk@1572 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-28 08:54:44 +00:00
Matt Mullenweg 130c34bde3 Bookmarklet escaping fix from Alex
git-svn-id: https://develop.svn.wordpress.org/trunk@1553 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-23 08:29:14 +00:00
Ryan Boren ec57c1a114 Static pages. Take 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@1527 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-10 05:35:59 +00:00
Ryan Boren 32bd9e6ac7 In sanitize_title(), strip_tags() before sanitizing, not after. In post.php, if post name is empty, pass the post title to the sanitizer.
git-svn-id: https://develop.svn.wordpress.org/trunk@1512 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-06 01:28:51 +00:00