Commit Graph

2755 Commits

Author SHA1 Message Date
Ryan Boren
dfe87eb5f7 Quote IDs in get queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@2663 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-26 20:44:58 +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
a6881402ef Initialize message before concat.
git-svn-id: https://develop.svn.wordpress.org/trunk@2658 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-24 01:22:55 +00:00
Ryan Boren
62366e5403 Return the modified query from remove_query_arg(). Props MC_incubus fixes #1362
git-svn-id: https://develop.svn.wordpress.org/trunk@2657 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-20 02:03:35 +00:00
Ryan Boren
c8b7b7e47b Return output of get_links() when calling from wp_get_links(). Props: Kafkaesqui fixes #1437
git-svn-id: https://develop.svn.wordpress.org/trunk@2656 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-20 01:40:52 +00:00
Ryan Boren
337a17904f Return output of list_cats() when calling from wp_list_cats(). Props: edavis fixes #1449
git-svn-id: https://develop.svn.wordpress.org/trunk@2655 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-20 01:30:39 +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
751ce0f454 Don't stomp post_ID in mw_editPost(). Pass TB URIs to wp_update_post() and wp_insert_post() instead of directly calling trackback_url_list(). #1452
git-svn-id: https://develop.svn.wordpress.org/trunk@2653 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 03:30:46 +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
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