Commit Graph

8119 Commits

Author SHA1 Message Date
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
Andrew Nacin
d71a11687a s/Web Path/Filesystem Path/ in inline documentation. props kawauso, fixes #17205.
git-svn-id: https://develop.svn.wordpress.org/trunk@17745 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 12:47:36 +00:00
Andrew Nacin
28a5ec7c1c Don't load the QuickPress widget via XHR. see #16927. Reverts [16725] as it's no longer needed. Reverts part of [14815], which introduced the behavior, see #10917.
git-svn-id: https://develop.svn.wordpress.org/trunk@17743 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 12:02:24 +00:00
Andrew Nacin
e2c4a1b26e Use the post type object in get_posts_by_author_sql() and add a post type parameter to count_many_users_posts(). The formerly somewhat useless and now totally useless pub_priv_sql_capability filter is considered deprecated. fixes #17220.
git-svn-id: https://develop.svn.wordpress.org/trunk@17742 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 11:27:39 +00:00
Andrew Nacin
a33d4a8dc4 Admin Bar: Add a Themes submenu under Appearance, for consistency. fixes #15931.
git-svn-id: https://develop.svn.wordpress.org/trunk@17741 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 11:17:09 +00:00
Ryan Boren
55ce9f4a7a Add Background and Header to Admin Bar Appearance Menu. fixes #17263
git-svn-id: https://develop.svn.wordpress.org/trunk@17731 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 22:06:01 +00:00
Ryan Boren
a035b3c7e9 kses optimizations. Props duck_. fixes #17045
git-svn-id: https://develop.svn.wordpress.org/trunk@17730 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 21:50:39 +00:00
Ryan Boren
3baeffac80 Translate default link labels for *posts_link(). Props nathanrice, CharlesClarkson. fixes #16998
git-svn-id: https://develop.svn.wordpress.org/trunk@17728 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 21:25:09 +00:00
Andrew Ozz
12ae959b92 jQuery 1.5.2, props JDTrower demetris, fixes #16426
git-svn-id: https://develop.svn.wordpress.org/trunk@17725 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 20:11:06 +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
Andrew Ozz
c70a32734f Don't hide the top bar when the cursor is over it, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17703 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 07:20:56 +00:00
Andrew Ozz
787995a1ab DFW: remove unneeded JS global, fix screen flash in WebKit, props koopersmith, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17702 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 01:19:26 +00:00
Andrew Ozz
3a79a20c25 Fix image insertion in IE, fixes #17237
git-svn-id: https://develop.svn.wordpress.org/trunk@17701 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 22:49:22 +00:00
Ryan Boren
96fe89727e Introduce WP_Meta_Query and relation support. Props scribu, greuben. fixes #17165 #17011
git-svn-id: https://develop.svn.wordpress.org/trunk@17699 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 17:27:35 +00:00
Ryan Boren
c4d025eb56 Typo fix. Props ocean90, guyn. fixes #17234
git-svn-id: https://develop.svn.wordpress.org/trunk@17698 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 14:33:27 +00:00
Andrew Ozz
e74ff4d710 Fix padding in DFW mode, add the new wpfullscreen plugin in wp-tinymce.js.gz, fix notices in press-this see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17697 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 14:27:11 +00:00
Andrew Ozz
0303c82d90 Fix Opera event name and bump TinyMCE version string, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17696 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 01:28:23 +00:00
Andrew Ozz
07a62334de Distraction Free Writing mode, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17695 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 01:01:34 +00:00
Andrew Ozz
d1e074d29c Fix missing comma in TinyMCE advanced theme image.js, props johnjamesjacoby, fixes #17233
git-svn-id: https://develop.svn.wordpress.org/trunk@17694 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-24 23:27:48 +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
Andrew Nacin
66567ad1ab Update wp-tinymce.js.gz and bump. see #16631.
git-svn-id: https://develop.svn.wordpress.org/trunk@17690 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-23 10:44:00 +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
Andrew Ozz
2d59e7feb0 Use wpLink in the HTML editor too, props koopersmith, fixes #16631
git-svn-id: https://develop.svn.wordpress.org/trunk@17687 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-23 02:12:56 +00:00
Ryan Boren
ecfd3d4608 Handle term intersection requests containg inexistent terms. Props scribu. fixes #17194
git-svn-id: https://develop.svn.wordpress.org/trunk@17686 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-22 19:09:48 +00:00
Andrew Nacin
738458cab6 Apply esc_html properly in Walker_PageDropdown. fixes #17217.
git-svn-id: https://develop.svn.wordpress.org/trunk@17683 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-22 18:24:57 +00:00
Ryan Boren
d48d7451c6 Move wp_clone() back to load.php. Props technosailor. fixes #17206
git-svn-id: https://develop.svn.wordpress.org/trunk@17681 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-22 17:46:02 +00:00
Andrew Ozz
9fbd1866bc Fix dependencies for some jQuery UI components, props scribu, fixes #16511
git-svn-id: https://develop.svn.wordpress.org/trunk@17680 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-21 22:29:25 +00:00
Andrew Ozz
f208371815 Update json2.js, props niallkennedy, fixes #16669
git-svn-id: https://develop.svn.wordpress.org/trunk@17679 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-21 22:21:27 +00:00
Ryan Boren
f2f01db006 Update phpass. Props duck_. fixes #16072
git-svn-id: https://develop.svn.wordpress.org/trunk@17678 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-21 20:44:39 +00:00
Ryan Boren
d60e75b7d3 Update pop3 class. Props aaroncampbell. fixes #17064
git-svn-id: https://develop.svn.wordpress.org/trunk@17677 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-21 20:40:32 +00:00
Ryan Boren
ac60019881 Update phpmailer and smtp to 5.1. Props MattyRob cnorris23. fixes #15912
git-svn-id: https://develop.svn.wordpress.org/trunk@17676 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-21 20:29:30 +00:00
Andrew Ozz
c463881e29 Fix decoding of ' in TinyMCE
git-svn-id: https://develop.svn.wordpress.org/trunk@17675 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-21 20:20:56 +00:00
Ryan Boren
d328751ee7 Allow querying empty meta values. Props scribu. fixes #15292
git-svn-id: https://develop.svn.wordpress.org/trunk@17674 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-21 18:13:03 +00:00
Ryan Boren
f888f1cc64 Allow retrieving comments by post type, status, author, author, name, or parent. Fetch only published posts for recent comments widget. Props filosofo. fixes #16506 #12904
git-svn-id: https://develop.svn.wordpress.org/trunk@17667 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-20 18:02:41 +00:00
Joseph Scott
ac31573fab Expose the content width as a read only option via XML-RPC.
Fixes #17131 props koke, nacin


git-svn-id: https://develop.svn.wordpress.org/trunk@17663 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-20 15:26:38 +00:00
Andrew Ozz
4a973d6a61 Press This bookmarklet redesign, props chexee, fixes #17184
git-svn-id: https://develop.svn.wordpress.org/trunk@17662 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-20 07:24:11 +00:00
Andrew Ozz
16fdce1f15 Fix font color in admin bar site list, fixes #17178
git-svn-id: https://develop.svn.wordpress.org/trunk@17661 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-20 06:37:23 +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
Ryan Boren
0f2b53d32d Used passed admin bar object instead of global. Props solarissmoke. fixes #16540
git-svn-id: https://develop.svn.wordpress.org/trunk@17658 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 22:03:34 +00:00
Ryan Boren
e7a943c60c Remove PHP4 constructors. Props scribu. fixes #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17655 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 21:46:57 +00:00
Ryan Boren
4bf74e960d Remove PHP4 constructor. Props ocean90. see #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17654 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 21:45:20 +00:00
Ryan Boren
1ec0ffd7c2 Don't pollute orderby query var. Props scribu. fixes #16844
git-svn-id: https://develop.svn.wordpress.org/trunk@17653 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 21:27:13 +00:00
Ryan Boren
0f3921f771 More efficient term intersection query. Props tigertech. see #16706
git-svn-id: https://develop.svn.wordpress.org/trunk@17652 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 20:38:59 +00:00
Joseph Scott
19eed5a750 Allow Pages to have a status of pending.
Fixes #17000 props mrroundhill, nprasath002


git-svn-id: https://develop.svn.wordpress.org/trunk@17651 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 17:30:58 +00:00
Joseph Scott
0d9e3e95b9 Add support to wp.getPostFormats to provide a list of the currently supported post formats in addition to the complete list.
Fixes #17094 


git-svn-id: https://develop.svn.wordpress.org/trunk@17650 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 17:27:29 +00:00
Joseph Scott
a44ccc5b13 Include the post status in the response for mt.getRecentPostTitles calls
Fixes #17091 props daniloercoli


git-svn-id: https://develop.svn.wordpress.org/trunk@17649 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 17:16:46 +00:00
Joseph Scott
b0d19f6b30 Don't reset the post slug on XML-RPC calls.
Fixes #12947 props cfinke, nprasath002


git-svn-id: https://develop.svn.wordpress.org/trunk@17648 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 16:32:26 +00:00
Peter Westwood
ca4062c861 More better phpdoc for XMLRPC functions. See #15238 props koke.
git-svn-id: https://develop.svn.wordpress.org/trunk@17647 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 07:26:42 +00:00
Peter Westwood
c059cda337 The beginings of better phpdoc for XMLRPC functions. See #15238 props koke.
git-svn-id: https://develop.svn.wordpress.org/trunk@17646 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 07:23:47 +00:00
Peter Westwood
321ab74010 Introduce a special wp_die handler for XMLRPC requests to ensure we send an XML response.
Props koke for the original patch. See #16748.

git-svn-id: https://develop.svn.wordpress.org/trunk@17643 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-17 08:35:51 +00:00
Peter Westwood
462cb55ef4 Don't do SSL discovery for every RSD request. APP endpoint already respects the SSLness of the site. Fixes #15960.
git-svn-id: https://develop.svn.wordpress.org/trunk@17642 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-17 07:48:34 +00:00
Peter Westwood
6b0bf6cd72 Allow custom author elements such as email. Fixes #17149 props niallkennedy.
git-svn-id: https://develop.svn.wordpress.org/trunk@17641 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-17 07:39:41 +00:00
Andrew Ozz
6d0f618fd9 Fix two rare regressions: alert when the login has expires and when post is edited by another user, fixes #16928
git-svn-id: https://develop.svn.wordpress.org/trunk@17640 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-16 02:37:44 +00:00
Andrew Ozz
157571de2a Remove redundant IE restore selection calls for TinyMCE, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17639 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-15 04:20:12 +00:00
Ryan Boren
61e17b180f Avoid array push/pops for empty filters and actions. fixes #17110
git-svn-id: https://develop.svn.wordpress.org/trunk@17638 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-14 18:05:30 +00:00
Ryan Boren
95d1619373 Remove PHP4 timezone support. Props hakre. fixes #16970
git-svn-id: https://develop.svn.wordpress.org/trunk@17637 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-13 17:30:02 +00:00
Ryan Boren
0e80d3e440 Performance improvements for wptexturize(). Props solarissmoke, hakre. fixes #16684
git-svn-id: https://develop.svn.wordpress.org/trunk@17636 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-13 17:11:35 +00:00
Ryan Boren
cf2f1ad547 Use proper prefix in query. Fixes user queries ordered by post count. Props ziofix, ericmann. fixes #17123 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17634 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-13 17:02:08 +00:00
Andrew Nacin
3d84216d69 Remove more E_RECOVERABLE_ERROR checks. props duck_, see #16920.
git-svn-id: https://develop.svn.wordpress.org/trunk@17632 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-12 09:21:13 +00:00
Ryan Boren
e70b2d4412 Remove PHP4 constructor. Props Jayjdk. see #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17631 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-11 18:57:34 +00:00
Ryan Boren
2d5559bb8f Use stripos() instead of strpos( strtolower() ). Props hakre. see #16920
git-svn-id: https://develop.svn.wordpress.org/trunk@17630 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-11 18:55:11 +00:00
Andrew Ozz
26c5007b52 Fix EOL for newly added files
git-svn-id: https://develop.svn.wordpress.org/trunk@17628 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-11 18:23:51 +00:00
Andrew Ozz
a85c48a8f0 Not 12, 13px, see #17107
git-svn-id: https://develop.svn.wordpress.org/trunk@17627 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-11 08:01:34 +00:00
Andrew Ozz
ed73beade5 Stop themes and plugins from overriding the admin bar CSS, props johnjamesjacoby, fixes #17107
git-svn-id: https://develop.svn.wordpress.org/trunk@17626 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-11 07:51:53 +00:00
Andrew Ozz
4c572d1f03 Update TinyMCE to 3.4.2, includes native <iframe>, <audio>, <video> support and stops removing HTML 5.0 tags, fixes #17086
git-svn-id: https://develop.svn.wordpress.org/trunk@17625 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-10 18:36:05 +00:00
Andrew Ozz
69fe5f9755 Remove width: 99.5% from metaboxes, props andrewryno, fixes #17084
git-svn-id: https://develop.svn.wordpress.org/trunk@17624 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-08 20:35:51 +00:00
Andrew Ozz
53d3dae91f Don't refresh the admin menu after page load, apply the user-state from PHP, fix behaviour after folding the menu, props nacin, props nuxwin, fixes #10646, fixes #17058
git-svn-id: https://develop.svn.wordpress.org/trunk@17623 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 18:45:22 +00:00
Mark Jaquith
cce6b87946 Add mb_substr() back to compat.php (it is non-default). see #16918. props joostdevalk
git-svn-id: https://develop.svn.wordpress.org/trunk@17621 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 15:46:57 +00:00
Mark Jaquith
f5078e5c93 Add _() back to compat.php (it is non-default). see #16918. props aaroncampbell
git-svn-id: https://develop.svn.wordpress.org/trunk@17620 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 15:46:48 +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
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
Andrew Nacin
e376455b17 Make underscores valid in sanitize_html_class. fixes #17067.
git-svn-id: https://develop.svn.wordpress.org/trunk@17614 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-06 21:28:52 +00:00
Ryan Boren
259c415b7b Deprecate wp_clone(). Call clone directly. Props hakre. fixes #16813
git-svn-id: https://develop.svn.wordpress.org/trunk@17613 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-06 17:44:29 +00:00
Ryan Boren
71eeebc9bc Remove setcookie() back compat. Props hakre. see#16920
git-svn-id: https://develop.svn.wordpress.org/trunk@17612 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-06 17:07:59 +00:00
Ryan Boren
1e9c26c3ab There is not a NOT operator. Props scribu. fixes #17054 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17610 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-06 16:08:23 +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
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
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
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
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
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
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 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
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