Commit Graph

5755 Commits

Author SHA1 Message Date
Matt Mullenweg b8c0375cda Switch error messages to have a footer instead of use wp_die, so they don't look busted. Use absint where appropiate. Formatting cleanup. Clearer styling and messaging on buttons.
git-svn-id: https://develop.svn.wordpress.org/trunk@6371 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-10 20:42:03 +00:00
Ryan Boren bf0c6f9f23 phpdoc for deprecated funcs. Props darkdragon. fixes #5444
git-svn-id: https://develop.svn.wordpress.org/trunk@6370 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-10 18:52:24 +00:00
Ryan Boren 1db91baf1e Support atom threading. Props rubys. fixes #5434
git-svn-id: https://develop.svn.wordpress.org/trunk@6369 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-10 06:57:58 +00:00
Ryan Boren 340228e4ad comments_popup_link filter from joostdevalk. fixes #5247
git-svn-id: https://develop.svn.wordpress.org/trunk@6368 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-10 06:53:58 +00:00
Peter Westwood bdeb4e3663 Remove triming from string options fixes #4781 props hakre
git-svn-id: https://develop.svn.wordpress.org/trunk@6367 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-09 11:49:25 +00:00
Peter Westwood 23b7e0b2c4 Comment out the code that can't run so as to not confuse people.
git-svn-id: https://develop.svn.wordpress.org/trunk@6366 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-09 11:28:57 +00:00
Ryan Boren fb05263f15 New feed_link functions. Deprecate rss_link functions. Make default feed pluggable. Props rubys. see #5328
git-svn-id: https://develop.svn.wordpress.org/trunk@6365 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:58:15 +00:00
Ryan Boren 3a8b2fcca3 Remove unused vars. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:49:33 +00:00
Ryan Boren 029a74ca44 Remove unused variables. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6363 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 06:37:30 +00:00
Ryan Boren e4d0687233 Consistent AJAX fade colors. Props mdawaffe. fixes #5423
git-svn-id: https://develop.svn.wordpress.org/trunk@6362 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 06:08:14 +00:00
Ryan Boren 6e2cb47d4e Filter and action optimizations and phpdoc updates from darkdragon. fixes #5338
git-svn-id: https://develop.svn.wordpress.org/trunk@6361 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 05:56:38 +00:00
Ryan Boren a1559b9db2 Remove executable property from files. Props lapcat. fixes #5408
git-svn-id: https://develop.svn.wordpress.org/trunk@6360 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 09:30:13 +00:00
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