Commit Graph

10886 Commits

Author SHA1 Message Date
azaozz
bc9fb32835 Open View/Preview post in a new window from the link in the Saved/Updated message, cleanup messages code, add Draft updated for Pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-11 00:37:26 +00:00
markjaquith
831178162c First pass at canonical post image template functions. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-10 08:31:21 +00:00
markjaquith
a0cd792aae Constrain admin thumbnail display to width of meta box while in sidebar. Add filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-10 07:41:42 +00:00
azaozz
3d1fa0d0d1 Show "Draft updated" instead of "Post updated" when saving drafts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-10 07:24:05 +00:00
azaozz
ee12f818b7 Adjust comment moderation shortcut keys: d = trash or delete depending on the screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@12016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-09 23:28:06 +00:00
azaozz
4b53a32f07 Add l10n thousands delimiter and decimal point to JS, fix updating of comments numbers on the dashboard and keyboard shortcuts for comments moderation (t = trash, z = restore/undo)
git-svn-id: http://svn.automattic.com/wordpress/trunk@12015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-09 09:02:22 +00:00
westi
41099f6e33 Allow the separator in wp_tag_cloud and wp_generate_tag_cloud to be specified. Fixes #10315 props ramiy and filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 21:51:34 +00:00
westi
7fc17ec0bd Add a title to the Home link output by wp_page_menu(). Fixes #10594 props amilanov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 21:37:26 +00:00
westi
939f882ff9 Add a filter to the_author_posts_link(). Fixes #10691 props sirzooro and filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 21:04:04 +00:00
westi
c6a7824592 Fix display of header on default theme custom header page. Fixes #9929 props jmulley.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 20:52:06 +00:00
westi
7d2a85c40e Allow for tag templates to be linked by tag id as well as name. Fixes #10868.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 17:27:51 +00:00
westi
88dfeaca8a Remove rel='tag' on links in Tag Clouds as it is only for outbound links where the destination is a tag for the current page. Fixes #10897.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 17:05:32 +00:00
azaozz
d20c23e98d Add Undo when moving comments to the trash, remove unneeded nonces, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 08:24:59 +00:00
markjaquith
d7a30e235f First pass on canonical post thumbanils. Admin-side GUI only. Theme functions to follow. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 22:18:09 +00:00
westi
923a3ade8a Remove the php-gettext library as we don't use it anymore. Fixes #9751.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 20:42:05 +00:00
ryan
fd3f0ac99f Disable codepress. Maintained replacement needed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 15:22:23 +00:00
ryan
67288a2db1 Admin RTL CSS updates. Props yoavf. fixes #10923
git-svn-id: http://svn.automattic.com/wordpress/trunk@12004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 13:57:43 +00:00
ryan
16475c9588 Add post_submitbox_misc_actions action. Props mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@12000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-06 20:17:21 +00:00
westi
f1db510742 Fix the specification of the object_type column in delete_metadata so that it will delete stuff if $delete_all is false. See #2659
git-svn-id: http://svn.automattic.com/wordpress/trunk@11999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-06 19:18:21 +00:00
ryan
e3f1a830d3 Post type registration. Exclude post types added via plugin from searches by default. Introduce register_post_type() and get_post_types(). fixes #10885
git-svn-id: http://svn.automattic.com/wordpress/trunk@11998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-06 14:43:05 +00:00
azaozz
ba6b275c7a Add conditional to handle get_comment_meta() return value, make #comment_id required arg for wp_trash_comment() and wp_untrash_comment(), see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-05 01:49:19 +00:00
azaozz
5680630d1f Fix delete_metadata(), see #2659
git-svn-id: http://svn.automattic.com/wordpress/trunk@11996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-05 01:08:06 +00:00
westi
4e4d7ec08c Make the (add|get|update)_site_option functions run the same filters in WP as they do in mu. Fixes #10893.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-03 21:40:27 +00:00
azaozz
1c4b720478 Press This fixes, props noel, see #10784
git-svn-id: http://svn.automattic.com/wordpress/trunk@11994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-03 07:14:44 +00:00
westi
627e7b3e6c Update pclzip to 2.8.2 - Fixes #10650 and #10777.
Includes:
 * Removal of eval()s
 * Merge WordPress 64 bit fix upstream

git-svn-id: http://svn.automattic.com/wordpress/trunk@11993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 21:04:57 +00:00
westi
606b6197b5 Delete the trash metadata when untrashing a comment. See #4529 props caesarsgrunt.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 19:59:35 +00:00
ryan
966af43a1d Improve inline documentation for register_setting(). Props filosofo. fixes #10368
git-svn-id: http://svn.automattic.com/wordpress/trunk@11991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:54:24 +00:00
ryan
0c557fdb02 Use ID, not user_id. Props filosofo. fixes #10709
git-svn-id: http://svn.automattic.com/wordpress/trunk@11990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:52:01 +00:00
ryan
d89bf58bd3 Pass args to mysql2date() in the correct order. Props filosofo, fabifott. fixes #10866
git-svn-id: http://svn.automattic.com/wordpress/trunk@11989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:50:28 +00:00
ryan
3ab19e267d Show link back to post for pingbacks in the recent comments dashboard widget. Props scribu. fixes #10622
git-svn-id: http://svn.automattic.com/wordpress/trunk@11988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:42:33 +00:00
ryan
93b3ed3915 Localize default strings for edit_comment_link() and edit_post_link(). fixes #10879
git-svn-id: http://svn.automattic.com/wordpress/trunk@11987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:41:09 +00:00
markjaquith
9109450809 Surface "Move to Trash" link for posts/pages immediately after first autosave fires. Props cross country flight. fixes #10344
git-svn-id: http://svn.automattic.com/wordpress/trunk@11986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 11:44:18 +00:00
azaozz
4e20ae5719 Image Editor: fix refreshing of the thumbnail, use WP_Http_Fopen::test(), see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-30 23:39:09 +00:00
azaozz
6f099a9117 Image Editor: add load and save image filters, fix backup sizes meta, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-30 08:38:32 +00:00
azaozz
111ffda455 htmlspecialchars after apply_filters, props Viper007Bond, see #10858
git-svn-id: http://svn.automattic.com/wordpress/trunk@11983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-29 10:28:08 +00:00
azaozz
856e319884 Press This: editor fixes and CSS tweaks for IE6/7
git-svn-id: http://svn.automattic.com/wordpress/trunk@11982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-29 09:46:13 +00:00
ryan
8fc7ea66af Pad counts in wp_dropdown_categories. Props mtdewvirus. fixes #10870
git-svn-id: http://svn.automattic.com/wordpress/trunk@11981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-28 22:32:27 +00:00
ryan
5224680c4d Deprecates the_content_rss(). Add the_content_feed() and get_the_content_feed(). Convert places that called the_content_rss() with an excerpt length to the_excerpt_rss(). Remove the rss_excerpt_length option. Use the_content_feed() where the_content() was previously used in feeds. Props Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-28 14:36:48 +00:00
markjaquith
7a86ba7cf9 Hide "Attach" link for media (which requires JS) if no JS available. (BUGS ON A PLANE!)
git-svn-id: http://svn.automattic.com/wordpress/trunk@11979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-27 18:54:17 +00:00
markjaquith
4ead128521 esc_sql() for wp-includes
git-svn-id: http://svn.automattic.com/wordpress/trunk@11978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-27 05:33:56 +00:00
azaozz
e73a081be7 Expose HTTP PUT when supported, props mdawaffe, fixes #10855
git-svn-id: http://svn.automattic.com/wordpress/trunk@11977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 22:52:42 +00:00
azaozz
ac1deea61c Improve get_page_hierarchy, props hailin, fixes #10853
git-svn-id: http://svn.automattic.com/wordpress/trunk@11976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 22:45:52 +00:00
azaozz
0630337d8e Apply "comment_edit_pre" filter when quick-editing comments, props Viper007Bond, fixes #10858
git-svn-id: http://svn.automattic.com/wordpress/trunk@11975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 22:28:22 +00:00
azaozz
ba74883676 TinyMCE 3.2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@11974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 08:33:16 +00:00
azaozz
1e611d37da Image Editor: fix preview size calculation when cropping small part of a very large image, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 04:07:27 +00:00
azaozz
200f6e921a Image Editor: fix minified CSS, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 20:22:31 +00:00
ryan
57f26bb58e Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 17:19:13 +00:00
ryan
235afd2f97 Use a post_parent of 0 instead of -1 to indicate unattached posts. Props c0nstruct. see #10521
git-svn-id: http://svn.automattic.com/wordpress/trunk@11969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 17:13:11 +00:00
ryan
ead46cf470 Actions for postmeta updates. Props Demitrious Kelly. see #10750
git-svn-id: http://svn.automattic.com/wordpress/trunk@11968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 17:10:28 +00:00
azaozz
33836d522b Image Editor: fix JS prompt, add size to 'load_image_to_edit' filter, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 08:47:33 +00:00