Commit Graph

7736 Commits

Author SHA1 Message Date
ryan 80937742da Suppress fopen errors if WP_DEBUG is not enabled. Props jacobsantos. fixes #7456 see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 05:45:34 +00:00
ryan 0c0de881bb Fix reversed encoding. Props DD32. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 04:14:55 +00:00
ryan 1b0bfced2e XML-RPC comments API. see #7446
git-svn-id: http://svn.automattic.com/wordpress/trunk@8543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 22:29:37 +00:00
ryan 377336657c Fix star.gif. see #6015
git-svn-id: http://svn.automattic.com/wordpress/trunk@8542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 21:24:47 +00:00
ryan e61e2610d2 Set eol-style. see #6015
git-svn-id: http://svn.automattic.com/wordpress/trunk@8541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 21:17:42 +00:00
westi 35f46f0d4b Plugin Install GSOC project first code drop. Props DD32 see #6015.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 21:01:09 +00:00
ryan 7f0c014f36 Cast to array to avoid warning. Props santosj. fixes #7222 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 20:34:45 +00:00
ryan b8dc4a3377 Don't use wp_guess_url(). Caused big problems. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 19:19:05 +00:00
ryan 92589dee21 Tests for whether is an array or an object before running http_build_query() on . Props santosj. fixes #7460 see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 19:12:26 +00:00
ryan e4a40aa709 Return response in foreach loop and remove debugging line. Props santosj. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 18:45:44 +00:00
ryan 2eb0dffaaa Don't call curl_setopt() if safe_mode is enabled. Props ionfish and Po0ky. fixes #7458 see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 17:03:05 +00:00
ryan 2d6e153cb4 Cycle through available transports trying each one. Props jacobsantos. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 16:28:12 +00:00
azaozz 293f185635 Type error when redirecting after post save, url_to_postid() may return the id as int or str, for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 05:15:36 +00:00
ryan ccbc13a123 Use wp_guess_url() for determining the cron URL. Props jacobsantos. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-03 21:07:21 +00:00
ryan f152ed51e1 Timeout in WP_Http_Streams::request causes Fatal error abort. Props wet. fixes #7465 see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-03 21:01:28 +00:00
ryan 5ac3c72c22 Allow IRIs. Props guillep2k. fixes #4570
git-svn-id: http://svn.automattic.com/wordpress/trunk@8525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-02 17:32:25 +00:00
ryan 7c80ab99e2 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: http://svn.automattic.com/wordpress/trunk@8524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 23:13:48 +00:00
ryan 696fce2d5b Fixes process headers for fopen header return, fixes HTTP extension response array. Props santosj. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 22:31:57 +00:00
ryan 5fb61f3398 Various http fixes from santosj. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 21:24:03 +00:00
ryan 2f4537ad4c Initial cURL support. Doc and non-blocking mode fixes. Props santosj. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 18:44:40 +00:00
ryan 6425f7db9d Formatting changes and non-blocking mode. Props DD32. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 16:36:50 +00:00
ryan 6f3542eff2 Formatting and phpdoc cleanups from DD32. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 05:45:13 +00:00
azaozz 0c4dbbadca When not using image captions, IE may add caption null, for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 05:10:27 +00:00
ryan 3c99cfc4f5 HTTP POST and REQUEST API from jacobsantos. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 05:00:07 +00:00
ryan 06a67ae8d2 Don't run get_plugins() on every admin page load. Use cron for async update plugin requests. see #7372
git-svn-id: http://svn.automattic.com/wordpress/trunk@8514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 04:26:32 +00:00
azaozz 4d78593e80 Make sure meta is added to the post, not a revision.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 03:50:20 +00:00
azaozz fddd74d5b9 Latest TinyMCE, has new load options and bugfixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-31 04:01:30 +00:00
ryan a465f3ac7d Add prohphylactic addlashes when evaling query. Props xknown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 17:17:38 +00:00
azaozz c61a4db3e5 Stop PHP warnings when $_GET[revision] is not set. Props DD32, see #7437
git-svn-id: http://svn.automattic.com/wordpress/trunk@8508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 12:32:04 +00:00
azaozz 27b762bb8e Add "Page restored" message. Props Viper007Bond, fixes #7437 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 09:18:59 +00:00
azaozz 38aa571484 Allow comma-separated post_status values in WP_Query. Props markjaquith, fixes #7423 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 08:16:56 +00:00
westi f08ff1124c Allow a plugin to change the filter the magpie user agent string. Fixes #7085 props JohnLamansky.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 07:04:57 +00:00
westi e612643a06 Allow a plugin to add attributes to the next and previous posts links. Fixes #7434 props JohnLamansky.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 07:01:03 +00:00
westi 33ad189d78 Make the validate_file check more explict and obvious.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 06:48:30 +00:00
westi 4134153d89 Avoid possible XSS when displaying the list of invalid plugins fixes #6871 for trunk props xknown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 06:38:40 +00:00
westi 563e470237 Switch to get_theme_root()
git-svn-id: http://svn.automattic.com/wordpress/trunk@8498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 06:26:59 +00:00
westi 508dfde88a Look for template files in the stylesheet folder as well as the template folder for inheriting themes. Fixes #7086 props ionfish.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 06:21:14 +00:00
azaozz ca07515463 Fix error message when invalidating plugin because of bad path.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 00:02:47 +00:00
azaozz 80c409458f Include only valid plugins. Props guillep2k, fixes #6871
git-svn-id: http://svn.automattic.com/wordpress/trunk@8495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 23:10:12 +00:00
ryan 7add050b10 Walker improvements from hailin. fixes #7353
git-svn-id: http://svn.automattic.com/wordpress/trunk@8494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 22:50:57 +00:00
ryan fec30ab9ac Don't apply checkboxes to invisible comments.Props mdawaffe. fixes #7433 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 22:16:39 +00:00
ryan 30d7084f60 Fix gravatars for infinite comments. Props mdawaffe. fixes #7432 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 22:14:53 +00:00
westi f69ddab179 Make lost password admin notification pluggable. Fixes #7430 props error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 20:21:34 +00:00
westi ec5a60f0cf Remove setting of error_reporting and just use the default WordPress error_reporting settings. Fixes #7035 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 19:56:38 +00:00
westi 91fcf4e904 Pass $leavename to filters in get_permalink. Fixes #7421.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 19:52:44 +00:00
ryan 713c82dfd2 Allow dots in theme dirs when previewing. fixes #7482 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 17:03:00 +00:00
ryan c2e5bd7c3b Use get_edit_post_link() instead of hardcoding edit links. Props mdawaffe. fixes #7425
git-svn-id: http://svn.automattic.com/wordpress/trunk@8484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 05:22:58 +00:00
ryan a6ab2ece1d Store current user rather than original post author when saving revisions. Props mdawaffe. fixes #7317 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-28 23:58:24 +00:00
ryan 7339da643f Pass context to get_edit_post_link filter. Props mdawaffe. fixes #7424 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-28 23:39:15 +00:00
azaozz e30000d174 Press This: using trailing slash after $_SERVER['PHP_SELF'] breaks the image tab on some servers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-28 23:07:47 +00:00