Commit Graph

2646 Commits

Author SHA1 Message Date
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 6c6763cd3e Use instead of hardcoding 1. Do we really need a separate default category for XMLRPC posting?
git-svn-id: https://develop.svn.wordpress.org/trunk@2649 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-18 19:21:37 +00:00
Ryan Boren f2d1f8460f Use default_category option if not cat specified.
git-svn-id: https://develop.svn.wordpress.org/trunk@2648 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-18 19:17:55 +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
Ryan Boren 656c1c1f03 Don't need to include blog header when you've got wp().
git-svn-id: https://develop.svn.wordpress.org/trunk@2646 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-17 00:59:58 +00:00
Matt Mullenweg 8820dc2c4c Add a default About page on install.
git-svn-id: https://develop.svn.wordpress.org/trunk@2645 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-16 09:05:06 +00:00
Ryan Boren 80f1695619 Straighten out user_id/user_ID conflict. Don't make user_id global in get_currentuserinfo() because it stomps on the local user_id in user-edit.
git-svn-id: https://develop.svn.wordpress.org/trunk@2644 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-16 06:27:30 +00:00
Ryan Boren c93f379092 Set display_name only if the user table still containts id_mode. This prevents multiple upgrades from stomping display_name.
git-svn-id: https://develop.svn.wordpress.org/trunk@2643 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-16 06:14:07 +00:00
Matt Mullenweg cd7cb0c110 Encode stylesheet reference. Hit tip: Scott Yang
git-svn-id: https://develop.svn.wordpress.org/trunk@2642 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-15 18:49:47 +00:00
Ryan Boren 125542ecab DB escape fields inserted into usermeta table. Hide errors when dropping old columns from user table.
git-svn-id: https://develop.svn.wordpress.org/trunk@2641 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-14 23:22:55 +00:00
Ryan Boren 1b4bc53f13 Wrap metavalue loop in is_array to check to avoid invalid argument warning.
git-svn-id: https://develop.svn.wordpress.org/trunk@2640 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-14 22:54:58 +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 cd3fcfab4c Let's be a little more discrete ;)
git-svn-id: https://develop.svn.wordpress.org/trunk@2638 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 09:06:30 +00:00
Matt Mullenweg 6f9483fbe4 Typo
git-svn-id: https://develop.svn.wordpress.org/trunk@2637 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 08:38:42 +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 8a2da7e506 Parse REQUEST_URI as a permalink if it looks permalinkish. Use reduced mod_rewrite rules by default.
git-svn-id: https://develop.svn.wordpress.org/trunk@2635 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 02:09:24 +00:00
Matt Mullenweg 8d1546d25f More user fixups
git-svn-id: https://develop.svn.wordpress.org/trunk@2634 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 00:05:41 +00:00
Matt Mullenweg 7f7c72cbe2 More user
git-svn-id: https://develop.svn.wordpress.org/trunk@2633 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 23:22:06 +00:00
Matt Mullenweg 47d80615b5 More user updates
git-svn-id: https://develop.svn.wordpress.org/trunk@2632 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 23:14:52 +00:00
Matt Mullenweg 1165caab60 Beginning of user system overhaul, TODO: update all code that deals with user data
git-svn-id: https://develop.svn.wordpress.org/trunk@2631 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 20:49:13 +00:00
Matt Mullenweg d535fac9bf Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@2630 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 20:48:07 +00:00
Matt Mullenweg bc9032534e Planning waaay ahead, all INTs should match.
git-svn-id: https://develop.svn.wordpress.org/trunk@2629 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 07:05:07 +00:00
Matt Mullenweg a94ad3b4da Adding profile update hook, fixes #1434
git-svn-id: https://develop.svn.wordpress.org/trunk@2628 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-10 23:33:58 +00:00
Ryan Boren 7d6fc8af08 Break blog header up into functional chunks. Stick it all in a WP class for now. Make wp() the front door. Move template/theme loader code into template-loader.php. Clean up feed file loadup. Modularize.
git-svn-id: https://develop.svn.wordpress.org/trunk@2627 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-10 23:15:13 +00:00
Matt Mullenweg 7212a28e17 Fix for get_author_link, fixes #1430
git-svn-id: https://develop.svn.wordpress.org/trunk@2626 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-10 23:13:19 +00:00
Matt Mullenweg 1b7bfde51f Adding hooks in syndication feeds.
git-svn-id: https://develop.svn.wordpress.org/trunk@2625 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-10 18:45:39 +00:00
Matt Mullenweg 5a7601b50c Allow filtering of options
git-svn-id: https://develop.svn.wordpress.org/trunk@2624 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-10 08:51:40 +00:00
Matt Mullenweg a2fa5d6a70 Better headers for CGI enviroments
git-svn-id: https://develop.svn.wordpress.org/trunk@2623 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-09 00:17:43 +00:00
Matt Mullenweg 61e7a703d1 Updating IXR to latest, fixes #1400
git-svn-id: https://develop.svn.wordpress.org/trunk@2622 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-07 07:39:39 +00:00
Matt Mullenweg d67a6e531d Far too few people use these for them to be included by default. To possibly be replaced by more useful plugins after a survey.
git-svn-id: https://develop.svn.wordpress.org/trunk@2620 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-06 01:55:45 +00:00
Matt Mullenweg 472b800ab4 Better pingback extraction, fixes #1268
git-svn-id: https://develop.svn.wordpress.org/trunk@2619 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-04 10:15:36 +00:00
Matt Mullenweg 9cb97522f2 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@2618 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-27 17:51:30 +00:00
Matt Mullenweg f0f4effd6e Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@2617 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-27 06:14:25 +00:00
Matt Mullenweg 64e674dad8 Bad cat ID cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@2616 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-27 06:10:41 +00:00
Matt Mullenweg f7f2958c1d Reducing the number of tabs to make using the built-in editor easier
git-svn-id: https://develop.svn.wordpress.org/trunk@2615 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-23 17:58:59 +00:00
Matt Mullenweg a2f90488a0 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@2613 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-19 17:44:58 +00:00
Ryan Boren 0edec9ae9e Don't attempt to trackback an empty string. Fix file path in wp_get_http_headers(). This avoids 'File does not exist' server messages when processing enclosures.
git-svn-id: https://develop.svn.wordpress.org/trunk@2612 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-18 03:17:55 +00:00
Ryan Boren 239462c326 More url_to_postid() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2611 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-18 02:27:43 +00:00
Ryan Boren ec2938185d More url_to_postid() fixes. http://mosquito.wordpress.org/view.php?id=1324
git-svn-id: https://develop.svn.wordpress.org/trunk@2610 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-18 00:04:30 +00:00
Ryan Boren c7783bbda4 Rework url_to_postid() to handle all supported permalink structs. Helps resolve pingback URIs to posts. http://mosquito.wordpress.org/view.php?id=1324
git-svn-id: https://develop.svn.wordpress.org/trunk@2609 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-14 02:59:42 +00:00
Ryan Boren 7a561d0d00 Make sure cache is primed before use in get_category_children().
git-svn-id: https://develop.svn.wordpress.org/trunk@2608 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-14 02:57:47 +00:00
Matt Mullenweg 23be7d16b7 Newline regression - http://mosquito.wordpress.org/view.php?id=263 - Hat tip: mlittle
git-svn-id: https://develop.svn.wordpress.org/trunk@2607 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-14 00:22:30 +00:00
Matt Mullenweg 7d07dc1201 fclose removed, only use curl if we have to - http://mosquito.wordpress.org/view.php?id=1324 - hat tip: rboren
git-svn-id: https://develop.svn.wordpress.org/trunk@2606 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:53:18 +00:00
Matt Mullenweg 7e42be87ae http://mosquito.wordpress.org/view.php?id=1351 - Hat tip: Dangerous Dougal
git-svn-id: https://develop.svn.wordpress.org/trunk@2605 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:47:39 +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
Matt Mullenweg 4b6aa188cd http://mosquito.wordpress.org/view.php?id=1331 - Hat tip: Mike the Magnificant
git-svn-id: https://develop.svn.wordpress.org/trunk@2603 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:13:13 +00:00
Matt Mullenweg 07fc6d5bac http://mosquito.wordpress.org/view.php?id=1348 - rboren - perhaps we should standardize on REQUEST_URI and clean up in wp-settings?
git-svn-id: https://develop.svn.wordpress.org/trunk@2602 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:11:26 +00:00
Matt Mullenweg 16e3eb7431 http://mosquito.wordpress.org/view.php?id=1341 - Hat tip: Ryan the Rockstar
git-svn-id: https://develop.svn.wordpress.org/trunk@2601 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:09:21 +00:00
Matt Mullenweg 005b51f0d4 http://mosquito.wordpress.org/view.php?id=1323 - Hat tip: Dougal
git-svn-id: https://develop.svn.wordpress.org/trunk@2600 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:07:21 +00:00