Commit Graph

5843 Commits

Author SHA1 Message Date
Ryan Boren 5293dfa9be Refactor next_post_link, previous_post_link. props xknown. fixes #5411
git-svn-id: https://develop.svn.wordpress.org/trunk@6359 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 09:25:45 +00:00
Peter Westwood d092f73d97 Expose post_status over xmlrpc. Fixes #4982 props josephscott
git-svn-id: https://develop.svn.wordpress.org/trunk@6358 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 07:42:42 +00:00
Peter Westwood d3be09a763 Ensure wp-mail doesn't issue a 500 error if no messages are available to post. Fixed #5420 props Bobcat
git-svn-id: https://develop.svn.wordpress.org/trunk@6357 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 07:39:07 +00:00
Peter Westwood e52d27014b Allow plugins to handle admin page access failures. Fixes #5379 props donncha
git-svn-id: https://develop.svn.wordpress.org/trunk@6356 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 07:34:57 +00:00
Ryan Boren efccf5d5b8 Don't return all taxonomies for an object type of 0. Props tellyworth and nbachiyski. fixes #5417
git-svn-id: https://develop.svn.wordpress.org/trunk@6355 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 00:31:54 +00:00
Ryan Boren 721b8c930b Remove unused variables. Props DD32. fixes #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6354 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 00:29:05 +00:00
Ryan Boren 34c792ccc8 Use correct var. Props DD32. fixes #5419
git-svn-id: https://develop.svn.wordpress.org/trunk@6353 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-04 23:59:16 +00:00
Ryan Boren 5398d5ac32 Avoid unnecesary call to get_userdata in get_permalink function. Props xknown. fixes #5414
git-svn-id: https://develop.svn.wordpress.org/trunk@6352 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-04 00:40:00 +00:00
Ryan Boren 364a7f55c4 Don't save page and attachemtn uris to page_uris and page_attachment_uris. This is not needed. Add an option to use wildcard page rewrite rules instead of per-page rules. see #3614
git-svn-id: https://develop.svn.wordpress.org/trunk@6351 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-04 00:19:10 +00:00
Ryan Boren 26d056a4dd Hash passwords with phpass. Add wp_check_pasword() and wp_hash_password() functions. Props pishmishy. see #2394
git-svn-id: https://develop.svn.wordpress.org/trunk@6350 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-02 05:14:11 +00:00
Ryan Boren 1715c0f74e When posting by email, publish only if user has publish caps, otherwise set status to pending. Props Bobcat. fixes #4642
git-svn-id: https://develop.svn.wordpress.org/trunk@6349 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-29 05:51:09 +00:00
Ryan Boren 376e2d98af Remove old comment_count_cache variable. It's dead.
git-svn-id: https://develop.svn.wordpress.org/trunk@6348 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-29 05:03:25 +00:00
Peter Westwood eab6b80195 Correct support for mt_allow_comments to cover all possible values. Fixes #5366 props redsweater/josephscott
git-svn-id: https://develop.svn.wordpress.org/trunk@6347 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-28 20:52:55 +00:00
Ryan Boren 2c8864821d get_user_by_email() and some user caching cleanups. fixes #5392
git-svn-id: https://develop.svn.wordpress.org/trunk@6346 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-27 22:14:53 +00:00
Ryan Boren b3543211aa Check if REQUEST_METHOD is POST rather than cheecking if _POST is empty to determine if we were called via POST. Props xknown. fixes #5365
git-svn-id: https://develop.svn.wordpress.org/trunk@6345 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-27 08:03:33 +00:00
Ryan Boren b88b2b507d Don't lose the upload tab. Props mdawaffe. fixes #5390
git-svn-id: https://develop.svn.wordpress.org/trunk@6344 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-26 22:26:51 +00:00
Ryan Boren 930a39d235 Use 'Log in' instead of 'Login' for verb form. Props doug. see #5296
git-svn-id: https://develop.svn.wordpress.org/trunk@6343 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-26 21:40:00 +00:00
Ryan Boren fdb374bf6a Debug backtrace for queries. Props tellyworth. fixes #5218
git-svn-id: https://develop.svn.wordpress.org/trunk@6342 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-21 00:14:58 +00:00
Ryan Boren 1cdf22f276 Do two sets of filters on posts query. First set is used by regular plugins, second by caching plugins.
git-svn-id: https://develop.svn.wordpress.org/trunk@6341 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-18 19:36:30 +00:00
Peter Westwood 2ab598e809 Actually return a url if SSL is not supported! Relates to #5298
git-svn-id: https://develop.svn.wordpress.org/trunk@6340 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-17 11:27:01 +00:00
Peter Westwood fcd2063365 Ensure that we offer https access to atom if it is available. Fixes #5298 props rubys.
git-svn-id: https://develop.svn.wordpress.org/trunk@6339 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-17 11:21:34 +00:00
Ryan Boren 4bcd8eec3f Move posts_selection action to after post_limits filter.
git-svn-id: https://develop.svn.wordpress.org/trunk@6338 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-17 00:04:19 +00:00
Ryan Boren 71c8eab2dd Update page on front settings when deleting the page on front. Props hailin. fixes #5361
git-svn-id: https://develop.svn.wordpress.org/trunk@6337 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-16 17:39:15 +00:00
Ryan Boren e5e7b6d2b4 Don't load entire wxr import file at once to conserve memory. Props tellyworth. fixes #5357
git-svn-id: https://develop.svn.wordpress.org/trunk@6336 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-15 05:36:43 +00:00
Ryan Boren 46dbf8b1c9 Move export_wp() to an include. Props tellyworth. fixes #5347
git-svn-id: https://develop.svn.wordpress.org/trunk@6335 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-15 05:32:33 +00:00
Ryan Boren 31fc42f07b Add switch_theme(). Cache current theme in options to avoid calling get_themes(). fixes #5346
git-svn-id: https://develop.svn.wordpress.org/trunk@6334 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-13 05:07:44 +00:00
Ryan Boren f00acd7eb0 Check publish_posts not edit_published_posts when setting pending status. Props jeremyclarke. fixes #5329
git-svn-id: https://develop.svn.wordpress.org/trunk@6333 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-12 19:58:09 +00:00
Ryan Boren a24adbd80b Make sure term id is an int. Props tellyworth. fixes #5330
git-svn-id: https://develop.svn.wordpress.org/trunk@6332 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-12 19:51:42 +00:00
Ryan Boren 5697266149 Eliminate warnings in convert_smilies. Props tellyworth. fixes #5340
git-svn-id: https://develop.svn.wordpress.org/trunk@6331 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-12 19:33:06 +00:00
Ryan Boren 7a432a2ae9 Remove unused variable. Props epper. fixes #5339
git-svn-id: https://develop.svn.wordpress.org/trunk@6330 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-12 19:31:49 +00:00
Ryan Boren f9e3a4df2a Output WP_Error message when adding categories via AJAX. fixes #5342
git-svn-id: https://develop.svn.wordpress.org/trunk@6329 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-12 19:12:49 +00:00
Ryan Boren 115abc9122 phpdoc for get_category_feed_link(). see #5173
git-svn-id: https://develop.svn.wordpress.org/trunk@6328 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-09 20:31:24 +00:00
Ryan Boren d07a289c1b get_category_feed_link() from ionfish. fixes #5173
git-svn-id: https://develop.svn.wordpress.org/trunk@6327 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-09 20:12:04 +00:00
Ryan Boren a6159988be Make term slug unique when moving to another parent.
git-svn-id: https://develop.svn.wordpress.org/trunk@6326 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-09 18:34:41 +00:00
Ryan Boren 47aa82533f Skip theme validation during normal blog page loads. fixes #3907
git-svn-id: https://develop.svn.wordpress.org/trunk@6325 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-08 04:04:15 +00:00
Ryan Boren c9946fea10 Change 'all' hook calling. Bring filters and actions back into one array for back-compat. see #5231
git-svn-id: https://develop.svn.wordpress.org/trunk@6324 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-08 01:05:43 +00:00
Ryan Boren 8893deff85 Don't run sanitize_title on IDs in new widgets API to avoid performance overhead. fixes #5326
git-svn-id: https://develop.svn.wordpress.org/trunk@6323 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-08 00:56:54 +00:00
Ryan Boren 3330c693e4 Skip sanitization altogether for raw context. Props Quandary. fixes #5325
git-svn-id: https://develop.svn.wordpress.org/trunk@6321 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-07 06:20:08 +00:00
Ryan Boren d5ed4b3d7d has_action and has_filter. see #5231
git-svn-id: https://develop.svn.wordpress.org/trunk@6320 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-07 04:30:11 +00:00
Ryan Boren 35f22f56cf Add missing type arg on call to _wp_filter_build_unique_id(). see #5231
git-svn-id: https://develop.svn.wordpress.org/trunk@6319 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-06 21:39:22 +00:00
Ryan Boren f69f6c0070 current_fiter() from tellyworth. fixes #5232
git-svn-id: https://develop.svn.wordpress.org/trunk@6318 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-06 21:38:04 +00:00
Ryan Boren 051c264788 Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@6317 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-06 20:14:52 +00:00
Ryan Boren 6d61400949 Separate action and filter arrays. Get rid of filter merging. fixes #5231
git-svn-id: https://develop.svn.wordpress.org/trunk@6316 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-06 18:31:43 +00:00
Ryan Boren ac3206db1e Back out some changes from #5181. Props rubys. fixes #5307
git-svn-id: https://develop.svn.wordpress.org/trunk@6315 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-06 18:23:16 +00:00
Ryan Boren 667dad0a84 Improve performance of seems_utf8() and uf8_uri_encode(). fixes #5320
git-svn-id: https://develop.svn.wordpress.org/trunk@6314 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-05 17:13:43 +00:00
Ryan Boren f5013e7925 Extract and save image metadata. Props tellyworth. fixes #5162
git-svn-id: https://develop.svn.wordpress.org/trunk@6313 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-05 00:01:26 +00:00
Ryan Boren 48127234af Update awaiting moderation count when comments are moderated through AJAX. Props mdawaffe. fixes #5315
git-svn-id: https://develop.svn.wordpress.org/trunk@6312 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-04 06:23:03 +00:00
Ryan Boren 686182b75d Fix raw context filtering for terms. see #5253
git-svn-id: https://develop.svn.wordpress.org/trunk@6311 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-03 19:06:43 +00:00
Ryan Boren ed6c69983f Disambiguate columns. Props lawrence123. fixes #5256
git-svn-id: https://develop.svn.wordpress.org/trunk@6310 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-03 19:00:33 +00:00
Peter Westwood be99735638 Refactor of wp-admin/includes/image.php. Fixes #5312, #4151, #4709, #5304 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@6309 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-03 18:33:19 +00:00