Commit Graph

5644 Commits

Author SHA1 Message Date
azaozz
c34d5345a1 Fix alignment of checkbox in table.widefat, fixes #11610
git-svn-id: http://svn.automattic.com/wordpress/trunk@12567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-29 13:16:16 +00:00
ryan
300360655f Use umeta_id for user meta. Props wnorris. fixes #11627 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-28 16:42:31 +00:00
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
westi
c77de6f941 Add stricter checks to wp_insert_user() to ensure we don't create a user with an empty user_login but return a WP_Error instead. Fixes #11548.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-21 15:25:00 +00:00
ryan
7b00fcb9f6 Improve do_action performance. Make an associative array. Props koopersmith. fixes #10561
git-svn-id: http://svn.automattic.com/wordpress/trunk@12464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-21 08:47:34 +00:00
azaozz
9fa732df33 Round back the buttons, see #11502
git-svn-id: http://svn.automattic.com/wordpress/trunk@12463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-20 05:32:52 +00:00
westi
53dfdc063b Fix wp_clear_scheduled_hook() so that it function prototype matches the other cron functions.
Include backwards compatibility code so that plugins that used the old way still work.
Fixes #10468.

git-svn-id: http://svn.automattic.com/wordpress/trunk@12462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 11:47:16 +00:00
westi
7d31610f6f Improve like_escape to also escape '\'. Fixes #10041 props miau_jp and Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 11:07:16 +00:00
westi
10a6d0e916 Deprecate _nc() as _nx() is a much better was of specifying contexts. Fixes #11404 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 10:51:29 +00:00
westi
16d60d90a9 Fix notice in get_boundary_post_rel_link when there is no post to link. Fixes #11490 props ShaneF.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 09:21:00 +00:00
ryan
4bb7072c51 3.0-alpha
git-svn-id: http://svn.automattic.com/wordpress/trunk@12456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 00:14:46 +00:00
azaozz
24e46cc36b Fix checkbox and radio styles in IE7/8 and Opera
git-svn-id: http://svn.automattic.com/wordpress/trunk@12448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-18 13:05:10 +00:00
ryan
98d62f55bb Make sure dir() returned a dir object.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 19:56:05 +00:00
ryan
40035bf93e Add required php and mysql versions to version.php. Future proof required version check strings. Props nacin. see #11464
git-svn-id: http://svn.automattic.com/wordpress/trunk@12432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 18:46:19 +00:00
ryan
6daee9e140 Delete all comment meta when deleting a comment. Props nacin. fixes #11463
git-svn-id: http://svn.automattic.com/wordpress/trunk@12430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 17:54:23 +00:00
ryan
cdfda5dd2c Delete all comment meta when deleting a comment. Props nacin. fixes #11463
git-svn-id: http://svn.automattic.com/wordpress/trunk@12428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 17:10:40 +00:00
ryan
28d836c672 Properly handle float timeouts for all transports. Props mdawaffe. fixes #11468
git-svn-id: http://svn.automattic.com/wordpress/trunk@12424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 16:13:58 +00:00
westi
9111a5405f Fix phpDoc for Comment Meta functions to refer to comments not posts. See #11462 props sirzooro.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-16 22:13:53 +00:00
ryan
716af3c5e5 RC1
git-svn-id: http://svn.automattic.com/wordpress/trunk@12416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-16 17:50:18 +00:00
ryan
20162ec029 Delete instead of trash when bulk deleting media. Props nacin. fixes #11455
git-svn-id: http://svn.automattic.com/wordpress/trunk@12415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-16 17:14:21 +00:00
ryan
b82594d1cd Make the excerpt_more filter include the space. Props demetris. fixes #11456
git-svn-id: http://svn.automattic.com/wordpress/trunk@12414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-16 16:38:58 +00:00
azaozz
9420825a1c Check post and comment status before emptying trash, fixes #11442
git-svn-id: http://svn.automattic.com/wordpress/trunk@12412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-16 01:35:29 +00:00
ryan
4aca3ca146 Remove oEmbed discovery option. Add hook so plugins can enable it. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 21:16:00 +00:00
ryan
bee735ee04 Bump MySQL requirement to 4.1.2 per previous discussions and announcements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 21:04:50 +00:00
ryan
60c67e593c Remove no longer needed DB has_cap() checks. Props filosofo. fixes #11443
git-svn-id: http://svn.automattic.com/wordpress/trunk@12409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 21:01:57 +00:00
ryan
6ae74dfd09 Don't fall back to logged in cookie if in the admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 19:57:20 +00:00
ryan
b38c409b40 Fix upload dir defaults. Props Denis-de-Bernardy. fixes #11276
git-svn-id: http://svn.automattic.com/wordpress/trunk@12405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 17:53:51 +00:00
ryan
57a16afcb2 Bump the MySQL requirement to 4.1.0. Props Denis-de-Bernardy. see #11437
git-svn-id: http://svn.automattic.com/wordpress/trunk@12404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 16:04:32 +00:00
ryan
11e3c1733b Use ON DUPLICATE KEY UPDATE when inserting options to avoid duplicate entry errors. fixes #11437
git-svn-id: http://svn.automattic.com/wordpress/trunk@12403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 16:00:23 +00:00
azaozz
acf271551d Add 'trash' in comment moderation emails, props nacin, fixes #11426
git-svn-id: http://svn.automattic.com/wordpress/trunk@12402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 10:55:55 +00:00
azaozz
061e5ff77d Fix typos, props aldenta, fixes #11440
git-svn-id: http://svn.automattic.com/wordpress/trunk@12400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 04:55:47 +00:00
westi
2c4aadf49f Fix some more html encoding in email subject issues. Fixes #9913.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-14 22:09:54 +00:00
ryan
b2af12a900 Pass taxonomy to created, edited, create, and edit actions. Props Denis-de-Bernardy. fixes #11429
git-svn-id: http://svn.automattic.com/wordpress/trunk@12397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-14 16:46:05 +00:00
azaozz
72990cd094 Add another arg to 'get_comment_time' filter, props miqrogroove, fixes #11421
git-svn-id: http://svn.automattic.com/wordpress/trunk@12396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-14 10:21:58 +00:00
azaozz
c1e0bd72af Urlencode the search query in get_search_feed_link() and get_search_comments_feed_link(), props tenpura, fixes #11153
git-svn-id: http://svn.automattic.com/wordpress/trunk@12395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-14 10:09:55 +00:00
azaozz
1c55a42fa0 Move is_admin() to wp-settings.php so it's available when query.php is not included.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-14 00:38:05 +00:00
westi
b300deaf01 Ensure that RTL langs don't get a horizontal scrollbar in IE7. Fixes #10748 props yoavf.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-13 17:56:22 +00:00
westi
60dfe693d4 Restore the check for trueness on $user_id so we don't run the queries or create the objects. Fixes #11419 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-13 17:32:14 +00:00
westi
a43c737a0d Check that $user_id is set. For non-logged in users it is not set so we get a notice.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-13 11:43:19 +00:00
westi
5d087be7e9 Don't html encode quotes in the blogname in email subjects as this is a plain text output. Fixes #9913 props tenpura.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-13 11:38:45 +00:00
westi
563550f038 Bump the version number on the wp-admin.css files for [12377]. See #11149 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 22:28:48 +00:00
azaozz
bdc05e2ea2 Remove animation for admin notices, fixes #11267
git-svn-id: http://svn.automattic.com/wordpress/trunk@12385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 19:53:06 +00:00
azaozz
a941587c26 Fix dashboard Right Now columns width in IE6/7, fixes 11293
git-svn-id: http://svn.automattic.com/wordpress/trunk@12382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 08:49:45 +00:00
azaozz
e07bea12f8 Typecast to int the return of image_resize_dimensions(), fixes #7748
git-svn-id: http://svn.automattic.com/wordpress/trunk@12381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 08:06:24 +00:00
azaozz
4cee15f1be Make animation faster for admin notices, props nacin, fixes #11267
git-svn-id: http://svn.automattic.com/wordpress/trunk@12380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 07:34:04 +00:00
markjaquith
a8686bb67c Optimize Whoa Cowboy query. Only look back one hour. props mdawaffe. fixes #4366
git-svn-id: http://svn.automattic.com/wordpress/trunk@12376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-11 23:29:19 +00:00
ryan
6622b4fa8e Return false from is_paged() if on the first page. Props Denis-de-Bernardy. fixes #11389
git-svn-id: http://svn.automattic.com/wordpress/trunk@12372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-11 16:38:59 +00:00
markjaquith
fba269f7f4 Reverting [12331]. see #10057
git-svn-id: http://svn.automattic.com/wordpress/trunk@12368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 23:02:47 +00:00
ryan
fee3cd75a3 Remove unused variable. Props hakre. fixes #10765
git-svn-id: http://svn.automattic.com/wordpress/trunk@12367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 22:55:06 +00:00
azaozz
2a42d27a22 Fix slashes in the Text widget, props Denis-de-Bernardy, fixes #10563
git-svn-id: http://svn.automattic.com/wordpress/trunk@12364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 09:54:15 +00:00
azaozz
168d6af9ac Image editor icons, props Ben Dunkle, fixes #10979
git-svn-id: http://svn.automattic.com/wordpress/trunk@12363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 09:22:01 +00:00
markjaquith
182ec07a44 Strip HTML from comments_popup_link title attribute. props ewestp, xenlab. fixes #10997
git-svn-id: http://svn.automattic.com/wordpress/trunk@12362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 09:13:11 +00:00
markjaquith
305f103c4f Use http_response_code for wp_redirect(), so that fastcgi hosts always get 301 redirect love. props error. fixes #6779
git-svn-id: http://svn.automattic.com/wordpress/trunk@12358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:33:17 +00:00
markjaquith
c8df74e369 Fix some wrapping/cropping issues for verbose languages. props Nao. fixes #11293
git-svn-id: http://svn.automattic.com/wordpress/trunk@12357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:20:32 +00:00
markjaquith
d58c6a5dda Do not double-stripslashes() on get_search_query(). fixes #11374
git-svn-id: http://svn.automattic.com/wordpress/trunk@12356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:07:19 +00:00
markjaquith
805bdb9365 Provide visual feedback for "Use as thumbnail" when clicked immediately after uploading the image. fixes #11140
git-svn-id: http://svn.automattic.com/wordpress/trunk@12355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:03:26 +00:00
markjaquith
817376b35f Forgot to check this in with [12353]. see #11140
git-svn-id: http://svn.automattic.com/wordpress/trunk@12354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 07:37:41 +00:00
markjaquith
bf264bb66d Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 06:14:36 +00:00
ryan
1c90385918 Allow registering post image support per post type. fixes #11364
git-svn-id: http://svn.automattic.com/wordpress/trunk@12350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 15:39:20 +00:00
azaozz
cf60d7c87a Do not auto-scroll the media popup when opening an image details section if it can fit in the viewport, props caesarsgrunt, fixes #11269
git-svn-id: http://svn.automattic.com/wordpress/trunk@12349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 12:24:45 +00:00
westi
ab2d609404 Remove passing of spurious argument to wpdb->db_version().
git-svn-id: http://svn.automattic.com/wordpress/trunk@12348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 12:00:55 +00:00
azaozz
b52703b322 Save menu sections' opened/closed state separately, fixes #10366
git-svn-id: http://svn.automattic.com/wordpress/trunk@12347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 11:27:47 +00:00
markjaquith
f2df3f3751 Revision 12345. Nothing but whitespace fixes. That's how I roll.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:29:12 +00:00
markjaquith
df73d335a9 Yet more standardization around Post/Page Image instead of Post/Page Thumbnail
git-svn-id: http://svn.automattic.com/wordpress/trunk@12344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:27:53 +00:00
markjaquith
dc8492b9f5 Introducing set_post_image_size(w, h, crop) so themes can register their special size/crop for canonical post images. WP will create this size/crop upon upload, so your canonical post images fit your space exactly!
git-svn-id: http://svn.automattic.com/wordpress/trunk@12342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:08:19 +00:00
matt
cff2ea75c7 Cast out the lowercase P demons that snuck in. http://www.google.com/search?q=out+out+you+demons+of+stupidity
git-svn-id: http://svn.automattic.com/wordpress/trunk@12341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 19:59:34 +00:00
westi
5fae5d7d61 Urlencode the redirect url for the logout links as well as login in links. Fixes #10991 props Utkarsh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 16:38:59 +00:00
markjaquith
0415ab7b42 Standardize around "post image" instead of "post thumbnail"
git-svn-id: http://svn.automattic.com/wordpress/trunk@12339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 16:34:04 +00:00
westi
2bfe9c548b Make the gallery shortcode float the right way for RTL languages. Fixes #7134 props ikonst.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 12:45:32 +00:00
markjaquith
6c8f698427 Spam links are just as destructive as trash (more so, actually, since they deprecate the comment). Now they are also colored red, like trash. props caesarsgrunt. fixes #11304
git-svn-id: http://svn.automattic.com/wordpress/trunk@12335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 23:45:02 +00:00
markjaquith
d71edf5122 Fix the case of the curiously expanding wp-admin menu. props westi. fixes #10366
git-svn-id: http://svn.automattic.com/wordpress/trunk@12334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 23:29:25 +00:00
markjaquith
706def0206 Do not display comments on non-public posts in comments widget. props Denis-de-Bernardy. fixes #9211
git-svn-id: http://svn.automattic.com/wordpress/trunk@12333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 18:09:11 +00:00
westi
8c791aaf60 Check the correct global in get_page and also ensure that the cap check for deleting pages copes for the default page we edit when adding new. Fixes #11203.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 18:01:02 +00:00
markjaquith
6584c363d9 Yes, I did mean original... props coffee2code. fixes #10057
git-svn-id: http://svn.automattic.com/wordpress/trunk@12331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 17:57:48 +00:00
ryan
d3e30f2ff6 Drop autoload index from schema. Tweak key layout to satisdy dbDelta. Props nacin. fixes #11322 #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@12329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 13:57:18 +00:00
markjaquith
ef1593e6da Get rid of stray comma. fixes #10977. props kevinB
git-svn-id: http://svn.automattic.com/wordpress/trunk@12327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 18:01:01 +00:00
ryan
ba3275b123 Cleanup oembed caching. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 17:40:36 +00:00
ryan
0b106b0808 Use oEmbed for dailymotion. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 17:33:53 +00:00
westi
92a8421c69 Allow plugins to filter the UserAgent used for PingBack requests. Fixes #11317 props mtdewvirus.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 14:28:35 +00:00
ryan
9957a119b3 phpdoc for post thumbnail template functions. Props ramiy. fixes #11310
git-svn-id: http://svn.automattic.com/wordpress/trunk@12320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-03 15:59:27 +00:00
ryan
7a6685e8d8 get_the_term_list() phpdoc updates. Props filosofo. fixes #11116
git-svn-id: http://svn.automattic.com/wordpress/trunk@12319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-03 15:52:11 +00:00
azaozz
dd81243d16 Validate date/time fields for posts and comments, fixes #10309
git-svn-id: http://svn.automattic.com/wordpress/trunk@12318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-03 09:56:20 +00:00
azaozz
ae20d06e94 Fix errors when bulk actions executed on empty list, props nacin, see #11184
git-svn-id: http://svn.automattic.com/wordpress/trunk@12317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-03 01:43:49 +00:00
ryan
60c6ba72c1 Fix is_tax(). Props scribu. fixes #10721
git-svn-id: http://svn.automattic.com/wordpress/trunk@12316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-02 18:00:32 +00:00
ryan
c5054ba38b Beta 2 bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@12314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 23:57:13 +00:00
azaozz
3610dd61a4 Fix canceling when deleting newly added categories and link categories, fixes #11296
git-svn-id: http://svn.automattic.com/wordpress/trunk@12313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 23:51:04 +00:00
ryan
8b5ba8c556 Fix file validation in theme editor. Props dd32. fixes #11032
git-svn-id: http://svn.automattic.com/wordpress/trunk@12310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 22:03:13 +00:00
ryan
888310cbbc Fix wp_nonce_ays() for log-out case. Fix IE6 padding. Props miqrogroove. fixes #11289
git-svn-id: http://svn.automattic.com/wordpress/trunk@12309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 21:21:31 +00:00
ryan
729757afc2 Use correct var name. Props miqrogroove. fixes #10821
git-svn-id: http://svn.automattic.com/wordpress/trunk@12307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 19:41:41 +00:00
ryan
2d10b58caf Do recently updated test only if show_updated. Avoids slow query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 19:35:21 +00:00
ryan
711994ba4b Delete custom taxonomy relationships when deleting a post or attachment. Props dd32. fixes #10821
git-svn-id: http://svn.automattic.com/wordpress/trunk@12305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 18:01:24 +00:00
azaozz
fded0ca661 Remove oEmbed references and auto-insert of shortcodes from the UI, fixes #11288
git-svn-id: http://svn.automattic.com/wordpress/trunk@12304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 09:22:48 +00:00
azaozz
37bcca4492 Don't show deleted Pages in wp.getPages results, props ryan, props Denis-de-Bernardy,fixes #11243
git-svn-id: http://svn.automattic.com/wordpress/trunk@12303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 08:14:42 +00:00
azaozz
31bc813a6d Separate the removal of <p> wrapping from shortcodes into another function and apply it with different filter, props miqrogroove, props mdawaffe, see #11257, see #11249
git-svn-id: http://svn.automattic.com/wordpress/trunk@12302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 07:46:36 +00:00
ryan
96c363a384 Accept either user_id or user_ID. Remove user_id global. see #11271 #11222
git-svn-id: http://svn.automattic.com/wordpress/trunk@12300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 02:06:02 +00:00
ryan
41099db69b Delete custom taxonomy relationships when deleting a post. Props miqrogroove. fixes #10821
git-svn-id: http://svn.automattic.com/wordpress/trunk@12299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 22:17:28 +00:00
ryan
97bf1f11bd Save parent temp ID for unattached attachments in postmeta. Props scribu. fixes #9471
git-svn-id: http://svn.automattic.com/wordpress/trunk@12298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 21:41:52 +00:00
azaozz
dafb319ebe Fix Right Now comments counts for trash, spam or undo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 00:49:33 +00:00
ryan
6aeb3bd273 comment status transition was broken due to sneaky reference return in &get_comment. Props skeltoac
git-svn-id: http://svn.automattic.com/wordpress/trunk@12292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-29 20:05:39 +00:00
azaozz
f33e161d18 Tweak colors for trash, spam and undo of comments, fix IE6/7 background for unapproved comments, fix JS error in IE6/7, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-29 10:29:12 +00:00
azaozz
f296da8169 "Trash" fixes, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-28 03:56:20 +00:00
azaozz
00a9b90dc9 Flash through red when sending an item to the trash, flash through green when undoing it, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-28 02:56:15 +00:00
westi
0c0bfbce3e Restore functionality of setup_userdata() when a user id is supplied. See #11271 and #11222.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-27 18:17:44 +00:00
azaozz
fe29434e05 Undo for setting a comment as spam, props caesarsgrunt, fixes #11260, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-27 10:34:09 +00:00
azaozz
c3f7df6b24 Fix notices and phpdoc, props hakre, fixes #10758
git-svn-id: http://svn.automattic.com/wordpress/trunk@12284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 11:29:54 +00:00
azaozz
16ebe3bc82 Avoid a rare case of black line in cropped thumbnails, props miqrogroove, fixes #7748
git-svn-id: http://svn.automattic.com/wordpress/trunk@12280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 06:58:21 +00:00
azaozz
5f74404560 Get the right number of pages then excluding a tree, fixes #11205
git-svn-id: http://svn.automattic.com/wordpress/trunk@12279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 05:22:09 +00:00
azaozz
fc341ce3ab Stop the fade-out of the Undo notices on Edit Comments screen, props caesarsgrunt, fixes #11259, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 04:37:39 +00:00
azaozz
474642271d l10n for thickbox.js, props nbachiyski, fixes #10278
git-svn-id: http://svn.automattic.com/wordpress/trunk@12276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-25 11:08:39 +00:00
azaozz
6efcb2913a Autop: add fieldset to blocks, remove support for empty <p> for now, fix block in block problems when switching the editor from visual to html and back, fixes #8644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-25 09:50:20 +00:00
azaozz
e7265c1245 Set uploaded files extensions to lower case, fixes #11218
git-svn-id: http://svn.automattic.com/wordpress/trunk@12274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-25 05:04:30 +00:00
ryan
4c1c30fbd6 Don't require titles for attachments. Props caesarsgrunt. fixes #11052
git-svn-id: http://svn.automattic.com/wordpress/trunk@12273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-24 16:52:32 +00:00
ryan
9f2fbbc2f9 Fix attachment rewrite endpoints. Props Curioso. fixes #5553
git-svn-id: http://svn.automattic.com/wordpress/trunk@12271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-24 16:08:13 +00:00
ryan
cfc8317abe Standardize on user_id instead of user_ID when passing comment data. fixes #11222
git-svn-id: http://svn.automattic.com/wordpress/trunk@12267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-23 21:04:11 +00:00
ryan
a03752fdb4 Check if defined to avoid having to suppress. Props Mittineague, Denis-de-Bernardy. fixes #10525
git-svn-id: http://svn.automattic.com/wordpress/trunk@12265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-23 18:47:22 +00:00
ryan
97b5a5f483 Improve IIS rewrite support. Props ruslany, peaceablewhale. fixes #10386
git-svn-id: http://svn.automattic.com/wordpress/trunk@12264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-23 18:17:46 +00:00
ryan
38bcfbb49b Reduce memory usage for XML-RPC requests. Props Demitrious Kelly. fixes #10698
git-svn-id: http://svn.automattic.com/wordpress/trunk@12263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-23 16:53:36 +00:00
westi
693451e75f Pass the old term_taxonomy ids to the action in set_object_terms so plugins know what was before. Fixes #10962 props simonwheatley.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-22 22:33:45 +00:00
westi
6ba5006153 Mark _c() as Deprecated people should use the new _x() instead. Fixes #11225.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-22 12:07:41 +00:00
azaozz
986cc7d505 Ignore trashed comments for duplicate comment check, props scribu, fixes #10944
git-svn-id: http://svn.automattic.com/wordpress/trunk@12254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-21 11:31:21 +00:00
westi
5994455911 Allow plugins to override the behaviour of load_textdomain() in a variety of flexible ways. Fixes #11012 props johanee and nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-21 09:28:32 +00:00
westi
d2fa378957 Ensure that make_clickable links correctly when the link is placed in brackets and has trailing punctuation. Fixes #11211 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-21 09:14:17 +00:00
azaozz
fce64c00bc Always register all widgets, props hakre, fixes #10954
git-svn-id: http://svn.automattic.com/wordpress/trunk@12249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-21 03:40:55 +00:00
ryan
9ee40acb93 Fix preview of pending pages with permalinks on. Props dj-wp. fixes #11199
git-svn-id: http://svn.automattic.com/wordpress/trunk@12245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 17:47:25 +00:00
ryan
247449a148 script loader phpdoc improvements. Props nacin. fixes #11201
git-svn-id: http://svn.automattic.com/wordpress/trunk@12244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 17:44:46 +00:00
ryan
8414c6c62f Use correct var name
git-svn-id: http://svn.automattic.com/wordpress/trunk@12243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 17:32:56 +00:00
ryan
4b20540781 Fix double slashing. Props scribu. fixes #11061
git-svn-id: http://svn.automattic.com/wordpress/trunk@12241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 14:23:41 +00:00
azaozz
ac2988c39c Add video/x-flv to mime types, props hakre, fixes #11051
git-svn-id: http://svn.automattic.com/wordpress/trunk@12239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 04:19:44 +00:00
azaozz
128927e43b Limit wp_get_recent_posts() to real/live posts, props josephscott, fixes #11123
git-svn-id: http://svn.automattic.com/wordpress/trunk@12237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 03:01:22 +00:00
azaozz
b48cf4a3e3 Do not show entities when inserting newly added category in the parents dropdown, props aldenta, fixes #11182
git-svn-id: http://svn.automattic.com/wordpress/trunk@12236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 01:54:12 +00:00
azaozz
4200c001cb Specify background color for input elements, props hakre, fixes #10881
git-svn-id: http://svn.automattic.com/wordpress/trunk@12234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 23:46:23 +00:00
ryan
c831a9e3ef Add context to strings. Props nbachiyski. fixes #10738
git-svn-id: http://svn.automattic.com/wordpress/trunk@12231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:49:16 +00:00
ryan
3de2e1a319 Don't return extra permastructs if pretty permalinks not turned on. Props scribu. fixes #11061
git-svn-id: http://svn.automattic.com/wordpress/trunk@12230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:47:11 +00:00
ryan
1d3d70d375 Fix custom taxonomy term links when using non-pretty permalinks. Props bookchiq. fixes #11179
git-svn-id: http://svn.automattic.com/wordpress/trunk@12229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:41:53 +00:00
westi
c616c60c0d Reduce the size of the data returned by get_themes() by ~30% by reducing duplication.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 20:45:37 +00:00
markjaquith
66ce42a9f9 Do not use the unreliable in_the_loop() when grabbing terms. fixes #11189
git-svn-id: http://svn.automattic.com/wordpress/trunk@12224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 19:42:52 +00:00
ryan
c8ead9801c Return if no comment queried
git-svn-id: http://svn.automattic.com/wordpress/trunk@12223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 17:58:11 +00:00
ryan
2892919a51 Fix var name typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@12222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 17:55:23 +00:00
ryan
6189a6fce2 Make option_id primary. Add uniques for option_name and autoload. see #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@12217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 16:42:07 +00:00
ryan
f0f570d098 Avoid warning when parent template does not exist.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 16:35:17 +00:00
azaozz
51aaa9c7c3 Fix removal of .form-invalid in IE, props aldenta, fixes #11181
git-svn-id: http://svn.automattic.com/wordpress/trunk@12215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 10:24:14 +00:00
azaozz
42df991367 Check if $_SERVER['HTTP_ACCEPT_ENCODING'] is set before determining whether to compress scripts, props nacin, fixes #11169
git-svn-id: http://svn.automattic.com/wordpress/trunk@12214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 09:46:07 +00:00
azaozz
f2dc806c22 Add sidebar descriptions to sidebar settings and widget admin screen, props jeremyclarke scribu, fixes #11157
git-svn-id: http://svn.automattic.com/wordpress/trunk@12213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 09:12:16 +00:00
markjaquith
b43020e0ab Pass some additional variables to post_image_html filter. props waltervos, scribu. fixes #11167
git-svn-id: http://svn.automattic.com/wordpress/trunk@12211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 22:09:00 +00:00
ryan
4615f5b809 Delete old magpie cache options. Props Denis-de-Bernardy. fixes #10592
git-svn-id: http://svn.automattic.com/wordpress/trunk@12210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 22:04:07 +00:00
ryan
47001b4c43 Don't destruct if WP_Error. Props scribu. fixes #11168
git-svn-id: http://svn.automattic.com/wordpress/trunk@12209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 21:52:38 +00:00
ryan
039a004122 Return if no post to avoid warnings
git-svn-id: http://svn.automattic.com/wordpress/trunk@12208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 21:04:09 +00:00
westi
e7941d795e Ensure WP_DEBUG is always defined and simplify the checks on it. Fixes #11090 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 08:22:49 +00:00
markjaquith
f4ae37b9f1 Do not destroy characters surrounding shortcodes in strip_shortcodes(). fixes #10326
git-svn-id: http://svn.automattic.com/wordpress/trunk@12206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 08:12:05 +00:00
azaozz
c131504b28 Let plugins predefine thickbox image vars, props aaroncampbell, fixes #6453
git-svn-id: http://svn.automattic.com/wordpress/trunk@12205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 00:19:55 +00:00
ryan
d6bd539813 Deprecate make_url_footnote(). fixes #4968
git-svn-id: http://svn.automattic.com/wordpress/trunk@12203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 21:11:24 +00:00