Andrew Nacin
|
f9a44bc328
|
Revert [17596] for now. props kawauso, see #17057, see #17050.
git-svn-id: https://develop.svn.wordpress.org/trunk@17608 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-05 23:17:10 +00:00 |
|
Ryan Boren
|
81d1fdcb3d
|
Set is_* flags for AND taxonomy queries. fixes #17054 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17606 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-05 18:48:53 +00:00 |
|
Ryan Boren
|
d470b22d59
|
Remove PHP4 constructors. Props hakre. see #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17604 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-05 17:25:08 +00:00 |
|
Ryan Boren
|
9691cb5eb2
|
Take out unnecessary compat functions from compat.php. Props hakre, ptahdunbar. see #16918
git-svn-id: https://develop.svn.wordpress.org/trunk@17603 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-05 17:13:04 +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 |
|
Andrew Ozz
|
44a5c913d8
|
Fix display of apostrophes in the user's first and last names on the User Profile page, partial props andrewryno, see #17004
git-svn-id: https://develop.svn.wordpress.org/trunk@17587 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-01 20:40:16 +00:00 |
|
Ryan Boren
|
5d9e489b0c
|
esc_url_raw() when doing urlencode()
git-svn-id: https://develop.svn.wordpress.org/trunk@17584 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-01 19:35:38 +00:00 |
|
Ryan Boren
|
cb873824ee
|
s/esc_url_raw/esc_url/. Props duck_.
git-svn-id: https://develop.svn.wordpress.org/trunk@17582 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-01 19:29:06 +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 |
|
Andrew Nacin
|
f9eb15c0ce
|
Remove cryptic bitwise check. Todo, CPT/supports checks. see #17005.
git-svn-id: https://develop.svn.wordpress.org/trunk@17574 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-31 06:33:20 +00:00 |
|
Ryan Boren
|
48a439ac5b
|
Assigning the return value of new by reference is deprecated. Props hakre. see #16767
git-svn-id: https://develop.svn.wordpress.org/trunk@17573 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-30 20:50:05 +00:00 |
|
Ryan Boren
|
4b40ff5454
|
Reduce backtracking in make_clickable() regex. Reduce pcre.recursion_limit to avoid segfaulting. Props hakre. For trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17570 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-28 21:39:16 +00:00 |
|
Ryan Boren
|
642f81dd68
|
Add some nonce checks to the uploaders. Props duck_. For trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17568 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-28 21:30:59 +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 |
|
Andrew Ozz
|
d400b19f92
|
Handle error response in autosave_update_slug(), props nacin, fixes #16975
git-svn-id: https://develop.svn.wordpress.org/trunk@17565 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-27 20:09:09 +00:00 |
|
Andrew Nacin
|
43d4c448bf
|
Initialize a variable. props boonebgorges, fixes #16977.
git-svn-id: https://develop.svn.wordpress.org/trunk@17564 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-27 19:46:18 +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 |
|
Andrew Nacin
|
8df76a48c6
|
Bump readme system requirements. props duck_, see #16917.
git-svn-id: https://develop.svn.wordpress.org/trunk@17562 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-25 21:21:14 +00:00 |
|
Andrew Nacin
|
289a5e5c8f
|
Bump update-core and readme for 3.2.
git-svn-id: https://develop.svn.wordpress.org/trunk@17561 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-25 21:14:46 +00:00 |
|
Andrew Ozz
|
bf42a84fa0
|
Fix position of submenus when showing avatar, props johnjamesjacoby, see #16667 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17558 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-25 20:32:07 +00:00 |
|
Andrew Ozz
|
9c18de1484
|
Fix discrepancy in the nested loop in the Recent Comments dashboard widget, props ocean90, fixes #16846 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17556 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-25 20:12:32 +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 |
|
Andrew Nacin
|
a1822ad76c
|
Change this string to one that already exists. props ericmann, fixes #16806.
git-svn-id: https://develop.svn.wordpress.org/trunk@17554 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-24 16:12:47 +00:00 |
|
Ryan Boren
|
19d8af83d3
|
Parse the meta query again if query vars change. Set a global query_vars_changed flag instead of doing multiple hash creation calls. Props greuben. see #16742 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17552 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-24 16:07:24 +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 |
|
Mark Jaquith
|
3395cc4a62
|
Prevent Notice if the author object is not set.
git-svn-id: https://develop.svn.wordpress.org/trunk@17548 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-23 21:25:35 +00:00 |
|
Ryan Boren
|
04aea0e128
|
Don't die inside db_connect() if connection fails. Let dead_db() handle it. fixes #16640 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17546 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-23 19:57:35 +00:00 |
|
Andrew Nacin
|
fd76a68a2d
|
Bail early in dynamic_sidebar() if there are no sidebars. fixes #14816.
git-svn-id: https://develop.svn.wordpress.org/trunk@17545 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-23 18:59:52 +00:00 |
|
Andrew Nacin
|
5fc7b13692
|
Send an associative array to the display_post_states filter. props greenshady, kawauso, fixes #15421.
git-svn-id: https://develop.svn.wordpress.org/trunk@17544 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-23 18:57:12 +00:00 |
|
Andrew Nacin
|
3697db55bc
|
Don't show two 'Create Menu' buttons on nav-menus.php. fixes #16715.
git-svn-id: https://develop.svn.wordpress.org/trunk@17543 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-23 18:47:45 +00:00 |
|
Andrew Nacin
|
20b7808094
|
Document that the size parameter in image_downsize() can also be an array. props scribu, fixes #16263.
git-svn-id: https://develop.svn.wordpress.org/trunk@17542 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-23 18:46:38 +00:00 |
|
Andrew Nacin
|
04f55d16ff
|
Reference proper function equivalents in deprecated.php. props pross, fixes #15253.
git-svn-id: https://develop.svn.wordpress.org/trunk@17541 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-23 18:44:07 +00:00 |
|
Andrew Nacin
|
4876de9bed
|
Fix copypasta typo in docblock. props scribu, fixes #16384.
git-svn-id: https://develop.svn.wordpress.org/trunk@17540 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-23 18:42:59 +00:00 |
|