Commit Graph

16115 Commits

Author SHA1 Message Date
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
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