Commit Graph

15976 Commits

Author SHA1 Message Date
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
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
5b090267f0 Back to Authors and Users should say Back to Users. Props SergeyBiryukov. fixes #16054
git-svn-id: https://develop.svn.wordpress.org/trunk@17657 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 21:53:15 +00:00
Ryan Boren
06bb9f1a17 Introduce get_screen_icon(). Props aaroncampbell. fixes #15377
git-svn-id: https://develop.svn.wordpress.org/trunk@17656 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 21:51:54 +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
dd74688d62 Switch some strings to single rather than double quotes in wp-load.php. Fixes #17160 props niallkennedy.
git-svn-id: https://develop.svn.wordpress.org/trunk@17645 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 07:11:05 +00:00
Peter Westwood
d5a9e71df0 Use static strings and respect coding standards in wp-activate.php. Fixes #17158 props niallkennedy.
git-svn-id: https://develop.svn.wordpress.org/trunk@17644 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-17 21:31:38 +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
ac0c1a2a77 Clarify the return value of get_page_templates(). props kovshenin.
git-svn-id: https://develop.svn.wordpress.org/trunk@17633 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-13 11:50:27 +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
Ryan Boren
412d55a08a E_RECOVERABLE_ERROR is always available in PHP 5.2+. Remove back compat code. Props hakre. see #16920
git-svn-id: https://develop.svn.wordpress.org/trunk@17629 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-11 18:51:52 +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
587abe5d6b Restore compat.php includes. see #16918
git-svn-id: https://develop.svn.wordpress.org/trunk@17622 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 15:47:04 +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
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
Andrew Nacin
6aabec9e3c Remove type attribute from textarea. props solarissmoke.
git-svn-id: https://develop.svn.wordpress.org/trunk@17615 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 08:30:08 +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