Dion Hulse
cc0d6fdf67
Fix typo in languages directory creation for new installations. Props SergeyBiryukov. Fixes #18741 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18765 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 04:18:44 +00:00
Dion Hulse
6147f81b33
Don't trigger Database Upgrades for POST requests with a body. Fixes #18712
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18731 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 04:17:55 +00:00
Dion Hulse
d07aeb8b07
Add inflation support for java.util.zip.Deflater in WP_Http_Encoding::compatible_gzinflate(). Fixes #18273
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18718 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 14:43:43 +00:00
Dion Hulse
670784bcc3
Add documentation for floats (%f) to wpdb::prepare() and friends. Props dllh. Fixes #18407
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18714 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 05:15:44 +00:00
Dion Hulse
ad6fac44d4
Allow Apostrophes in Post Passwords. $_POST and $_COOKIE are always slashed. Fixes #17145
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18712 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 04:17:26 +00:00
Dion Hulse
56c20818e5
Fix wp_list_filter() OR operator. Props kevinB. Fixes #18092
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18711 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 03:59:52 +00:00
Dion Hulse
1bc9770151
Use http_build_query in the Core Update check to encode version numbers. Props kurtpayne. Fixes #18051
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18697 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 09:14:27 +00:00
Dion Hulse
cb62838943
Mark the install page as rtl for styling purposes. Props SergeyBiryukov. See #18314 and #18180
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18622 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-30 03:55:40 +00:00
Dion Hulse
39458e741e
First slice of rejecting invalid Plugin and Theme zip uploads (Incompatible file structure, not containing a Plugin/Theme, etc). See #14999
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18618 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-28 15:02:48 +00:00
Dion Hulse
06338d1653
Store Plugin/Theme uploads in the Media Library properly. Add Scheduled cleanup +2hrs to clean up any aborted installation attempts. See #18182
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18617 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-28 08:42:07 +00:00
Dion Hulse
4f8bd53070
Only clean up the uploaded files after a successful (or failed) install. Allows files to persist past the FTP credential screen. See #18182
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18616 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-28 05:51:38 +00:00
Dion Hulse
9c571521a3
Clean up Plugin/Theme uploads after successfully installing them. Restores pre-3.2 behaviour. See #18182
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18614 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-28 03:51:35 +00:00
Dion Hulse
c370cd58f1
Display 'Edit Media' instead of 'Edit Post' for Attachments/Media in the admin bar. Props johnbillion. Fixes #18529
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18613 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-28 03:39:06 +00:00
Dion Hulse
ddfa97ee0a
Don't check 'Custom Structure' Permalink radio option for the default permastruct. Fixes #18507
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18590 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 07:48:13 +00:00
Dion Hulse
8fc9270239
Clarify %d is an integer in wpdb documentation. See #18407
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18573 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 15:01:35 +00:00
Dion Hulse
54b87b6531
Load all Parent theme stylesheets before Child theme stylesheets in the TinyMCE Editor. props SergeyBiryukov. Fixes #18457
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18572 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 14:56:34 +00:00
Dion Hulse
67704f12f2
Only include extra TinyMCE stylesheets once. props SergeyBiryukov. Fixes #18456
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18571 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 14:47:45 +00:00
Dion Hulse
395a623c52
Harden up is_user_logged_in() against empty $current_user instances to prevent PHP Notices on XML-RPC requests. Fixes #18458
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18558 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-17 08:51:36 +00:00
Dion Hulse
4429d66a15
Cast $themes to an array to avoid a PHP Warning when there are no themes currently installed. Fixes #18213
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18462 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 10:57:34 +00:00
Dion Hulse
100f17c96d
Correct the background colour for the stars. Props ocean90 & helenyhou. Fixes #17887
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18362 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 06:47:34 +00:00
Dion Hulse
e1af5b5cb2
Twenty Eleven trumps it's pretenders. Fixes #17841
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18322 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-20 03:07:24 +00:00
Dion Hulse
2ed7ccf052
Add new star.gif replacement with a Grey background (& White counterpart). Props chexee for star icons. Fixes #17428
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18318 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-17 05:41:35 +00:00
Dion Hulse
fee8819790
Consistently wrap the "Pages:" text in <span> tags, Combine the 2 identical translations for the Pages text (one with, and one without, span tags). See #17744
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18312 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-14 15:14:24 +00:00
Dion Hulse
aa8edae1a1
Bump the CSS versions for RTL changes. See #17790 #17791 #17796 & #17799
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18311 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-14 14:00:57 +00:00
Dion Hulse
696c091d9a
Fix positioning of TinyMCE Resize handler for RTL. Props yoavf. Fixes #17796
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18310 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-14 13:55:04 +00:00
Dion Hulse
31b16ec043
Flip the Gallery header sort buttons to the left for RTL. Props yoavf. Fixes #17790
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18309 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-14 13:40:38 +00:00
Dion Hulse
5c644c6b77
Fix the Margins in the Tag metabox for RTL. Props yoavf. Fixes #17799
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18308 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-14 13:31:35 +00:00
Dion Hulse
b941320959
Fix Gallery re-ordering draggable handle area in RTL. Props yoavf. Fixes #17791
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18307 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-14 12:39:11 +00:00
Dion Hulse
577f585169
Only hide the browser uploader by default if the Flash uploader is enabled. Fixes #17772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18290 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 12:47:18 +00:00
Dion Hulse
9834c93ce3
Add Opera variants of linear-gradient & transition alongside moz and webkit variants. Se #17748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18286 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 03:34:15 +00:00
Dion Hulse
a795c0f277
Highlight the current menu item and ancestors, not current menu item and children. See #17748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18285 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 03:18:17 +00:00
Dion Hulse
ea61020466
Remove the few post_type == post checks on Post Format templates, Post formats only apply to posts. See #17748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18274 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 07:14:59 +00:00
Dion Hulse
36ca3bf3ab
Twenty Eleven Functions.php comments cleanup, merge the 2 body class functions. Props jorbin. See #17748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18272 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 06:30:59 +00:00
Dion Hulse
165ded49f7
Remove Comments/Trackbacks are closed text from image.php template, rely upon the comments closed text within comments.php. Remove duplicated Edit link. See #17748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18270 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 05:15:50 +00:00
Dion Hulse
c41dfd9a90
Showcase template cleanup. See #17748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18269 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 05:07:18 +00:00
Dion Hulse
b7798052e9
Remove debug comments & more housecleaning. See #17748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18266 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 03:44:42 +00:00
Dion Hulse
1b36a05e18
Restore the md5 in the Dash widget cache key, prevents issues with long widget ids. Props nacin. Fixes #16927
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18265 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 03:33:17 +00:00
Dion Hulse
4963d5f945
Key the Dashboard widget cache off the Widget ID & clear cache upon options changing. Props ocean90. Fixes #16927
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18264 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 03:16:42 +00:00
Dion Hulse
b1cfb86661
* Don't clear link colour when switching layouts
...
* Update "default colour" link when a custom colour has been selected
Fixes #17746
git-svn-id: https://develop.svn.wordpress.org/trunk@18229 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 13:41:51 +00:00
Dion Hulse
9cb7da13d2
Cache the Dashboard RSS Widgets HTML output to reduce the memory footprint of including SimplePie. Fixes #16927
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18228 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 06:31:39 +00:00
Dion Hulse
2db8673288
Remove the psd's from Twenty Eleven. See #17641
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18212 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-09 11:14:06 +00:00
Dion Hulse
c70ed39223
More specific Tazonomy canonicalisation; Allows custom vars through, strips all per-taxonomy query vars. See #17174
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18079 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-31 06:13:27 +00:00
Dion Hulse
1b0694c1b5
Correct the logic for Taxonomy edit page actions. Props michaeltyson for initial patch. Fixes #17617
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18078 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-31 05:05:42 +00:00
Dion Hulse
017298a40f
svn:eol-stle:native (CRLF for licenses) for new files
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17933 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-15 08:54:32 +00:00
Dion Hulse
0822d55016
* Allow Pagination for Must-Use/Dropin plugins
...
* Respect WP_CONTENT_DIR & WPMU_PLUGIN_DIR for help text
* Move help text into WP_Plugins_List_Table
See #17327
git-svn-id: https://develop.svn.wordpress.org/trunk@17806 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-05 05:24:15 +00:00
Dion Hulse
8f40a55767
Support Edit link on the Admin Bar for Attachments. Fixes #17273
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17778 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-30 02:22:58 +00:00
Dion Hulse
4259cd6a27
Properly handle querying for meta by value without a key as well as those with invalid parameters. Props scribu. See #17264
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17746 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 15:02:16 +00:00
Dion Hulse
d16db9ae27
Include TwentyEleven in the 3.2 upgrade process. Props markmcwilliams. See #14484
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17736 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 09:08:39 +00:00
Dion Hulse
81abe55c11
Allow Taxonomies to be queried by $_GET parameters on non-taxonomy url's. See #17174
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17706 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 10:49:00 +00:00
Dion Hulse
48ac6604b0
Handle zip error's in PclZip better. PclZip::extract() returns an array on success, 0 on failure. Fixes #17224
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17693 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-23 14:30:44 +00:00
Dion Hulse
0722876118
Allow the cURL transport to handle '0' response bodies. Fixes #17223
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17692 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-23 13:49:52 +00:00
Dion Hulse
912ede4176
Ensure all theme searching is done case-insensitive. Props solarissmoke for initial path. Fixes #17059
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17691 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-23 13:01:52 +00:00
Dion Hulse
5292937f16
Allow WP_Query 'post_status' parameter to accept an array, as well as a singular value and comma separated list. Fixes #16824
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17689 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-23 10:36:22 +00:00
Dion Hulse
649a1fad73
Prevent $taxonony->object_type containing duplicate values. Initial patch props kevinB. Fixes #16951
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17688 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-23 09:27:37 +00:00
Dion Hulse
7314d2ff87
Do not delete local package files in WP_Upgrader. Props joelhardi. Fixes #14963
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17660 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-19 05:54:01 +00:00
Dion Hulse
cff5b0ac2a
Remove support for the PHP HTTP Extension from WP_HTTP. The PHP HTTP Extension is a wrapper around libcurl and fopen() providing limited configuration and is supported on a minority of servers due to its non-default inclusion. Props sivel. Fixes @16978
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17659 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-19 04:22:59 +00:00
Dion Hulse
281bc984ab
Ensure that the Update API's are always using a non-modified $wp_version. Props nacin. Fixes #14384
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17619 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 10:04:45 +00:00
Dion Hulse
5f476a9f03
Prevent update API requests on every load of themes.php when no updates are available. Fixes #16362
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17618 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 09:56:20 +00:00
Dion Hulse
e849d6437d
Move closedir() to better locations to prevent the need for error suppression, prevents suppressed Warnings/Notices to be thrown during Plugin Installation. Fixes #16547
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17617 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 09:07:56 +00:00
Dion Hulse
2b6b333f6b
Verify certificate matches both the common name and the provided hostname. WP_HTTP_Curl requires CURLOPT_SSL_VERIFYHOST be either 2 or false. Props sivel. Fixes #16904
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17616 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 08:38:36 +00:00
Dion Hulse
6549a0aa0e
Revert [17608] adding back [17596] and actually include the dummy function this time. See #17057 Fixes #17050
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17609 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-06 00:42:07 +00:00
Dion Hulse
6a7acd8252
explode always returns an array in this context. Props hakre. Fixes #16958
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17600 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-05 06:41:51 +00:00
Dion Hulse
7b08c38074
Fix warning in HTTP Header parsing where response message is not specified. Props hakre. Fixes #16885
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17599 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-05 06:21:56 +00:00
Dion Hulse
6fef66fc89
Streamline WP_Http_*::test() methods: Check basic SSL requirements, only allow filters to disable transports, not enable them after ::test() has failed. Props mdawaffe for the initial patch. See #16606
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17598 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-05 06:09:43 +00:00
Dion Hulse
14d2e5d358
Return 4xx errors as a standard response from WP_HTTP, Brings it in line with the rest of the transports for 4xx error handling. See #17010
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17597 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-05 04:06:40 +00:00
Dion Hulse
bf777d1369
Pass image URL's to thickbox via L10n in script-loader.php. Allows thickbox to be used on any page in the install without defining the image URL variables. Fixes #17050
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17596 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-05 03:58:25 +00:00
Dion Hulse
739e666801
Add missing closing fieldset tag. Props bluntelk. Fixes #17042 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17593 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-04 08:04:41 +00:00
Dion Hulse
d61b17049e
Set the mb_string internal encoding to ISO-8859-1 whilst uncompressing archives using PclZip. Fixes 'PCLZIP_ERR_BAD_FORMAT (-10) : Invalid block size' errors on systems utilising mbstring.func_overload. Fixes #15789
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17592 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-03 12:32:06 +00:00
Dion Hulse
8fafc66e84
Remove debug cruft from [17590]. See #14182
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17591 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-03 11:55:27 +00:00
Dion Hulse
3c3304e25f
When upgrading plugins|themes, if the new destination folder is different from the previous folder, delete the old folder upon upgrade. Fixes #14182
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17590 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-03 11:54:07 +00:00
Dion Hulse
95bafc3a51
Allow plugins to hook into /wp-admin/update-core.php. Props ampt. Fixes #15221
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17589 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-03 09:41:19 +00:00
Dion Hulse
a41a62b0c3
Hide update bubble counts for users who can't perform the update. Props garyc40 for initial patch. Fixes #14447
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17588 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-03 08:59:01 +00:00
Dion Hulse
0483fd3e64
@ignore for _copy_dir(). Props duck_. See #14484
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17581 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 10:40:55 +00:00
Dion Hulse
b688575c19
Back-compat for core upgrades with pre-3.2. Utilises a temporary _copy_dir() function which can be removed in 3.3-dev to bring immediate wp-content relief to the 3.1-3.2 upgrades. See #14484
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17580 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 09:50:01 +00:00
Dion Hulse
abb6e01681
Add an extra FTP_LANG_DIR override constant to short-circuit WP_Filesystem_Base::find_folder(WP_LANG_DIR);. See #11495
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17579 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 09:17:27 +00:00
Dion Hulse
64686e2515
Back-compat for upgrades with WP_LANG_DIR. See #11495
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17578 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 09:13:50 +00:00
Dion Hulse
69e93e978a
Typo in r17576, Twentyten isn't new to 3.2. See #14484 See #11495
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17577 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-31 13:32:58 +00:00
Dion Hulse
20603ca19c
Be a party-pooper; No more Akismet Dancing upon upgrade; Respect custom WP_CONTENT_DIR for bundled plugins/theme installation; Respect custom WP_CONTENT_DIR/WP_LANG_DIR for Language files when upgrading; Standardise WP_Filesystem path method returns (They're trailing slash'd). Adds an exclusion list to copy_dir() as well as WP_Filesystem_Base::wp_lang_dir(). See #14484 See #11495
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17576 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-31 13:28:36 +00:00
Dion Hulse
746173b4b8
Default WP_LANG_DIR to WP_CONTENT_DIR/languages when wp-includes/languages/ doesn't exist. Fixes #17006
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17575 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-31 08:11:30 +00:00
Dion Hulse
6901f20e9b
Use the correct variable name; Simpler static initialisation. Props hakre. See #11613 & #16978
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17566 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-28 09:55:15 +00:00
Dion Hulse
fbb5ad3afc
Correct logic for cURL Errors, add extra sanity protection in ::processHeaders to guard against null inputs. See #16236
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17563 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-26 03:32:05 +00:00
Dion Hulse
ec8280cfd8
First run of introducing Stream-To-File for the WP_HTTP API. Reduces memory consumption during file downloads. Implemented in download_url() for upgraders. Props sivel. See #16236
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17555 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-25 02:42:20 +00:00
Dion Hulse
3591957d49
Allow for array('redirection' => 0) to bypass WP_Error on redirects being encountered; Allows HEAD requests WITH 'redirection' > 0 specified at call time to follow redirections; Standardises on return values from all transports to act the same based on the Unit Tests. Fixes #16855
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17551 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-24 05:18:34 +00:00
Dion Hulse
048fcd1cce
Fix WP_HTTP to only make a request upon a working transport, as well as to allow Unit Testing. Removes the getTransport() & postTransport() methods as they're no longer needed, replaces them with a single _dispatch_request() method. Fixes #11613
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17550 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-24 02:16:13 +00:00
Dion Hulse
615e0c5bc7
Prune PHP5 compat checks in WP_Http, WP_Http_Curl & WP_Http_Streams. Only removes pre PHP 5.2.4 conditional code. See #13915
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17535 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 11:58:09 +00:00
Dion Hulse
1a22b56c53
Remove PHP4 based WP_Http_Fopen class. Props sivel for initial patch. See #16917 Fixes #13915
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17534 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 11:35:41 +00:00
Dion Hulse
1359ecd06b
Optimisations to WP_Filesystem; Pass known information to called functions. Props aldenta (John Ford) for investigation and patch. See #10913
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17525 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-22 00:04:15 +00:00
Dion Hulse
b8e50af2d7
Set taxonomy/term back-compat query vars for all views (not just taxonomy indexes). Fixes #15978
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17147 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 23:26:09 +00:00
Dion Hulse
17c58ec609
Revert debug cruft from r17052. See #15885
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17053 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 04:58:09 +00:00
Dion Hulse
e2024b81fc
Fix Pings/Trackback comment table filter. Props greuben. Fixes #15885
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17052 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 04:55:46 +00:00
Dion Hulse
01a2da49e1
Restore pre-3.1 "Status:" header handling for IIS in wp_redirect. Revist in 3.2 to see if it's still required. Fixes #10187
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16907 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 10:15:31 +00:00
Dion Hulse
d1b78e5309
Other piece of r16904. Limit variable string searching when possible. See #10187
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16905 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 08:35:48 +00:00
Dion Hulse
c6f239ae68
Fix fatal error on IIS after r16797. props peaceablewhale. Limit variable string searching when possible. See #10187
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16904 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 08:31:33 +00:00
Dion Hulse
3fcf08fe17
Add missing global for r16881 See #15781
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16882 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 06:40:52 +00:00
Dion Hulse
81e923a291
Include Javascript Global variables in iframe_header(); Add extra style/script actions which are missing from iframe_header() to bring it inline with admin-header.php. Fixes #15781
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16881 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 05:43:35 +00:00
Dion Hulse
d2842aac53
Include a blank email to prevent a PHP notice when pingbacks are being added, causes XML-RPC responses to be malformed with WP_DEBUG.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16873 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 07:17:50 +00:00
Dion Hulse
416efb62b4
Check to see if WP_Query has returned any posts before blindly accessing posts. Fixes #15771
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16872 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 06:35:47 +00:00
Dion Hulse
4c11a459f9
Coding Standards clean-up, Variable typo fix ($errstr), Svn property correction. See #10588
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16871 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 05:51:49 +00:00
Dion Hulse
5c50656b6a
Enable canonical redirections for Permalink suporting IIS. Props peaceablewhale See #10187
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16797 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 11:04:40 +00:00
Dion Hulse
d81779a74d
Remove visit site button gradient images from pre-3.0. see [16417]. see #15207 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16796 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 10:01:18 +00:00