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 |
Andrew Nacin
|
711abb67bc
|
Avoid functions.php from ever being treated as a page template. fixes #16689.
git-svn-id: https://develop.svn.wordpress.org/trunk@17539 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-23 18:40:52 +00:00 |
Andrew Nacin
|
21c2c70e25
|
Remove dead globals. props mitchoyoshitaka. fixes #16571.
git-svn-id: https://develop.svn.wordpress.org/trunk@17538 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-23 18:39:16 +00:00 |
Ryan Boren
|
43b0ccccbc
|
Don't die for failed db connects during install. Props westi. fixes #16640 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17536 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-23 17:46:40 +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 |
Ryan Boren
|
a4d818978c
|
Fix display of oversized custom user/site icons in the admin bar. Props jtsternberg, JohnONolan. see #16667 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17532 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-22 20:42:43 +00:00 |
Ryan Boren
|
42e432bd94
|
Avoid var name conflict in _get_meta_sql(). Fixes type var passed to get_meta_sql filter. Props Rahe, nacin. fixes #16825 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17530 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-22 20:35:47 +00:00 |
Ryan Boren
|
8cd811538e
|
Add back compat fields to queried category objects. Props scribu, duck_. fixes #16857 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17528 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-22 20:27:45 +00:00 |
Ryan Boren
|
52cbde8270
|
Return false instead of WP_Error from get_term_by() if the term does not exist. Makes fetching a term by id consistent with slug and name. Props hakre. fixes #16464 #16717 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17526 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-22 20:06:38 +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 |
Andrew Nacin
|
1eba25a104
|
I before E, except after C. props jkudish, fixes #16915.
git-svn-id: https://develop.svn.wordpress.org/trunk@17524 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-21 23:44:30 +00:00 |
Mark Jaquith
|
97587c5374
|
Bump PHP requirement to 5.2.4. Bump MySQL requirement to 5.0. see #16917
git-svn-id: https://develop.svn.wordpress.org/trunk@17523 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-21 18:30:56 +00:00 |
Andrew Ozz
|
80e0029a13
|
Allow JS functions in the TinyMCE init array, fixes #15596
git-svn-id: https://develop.svn.wordpress.org/trunk@17522 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-17 22:01:40 +00:00 |
Andrew Nacin
|
04bc9c01cb
|
Add TinyMCE version number. props SergeyBiryukov, fixes #16674 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17521 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-10 18:47:44 +00:00 |
Mark Jaquith
|
0984bae175
|
Correctly handle PATHINFO CPTs and CTs that specify with_front=false. fixes #16807 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17518 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-10 04:24:48 +00:00 |
Mark Jaquith
|
d79937e6a3
|
Make plugin header parsing slightly more liberal (like it was in 3.0), to allow for PHPdoc style headers. props miqrogroove. fixes #16751 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17516 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-09 05:46:58 +00:00 |
Mark Jaquith
|
f490877ab4
|
Use with_front properly when creating rules for CPT archive pages. props scribu. fixes #16626 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17514 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-09 05:40:52 +00:00 |
Mark Jaquith
|
c15c6f2b23
|
Prevent double index.php preprend on PATHINFO custom taxonomy permalinks. Proper use of with_front. props greuben. fixes #16918. fixes #16622. see #15813. see #12659. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17512 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-09 05:18:45 +00:00 |
Ryan Boren
|
652ac55480
|
Anchor network and user admins at the network domain and path rather than at the main site. Makes the redirects consistent with network_admin_url(). fixes #16652 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17510 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-08 22:56:12 +00:00 |
Ryan Boren
|
65ecd2daaa
|
Don't show admin bar on login screen. Props nacin. fixes #16588 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17508 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-08 22:48:05 +00:00 |
Ryan Boren
|
b08c4772fa
|
Check for WP_Error return from get_term_by(). Props fabifott, kawauso, nacin. fixes #16717 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17506 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-08 22:06:35 +00:00 |