Commit Graph

5518 Commits

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