Commit Graph

7579 Commits

Author SHA1 Message Date
Ryan Boren
2b63884467 Don't use wp_guess_url(). Caused big problems. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8537 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 19:19:05 +00:00
Ryan Boren
72e2ee06bb Tests for whether is an array or an object before running http_build_query() on . Props santosj. fixes #7460 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8536 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 19:12:26 +00:00
Ryan Boren
d64f028b60 Return response in foreach loop and remove debugging line. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8535 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 18:45:44 +00:00
Ryan Boren
ab2239137f Don't call curl_setopt() if safe_mode is enabled. Props ionfish and Po0ky. fixes #7458 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8534 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 17:03:05 +00:00
Ryan Boren
6a5662b4a5 Cycle through available transports trying each one. Props jacobsantos. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8533 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 16:28:12 +00:00
Andrew Ozz
52c78986b0 Type error when redirecting after post save, url_to_postid() may return the id as int or str, for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8530 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 05:15:36 +00:00
Ryan Boren
0f4aac8854 Use wp_guess_url() for determining the cron URL. Props jacobsantos. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8529 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-03 21:07:21 +00:00
Ryan Boren
53de042ebd Timeout in WP_Http_Streams::request causes Fatal error abort. Props wet. fixes #7465 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8528 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-03 21:01:28 +00:00
Ryan Boren
5e982913b6 Allow IRIs. Props guillep2k. fixes #4570
git-svn-id: https://develop.svn.wordpress.org/trunk@8525 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-02 17:32:25 +00:00
Ryan Boren
df0af53a86 Fixes process headers for fopen header return, fixes HTTP extension response array. Also adds Curl implementation and allows for it to be used when using headers. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8524 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 23:13:48 +00:00
Ryan Boren
4caa408fac Fixes process headers for fopen header return, fixes HTTP extension response array. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8523 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 22:31:57 +00:00
Ryan Boren
b7d7804240 Various http fixes from santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8522 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 21:24:03 +00:00
Ryan Boren
2a1795ae26 Initial cURL support. Doc and non-blocking mode fixes. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8520 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 18:44:40 +00:00
Ryan Boren
0e54a9ce6b Formatting changes and non-blocking mode. Props DD32. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8519 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 16:36:50 +00:00
Ryan Boren
dca0f147b2 Formatting and phpdoc cleanups from DD32. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8518 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 05:45:13 +00:00
Andrew Ozz
8138570a20 When not using image captions, IE may add caption null, for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8517 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 05:10:27 +00:00
Ryan Boren
086b9294b9 HTTP POST and REQUEST API from jacobsantos. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8516 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 05:00:07 +00:00
Ryan Boren
cf2daaf071 Don't run get_plugins() on every admin page load. Use cron for async update plugin requests. see #7372
git-svn-id: https://develop.svn.wordpress.org/trunk@8514 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 04:26:32 +00:00
Andrew Ozz
0b3c278d63 Make sure meta is added to the post, not a revision.
git-svn-id: https://develop.svn.wordpress.org/trunk@8513 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 03:50:20 +00:00
Andrew Ozz
90e3261fd9 Latest TinyMCE, has new load options and bugfixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@8512 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-31 04:01:30 +00:00
Ryan Boren
22497fb74f Add prohphylactic addlashes when evaling query. Props xknown.
git-svn-id: https://develop.svn.wordpress.org/trunk@8510 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 17:17:38 +00:00
Andrew Ozz
fc84847f4c Stop PHP warnings when $_GET[revision] is not set. Props DD32, see #7437
git-svn-id: https://develop.svn.wordpress.org/trunk@8508 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 12:32:04 +00:00
Andrew Ozz
de1afa66d2 Add "Page restored" message. Props Viper007Bond, fixes #7437 for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8506 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 09:18:59 +00:00
Andrew Ozz
b12c2edcf0 Allow comma-separated post_status values in WP_Query. Props markjaquith, fixes #7423 for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8504 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 08:16:56 +00:00
Peter Westwood
c8c3da8f81 Allow a plugin to change the filter the magpie user agent string. Fixes #7085 props JohnLamansky.
git-svn-id: https://develop.svn.wordpress.org/trunk@8503 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 07:04:57 +00:00
Peter Westwood
29d888d397 Allow a plugin to add attributes to the next and previous posts links. Fixes #7434 props JohnLamansky.
git-svn-id: https://develop.svn.wordpress.org/trunk@8502 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 07:01:03 +00:00
Peter Westwood
c735945148 Make the validate_file check more explict and obvious.
git-svn-id: https://develop.svn.wordpress.org/trunk@8501 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 06:48:30 +00:00
Peter Westwood
4e86f315b8 Avoid possible XSS when displaying the list of invalid plugins fixes #6871 for trunk props xknown.
git-svn-id: https://develop.svn.wordpress.org/trunk@8499 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 06:38:40 +00:00
Peter Westwood
16e673b165 Switch to get_theme_root()
git-svn-id: https://develop.svn.wordpress.org/trunk@8498 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 06:26:59 +00:00
Peter Westwood
8b8928d5ac Look for template files in the stylesheet folder as well as the template folder for inheriting themes. Fixes #7086 props ionfish.
git-svn-id: https://develop.svn.wordpress.org/trunk@8497 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 06:21:14 +00:00
Andrew Ozz
ba35a97bb5 Fix error message when invalidating plugin because of bad path.
git-svn-id: https://develop.svn.wordpress.org/trunk@8496 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 00:02:47 +00:00
Andrew Ozz
4ad2e3433e Include only valid plugins. Props guillep2k, fixes #6871
git-svn-id: https://develop.svn.wordpress.org/trunk@8495 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 23:10:12 +00:00
Ryan Boren
a9751a9ee9 Walker improvements from hailin. fixes #7353
git-svn-id: https://develop.svn.wordpress.org/trunk@8494 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 22:50:57 +00:00
Ryan Boren
3437da6843 Don't apply checkboxes to invisible comments.Props mdawaffe. fixes #7433 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8492 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 22:16:39 +00:00
Ryan Boren
319051a7fa Fix gravatars for infinite comments. Props mdawaffe. fixes #7432 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8490 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 22:14:53 +00:00
Peter Westwood
0737fd60d5 Make lost password admin notification pluggable. Fixes #7430 props error.
git-svn-id: https://develop.svn.wordpress.org/trunk@8489 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 20:21:34 +00:00
Peter Westwood
9099a0e896 Remove setting of error_reporting and just use the default WordPress error_reporting settings. Fixes #7035 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8488 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 19:56:38 +00:00
Peter Westwood
f698dfbb3b Pass $leavename to filters in get_permalink. Fixes #7421.
git-svn-id: https://develop.svn.wordpress.org/trunk@8487 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 19:52:44 +00:00
Ryan Boren
3b56605062 Allow dots in theme dirs when previewing. fixes #7482 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8485 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 17:03:00 +00:00
Ryan Boren
a359db73a2 Use get_edit_post_link() instead of hardcoding edit links. Props mdawaffe. fixes #7425
git-svn-id: https://develop.svn.wordpress.org/trunk@8484 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 05:22:58 +00:00
Ryan Boren
6c433a5dce Store current user rather than original post author when saving revisions. Props mdawaffe. fixes #7317 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8480 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-28 23:58:24 +00:00
Ryan Boren
79da5c32a9 Pass context to get_edit_post_link filter. Props mdawaffe. fixes #7424 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8478 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-28 23:39:15 +00:00
Andrew Ozz
ec69e512e4 Press This: using trailing slash after $_SERVER['PHP_SELF'] breaks the image tab on some servers.
git-svn-id: https://develop.svn.wordpress.org/trunk@8476 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-28 23:07:47 +00:00
Ryan Boren
c0c919091b Use ORIG_PATH_INFO if PATH_INFO is not available. fixes #7058 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8470 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-28 16:26:59 +00:00
Ryan Boren
8aaca8d367 No need to order results. Props dbuser123. see #7415
git-svn-id: https://develop.svn.wordpress.org/trunk@8469 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-27 16:58:35 +00:00
Peter Westwood
69c7119827 Remove extra } from query. Fixes #7416 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@8467 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-27 08:40:29 +00:00
Andrew Ozz
bf798dda32 Fix typo in bookmark template. Props brianwhite, fixes #7414 for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8463 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-26 19:56:08 +00:00
Peter Westwood
5bcfcc8d92 Move the endif inside the table so [8461] doesn't break the html. Fixes #7399 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@8462 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-26 08:05:30 +00:00
Peter Westwood
3f76f09b36 Only show the admin colour scheme picker if there is more than one theme to pick from. Fixes #7399.
git-svn-id: https://develop.svn.wordpress.org/trunk@8461 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-26 07:54:02 +00:00
Andrew Ozz
8867258f87 Stay on the same page after moderating comments. Fixes #7412 for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8459 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-26 03:51:39 +00:00