Commit Graph

387 Commits

Author SHA1 Message Date
Matt Mullenweg 83bca28d72 No need to do those big fancy joins.
git-svn-id: https://develop.svn.wordpress.org/trunk@3220 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 09:44:56 +00:00
Matt Mullenweg 0d88ea9ef8 Another query bites the dust!
git-svn-id: https://develop.svn.wordpress.org/trunk@3219 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 09:37:17 +00:00
Matt Mullenweg 062836b194 Don't create empty umeta values.
git-svn-id: https://develop.svn.wordpress.org/trunk@3218 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 08:48:18 +00:00
Ryan Boren 43002e6cc1 Update meta before updating the post so that page_template is not stomped. fixes #1933
git-svn-id: https://develop.svn.wordpress.org/trunk@3190 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 00:36:36 +00:00
Ryan Boren 5db06a0f98 Don't return undefined variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@3142 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 02:15:08 +00:00
Ryan Boren d13f35cdec Don't stripslashes() in plugin_basename() since this breaks established expectation of being able to pass a non-escaped FILE. Instead, stripslashes further up the stack. fixes #1866
git-svn-id: https://develop.svn.wordpress.org/trunk@3139 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 23:01:28 +00:00
Ryan Boren da61a9f508 Add some comment API and update comment popup templates to use them. Props David Hose. fixes #1892
git-svn-id: https://develop.svn.wordpress.org/trunk@3115 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 23:48:12 +00:00
Ryan Boren 376a04e7de Add comment_count to the posts table. Props donncha. fixes #1860
git-svn-id: https://develop.svn.wordpress.org/trunk@3104 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 06:29:36 +00:00
Ryan Boren cae1b67170 Make sure plugins and themes are readable. Props Mike Little. fixes #1502
git-svn-id: https://develop.svn.wordpress.org/trunk@3103 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 03:27:22 +00:00
Ryan Boren 62f1fd972b Pull the values in WP_User::data directly into WP_User so that we don't have to do ->data->blah.
git-svn-id: https://develop.svn.wordpress.org/trunk@3102 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 02:54:23 +00:00
Ryan Boren 1a012b8b49 Renaming. object and subpost are now attachment. post_type is post_mime_type.
git-svn-id: https://develop.svn.wordpress.org/trunk@3092 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 22:55:24 +00:00
Matt Mullenweg 5962ca9e11 Reverse that cleanup, there is reason in the madness ;)
git-svn-id: https://develop.svn.wordpress.org/trunk@3071 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 09:08:27 +00:00
Matt Mullenweg e1b81babff Small cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@3068 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 08:51:04 +00:00
Ryan Boren 3098fe172e Don't return false from get_settings() when installing. Use update_option() when setting the blog title and admin email so that the cache is kept in sync. fixes #1869
git-svn-id: https://develop.svn.wordpress.org/trunk@3067 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 06:51:09 +00:00
Ryan Boren f10f98f0a7 Cleanup options save.
git-svn-id: https://develop.svn.wordpress.org/trunk@3054 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-12 09:36:20 +00:00
Ryan Boren 66643f61c7 Don't use hard query. Remove unneeded line. fixes #1858
git-svn-id: https://develop.svn.wordpress.org/trunk@3052 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 02:24:09 +00:00
Matt Mullenweg 4b6a074982 Add HTTPS support, fixes #1372
git-svn-id: https://develop.svn.wordpress.org/trunk@3041 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 01:21:28 +00:00
Ryan Boren ad772b5e63 Return false if we don't find the option.
git-svn-id: https://develop.svn.wordpress.org/trunk@3028 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-10 20:59:20 +00:00
Ryan Boren 49fa56367b Fix commit gone wild.
git-svn-id: https://develop.svn.wordpress.org/trunk@3026 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 21:30:40 +00:00
Matt Mullenweg 222e32086e Missing semi, also fixes #1599
git-svn-id: https://develop.svn.wordpress.org/trunk@3025 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 21:01:24 +00:00
Matt Mullenweg 8480fdda0a Should fix #1599 for IIS blogs.
git-svn-id: https://develop.svn.wordpress.org/trunk@3024 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 20:58:58 +00:00
Ryan Boren 2077dcaf16 Options fixes from donncha. fixes #1859
git-svn-id: https://develop.svn.wordpress.org/trunk@3023 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 18:15:55 +00:00
Ryan Boren 0069470818 Add LIMIT 1 to some of our gets.
git-svn-id: https://develop.svn.wordpress.org/trunk@3012 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 23:09:09 +00:00
Ryan Boren c72a1f461e Object caching, round one.
git-svn-id: https://develop.svn.wordpress.org/trunk@3011 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 21:56:03 +00:00
Matt Mullenweg df22877fdb Simplify status_header
git-svn-id: https://develop.svn.wordpress.org/trunk@3005 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 09:05:47 +00:00
Ryan Boren a1fdbc44d0 Preview future dated posts. Props davidhouse. fixes #1795
git-svn-id: https://develop.svn.wordpress.org/trunk@3001 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 07:04:46 +00:00
Matt Mullenweg cdb58724d2 Even better, array functions are fun.
git-svn-id: https://develop.svn.wordpress.org/trunk@2977 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-29 23:28:05 +00:00
Matt Mullenweg 2b2c2e6c03 Some optimizations in queries and code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2976 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-29 23:23:17 +00:00
Ryan Boren b127cd82af Use full hierarchy when resolving category URIs. fixes #1787 Props: ringmaster Owen
git-svn-id: https://develop.svn.wordpress.org/trunk@2968 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-28 01:14:57 +00:00
Ryan Boren 1da25e1927 Image fu from Andy. fixes #1776
git-svn-id: https://develop.svn.wordpress.org/trunk@2958 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-20 20:48:32 +00:00
Matt Mullenweg d7605dd6ad Fix for header redirects - Hat tip: http://www.davidmeade.com/post/post.php?topicID=579
git-svn-id: https://develop.svn.wordpress.org/trunk@2956 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-19 06:09:23 +00:00
Matt Mullenweg 4c18e778d0 Awesome fix from Dougal about ping timeout problems.
git-svn-id: https://develop.svn.wordpress.org/trunk@2942 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-10 16:36:54 +00:00
Ryan Boren 9b7f201b11 Code cleanups from markjaquith. fixes #1743
git-svn-id: https://develop.svn.wordpress.org/trunk@2941 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-10 09:25:38 +00:00
Ryan Boren 14abc74d54 Send User-Agent when confirming pingbacks. Props error. fixes #1713
git-svn-id: https://develop.svn.wordpress.org/trunk@2933 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-05 23:29:56 +00:00
Matt Mullenweg 21cafc609c For apos in links.
git-svn-id: https://develop.svn.wordpress.org/trunk@2922 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-27 03:34:37 +00:00
Ryan Boren 3fae411f9e Array and object support for post meta from skeltoac. fixes #1699
git-svn-id: https://develop.svn.wordpress.org/trunk@2907 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-23 23:22:51 +00:00
Matt Mullenweg 6d4f063c69 Fixes #1681 and the annoying empty meta problem.
git-svn-id: https://develop.svn.wordpress.org/trunk@2887 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-16 17:27:09 +00:00
Ryan Boren 3c12867919 Add clean_post_cache() and clean_page_cache(). Reset GUID when transitioning from draft to publish. fixes #1257
git-svn-id: https://develop.svn.wordpress.org/trunk@2873 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-14 00:34:04 +00:00
Ryan Boren 8baae0c89e User create/update rework. Introduce wp_insert_user(), wp_create_user(), wp_update_user(), add_user(), update_user(), wp_new_user_notification().
git-svn-id: https://develop.svn.wordpress.org/trunk@2872 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-14 00:03:02 +00:00
Ryan Boren d225c820cf Check the option cache before querying. Props westi. fixes #1499
git-svn-id: https://develop.svn.wordpress.org/trunk@2856 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-08 21:08:48 +00:00
Ryan Boren 5932ee4425 Move pings out-of-band to speed up posting. Props to Owen. fixes #1644
git-svn-id: https://develop.svn.wordpress.org/trunk@2833 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-02 16:56:28 +00:00
Ryan Boren 61409382ad url_to_postid() typo fix. Props markjaquith. fixes #1612
git-svn-id: https://develop.svn.wordpress.org/trunk@2822 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 04:07:12 +00:00
Matt Mullenweg dde5ccd8ef Don't hardcode file type, fixes #1553
git-svn-id: https://develop.svn.wordpress.org/trunk@2805 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-23 07:48:23 +00:00
Matt Mullenweg 355b4acec9 Disabled in safe mode.
git-svn-id: https://develop.svn.wordpress.org/trunk@2790 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-18 21:21:24 +00:00
Matt Mullenweg fe3daa060e Adding personal options
git-svn-id: https://develop.svn.wordpress.org/trunk@2760 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-07 19:23:41 +00:00
Matt Mullenweg 2165c50e82 Making the presentation page a little more intuitive
git-svn-id: https://develop.svn.wordpress.org/trunk@2757 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-07 10:11:30 +00:00
Matt Mullenweg 42b54bdd1c Fixes #1370
git-svn-id: https://develop.svn.wordpress.org/trunk@2740 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-03 00:24:13 +00:00
Matt Mullenweg b8f6638196 Negate that. Fixes #1490. Hat tip: mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@2731 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-23 06:29:46 +00:00
Ryan Boren 1785b5aae3 Refactor level to cap upgrade code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2727 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-19 14:24:06 +00:00
Matt Mullenweg 3bb5555bb2 More cookie catchups
git-svn-id: https://develop.svn.wordpress.org/trunk@2726 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-18 20:12:48 +00:00