Commit Graph

5492 Commits

Author SHA1 Message Date
azaozz 77706e5c74 Too many question marks, see #11315
git-svn-id: http://svn.automattic.com/wordpress/trunk@12559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-28 00:56:41 +00:00
azaozz 7b40c7a03f WP_Dependencies: pass NULL to disable script and style version query strings, props scribu amattie, fixes #11315
git-svn-id: http://svn.automattic.com/wordpress/trunk@12558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-28 00:48:20 +00:00
azaozz 16e175cc0f Update Prototype.js to 1.6.1 and remove the second copy of it from wp-includes/js/scriptaculous, update Scriptaculous.js to 1.8.3, props Simek, fixes #11041
git-svn-id: http://svn.automattic.com/wordpress/trunk@12557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 22:30:58 +00:00
azaozz ee22fa0603 Don't close thickbox when clicking outside the iframe while uploading, fixes #6883
git-svn-id: http://svn.automattic.com/wordpress/trunk@12554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 21:03:54 +00:00
azaozz 1ddbdf2a2e Move wp-admin.css and rtl.css to the wp-admin/css directory, rename rtl.css to wp-admin-rtl.css to follow naming standard, fixes #10985
git-svn-id: http://svn.automattic.com/wordpress/trunk@12553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 20:06:57 +00:00
azaozz e88cf62434 CSS whitespace and color definitions cleanup, props Simek, fixes #11561
git-svn-id: http://svn.automattic.com/wordpress/trunk@12552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 18:17:06 +00:00
westi 33dc129208 Fix notices in get_the_title() when passed an invalid id. Also ensure that the filter gets the invalid id so a plugin can supply a default title instead. Fixes #11435 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 08:57:33 +00:00
westi 17c7533b72 Swap out ;; for ;. Fixes #11618 props demetris and nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 16:53:17 +00:00
westi eb8c1d336e Update wp_clear_scheduled_hook calls to use array when passing args. Fixes #11590 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 11:24:32 +00:00
westi 47a7b1b003 Fix typo in _deprecated_argument() and start using _deprecated_argument() in wp-includes files. See #11386 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 11:12:04 +00:00
westi fc38ae1d5b Add new function _deprecated_argument() to be used for marking arguments as deprecated so that with WP_DEBUG enabled developers can see they need to review and update their code. See #11386 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 11:06:00 +00:00
westi 16a007687f More phpdoc fixes. Depreceated version numbers for _deprecated_file() calls in wp-includes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 10:53:34 +00:00
westi 2c2a0cc10c Fix phpDoc for _deprecated_file(). Always pass the full path from ABSPATH to _deprecated_file().
git-svn-id: http://svn.automattic.com/wordpress/trunk@12534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 10:48:32 +00:00
markjaquith 81552ba995 Make sure the post global is actually an object before we treat it like one.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 09:30:12 +00:00
westi 8a80bffbae phpDoc updates for functions.wp-styles.php. Merge from BackPress props CharlesClarkson.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 08:21:16 +00:00
westi 9ffd65beb7 Round the corners of the Update nag message. Fixes #10431 props Simek.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 08:08:13 +00:00
ryan 39febf48a3 windows-1252 is canonical, not Windows-1252. Props Denis-de-Bernardy. fixes #11219
git-svn-id: http://svn.automattic.com/wordpress/trunk@12528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 02:20:05 +00:00
ryan 2ecdf4550f Set the version of WP a function was deprecated in for all deprecated functions. Props nacin, docwhat. fixes #7493
git-svn-id: http://svn.automattic.com/wordpress/trunk@12526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:54:17 +00:00
ryan 059d7225fb Refresh deprecated bookmark functions. Props filosofo. fixes #10920
git-svn-id: http://svn.automattic.com/wordpress/trunk@12525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:49:22 +00:00
ryan 9b6bd6bf87 Retunr WP_Error from wp_crop_image() and image_resize(). Props mdwaffe. fixes #9922
git-svn-id: http://svn.automattic.com/wordpress/trunk@12524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:39:31 +00:00
ryan 810bf31f83 Check required php and mysql versions in the update response and notify if the server environment does not meet those requirements. fixes #11562
git-svn-id: http://svn.automattic.com/wordpress/trunk@12523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:35:12 +00:00
ryan 1f36d7eeb9 Upgrade SWFobject JS to 2.2. Props niallkennedy. fixes #11109
git-svn-id: http://svn.automattic.com/wordpress/trunk@12522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 16:44:46 +00:00
ryan 8c799f9ad1 Update phpass to 0.2. Props hakre. fixes #10727
git-svn-id: http://svn.automattic.com/wordpress/trunk@12521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 16:31:57 +00:00
westi 05e19b1cde Check that get_page_hierarchy() returns something before trying to build the verbose page rules in WP_Rewrite::page_uri_index(). Fixes #11578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 16:23:40 +00:00
ryan adb37768c6 Add more orderby and select options to get_comments. Props filosofo. fixes #10668
git-svn-id: http://svn.automattic.com/wordpress/trunk@12518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 16:16:13 +00:00
westi f83b446117 Notice fix. Only return variable references by reference.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 16:03:04 +00:00
westi 0aaf0d83af Make the meaning of is_home() more explicit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:44:57 +00:00
ryan cedfa0181b Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@12515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:31:02 +00:00
westi 0b517ae013 Extend the_modified_date() to support before/after/echo. Fixes #11255 props ShaneF.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:22:08 +00:00
ryan 354607036c Remove unneeded quotes around vars. Props johnbillion. fixes #10245
git-svn-id: http://svn.automattic.com/wordpress/trunk@12513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:16:53 +00:00
ryan ca9d676eef Sanitize only string and numeric fields in the user object. Props filosofo hakre. fixes #11509 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:02:06 +00:00
ryan 36d9a3677e Cleanup clean_term_cache(). Props Denis-de-Bernardy. see #11530
git-svn-id: http://svn.automattic.com/wordpress/trunk@12510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 14:37:21 +00:00
ryan e7d9a6913a Add hierarchical taxonomy handling to wp_set_post_terms(). Props prettyboymp. see #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@12509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 14:25:09 +00:00
ryan 95835a693a Do not use deprecated Etc timezones. Props miqrogroove. fixes #11558 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 14:16:36 +00:00
westi a7618f99b1 Merging changes from upstream GlotPress revision [351]. Remove unused local variable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 11:20:18 +00:00
westi b47a03278e Only run a second spaces strip if we replaced some octets. Also only replace spaces and we have already removed the other whitespace chars. Fixes #11573 props azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 11:00:29 +00:00
westi aec63aa377 Improve sanitize_text_field() some more so that we don't leave extra whitespace after stripping octets. Fixes #11573.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 09:52:48 +00:00
westi 7ec819d925 Improve the revision comparison user interface to hilight that we compare "old on left" to "new on right". Includes some js to hide the radio buttons to stop you selecting reverse comparisions.
Fixes #11088 props filosofo.

git-svn-id: http://svn.automattic.com/wordpress/trunk@12500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 09:15:13 +00:00
azaozz 2128c3f4db Fix sanitize_text_field() issue with some UTF-8 characters, fixes #11528 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 09:10:26 +00:00
ryan 819427dd05 Bump wp-admin css ver. see #11502
git-svn-id: http://svn.automattic.com/wordpress/trunk@12496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 17:12:50 +00:00
ryan 137705d20b Update json lib. Use encodeUnsafe in our json wrapper. Props nacin. fixes #11537 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 16:49:35 +00:00
westi bc8237d349 Add is_comment_feed() to expose ->is_comment_feed. Fixes #10827 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 14:04:14 +00:00
westi 41dd7d25b7 Revert [12485] as it breaks the functionality of is_serialized() and make more strings appear serialized. See #9930.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 13:42:58 +00:00
westi 9189856169 Much improved is_serialized() which catches serialized doubles. Fixes #9930 props vladimir_kolesnikov and dd32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 13:10:06 +00:00
westi b0356653a8 Pass the url to the 'wp_feed_cache_transient_lifetime' filter to give more context.
Allow plugins to set extra options on SimplePie using the new 'wp_feed_options' action.
Fixes #11117 props nacin.

git-svn-id: http://svn.automattic.com/wordpress/trunk@12484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 12:48:40 +00:00
westi 736315e0d5 Use new $required_mysql_version global in wp-db.php when checking if the mysql version is new enough. Fixes #11478 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 11:49:22 +00:00
westi acd41194ff Ensure we don't destory the $wp_roles->role_objects property when assigning a second role to a WP_User object. Fixes #9128 props dd32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 11:42:46 +00:00
ryan 07fd78ef79 Make sure we have a SimplePie object before calling destruct. Props scribu. see #11518
git-svn-id: http://svn.automattic.com/wordpress/trunk@12475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-21 23:36:12 +00:00
ryan 5f20b65114 Don't use CURLOPT_CONNECTTIMEOUT_MS or CURLOPT_TIMEOUT_MS due to bugginess. fixes #11505 see #11499
git-svn-id: http://svn.automattic.com/wordpress/trunk@12472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-21 19:34:38 +00:00
westi 95b7e055ce Check that there is a comment_agent to filter and otherwise filter an empty string. Fixes a notice during import from old WXR files. See #11484.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-21 15:35:00 +00:00