Commit Graph

10802 Commits

Author SHA1 Message Date
Mark Jaquith 0818d29d6e Post thumbnail removal functionality (only allowed for replacement before). props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12036 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 12:57:16 +00:00
Mark Jaquith 45b4ea5807 Allow theme devs to change attrs (like CSS class) of thumbnail images. props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12035 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 12:31:48 +00:00
Mark Jaquith da87e95962 Do not do a canonical redirect for negated author query strings. fixes #10960
git-svn-id: https://develop.svn.wordpress.org/trunk@12034 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 09:13:38 +00:00
Peter Westwood a8bf4adf41 Page Templates now have there full path specified so no need to prepend WP_CONTENT_DIR. Fixes #10953 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@12033 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 20:46:09 +00:00
Ryan Boren 52c593458d Strip commas and spaces from charset. Props Jose Carlos Norte
git-svn-id: https://develop.svn.wordpress.org/trunk@12032 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 16:21:28 +00:00
Mark Jaquith 6d99e52613 Do not close media thickbox after thumbnail is selected, in case uploads are in progress. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12031 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 08:42:32 +00:00
Andrew Ozz 459e0bcfc9 Fix tags and categories postboxes in PressThis
git-svn-id: https://develop.svn.wordpress.org/trunk@12030 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 07:30:10 +00:00
Andrew Ozz aaae110d8f Remove remains from the old bookmarklet code
git-svn-id: https://develop.svn.wordpress.org/trunk@12029 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 05:53:49 +00:00
Mark Jaquith 529e336c1e Add set_user_role action hook. props jamescollins, usermrpapa. fixes #10716
git-svn-id: https://develop.svn.wordpress.org/trunk@12028 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 02:30:51 +00:00
Ryan Boren 05458bb414 Use oEmbed for youtube. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12027 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 22:36:24 +00:00
Ryan Boren d7367f405a Request only as many incoming links and we'll display. Props niallkennedy. fixes #10685
git-svn-id: https://develop.svn.wordpress.org/trunk@12026 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 22:04:54 +00:00
Mark Jaquith 1a00881a37 Introducing register_theme_directory() which takes a wp-content-relative path and will additionally scan it for themes. Plugins can use this to add themes without requiring copying by the user. props apeatling. fixes #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12025 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 19:06:35 +00:00
Ryan Boren 8bd343a22e Bump db version
git-svn-id: https://develop.svn.wordpress.org/trunk@12024 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 18:50:16 +00:00
Ryan Boren e71f15a979 Embeds. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12023 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 17:04:22 +00:00
Andrew Ozz 9d5f38a1df Merge post.js with page.js and slug.js, optimize categories and tags JS, standardize postboxes IDs and JS.
git-svn-id: https://develop.svn.wordpress.org/trunk@12022 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 10:02:42 +00:00
Andrew Ozz 8e956b6488 Show the login form in a popup when autosave hits the login grace period, fixes #10704
git-svn-id: https://develop.svn.wordpress.org/trunk@12021 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-11 11:26:59 +00:00
Andrew Ozz 2dc1de999c 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: https://develop.svn.wordpress.org/trunk@12020 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-11 00:37:26 +00:00
Mark Jaquith 77749a6009 First pass at canonical post image template functions. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12019 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-10 08:31:21 +00:00
Mark Jaquith a3bf844ed3 Constrain admin thumbnail display to width of meta box while in sidebar. Add filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@12018 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-10 07:41:42 +00:00
Andrew Ozz cfad60032c Show "Draft updated" instead of "Post updated" when saving drafts.
git-svn-id: https://develop.svn.wordpress.org/trunk@12017 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-10 07:24:05 +00:00
Andrew Ozz 158ddd44ef Adjust comment moderation shortcut keys: d = trash or delete depending on the screen
git-svn-id: https://develop.svn.wordpress.org/trunk@12016 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-09 23:28:06 +00:00
Andrew Ozz 9a76ba48d9 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: https://develop.svn.wordpress.org/trunk@12015 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-09 09:02:22 +00:00
Peter Westwood 86fd35946f Allow the separator in wp_tag_cloud and wp_generate_tag_cloud to be specified. Fixes #10315 props ramiy and filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12014 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 21:51:34 +00:00
Peter Westwood fa42eb41a2 Add a title to the Home link output by wp_page_menu(). Fixes #10594 props amilanov.
git-svn-id: https://develop.svn.wordpress.org/trunk@12013 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 21:37:26 +00:00
Peter Westwood 1ac5894933 Add a filter to the_author_posts_link(). Fixes #10691 props sirzooro and filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12012 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 21:04:04 +00:00
Peter Westwood d1beea5ee6 Fix display of header on default theme custom header page. Fixes #9929 props jmulley.
git-svn-id: https://develop.svn.wordpress.org/trunk@12011 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 20:52:06 +00:00
Peter Westwood 44fc49bb90 Allow for tag templates to be linked by tag id as well as name. Fixes #10868.
git-svn-id: https://develop.svn.wordpress.org/trunk@12010 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 17:27:51 +00:00
Peter Westwood 6f3714fa27 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: https://develop.svn.wordpress.org/trunk@12009 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 17:05:32 +00:00
Andrew Ozz 59981a3d5b Add Undo when moving comments to the trash, remove unneeded nonces, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12008 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 08:24:59 +00:00
Mark Jaquith ab98fc356b First pass on canonical post thumbanils. Admin-side GUI only. Theme functions to follow. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12007 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-07 22:18:09 +00:00
Peter Westwood 8d19386616 Remove the php-gettext library as we don't use it anymore. Fixes #9751.
git-svn-id: https://develop.svn.wordpress.org/trunk@12006 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-07 20:42:05 +00:00
Ryan Boren e024f20812 Disable codepress. Maintained replacement needed.
git-svn-id: https://develop.svn.wordpress.org/trunk@12005 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-07 15:22:23 +00:00
Ryan Boren a46f2f2b14 Admin RTL CSS updates. Props yoavf. fixes #10923
git-svn-id: https://develop.svn.wordpress.org/trunk@12004 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-07 13:57:43 +00:00
Ryan Boren cba144b87c Add post_submitbox_misc_actions action. Props mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@12000 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-06 20:17:21 +00:00
Peter Westwood 9698b2716d 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: https://develop.svn.wordpress.org/trunk@11999 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-06 19:18:21 +00:00
Ryan Boren de6f496e44 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: https://develop.svn.wordpress.org/trunk@11998 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-06 14:43:05 +00:00
Andrew Ozz aeab6ed248 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: https://develop.svn.wordpress.org/trunk@11997 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-05 01:49:19 +00:00
Andrew Ozz f7e5db2645 Fix delete_metadata(), see #2659
git-svn-id: https://develop.svn.wordpress.org/trunk@11996 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-05 01:08:06 +00:00
Peter Westwood 1c12fc9165 Make the (add|get|update)_site_option functions run the same filters in WP as they do in mu. Fixes #10893.
git-svn-id: https://develop.svn.wordpress.org/trunk@11995 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-03 21:40:27 +00:00
Andrew Ozz dcdc3fdd1c Press This fixes, props noel, see #10784
git-svn-id: https://develop.svn.wordpress.org/trunk@11994 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-03 07:14:44 +00:00
Peter Westwood cd312efd44 Update pclzip to 2.8.2 - Fixes #10650 and #10777.
Includes:
 * Removal of eval()s
 * Merge WordPress 64 bit fix upstream

git-svn-id: https://develop.svn.wordpress.org/trunk@11993 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 21:04:57 +00:00
Peter Westwood ef14722014 Delete the trash metadata when untrashing a comment. See #4529 props caesarsgrunt.
git-svn-id: https://develop.svn.wordpress.org/trunk@11992 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 19:59:35 +00:00
Ryan Boren 30e0d4173f Improve inline documentation for register_setting(). Props filosofo. fixes #10368
git-svn-id: https://develop.svn.wordpress.org/trunk@11991 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 17:54:24 +00:00
Ryan Boren bb4c840efb Use ID, not user_id. Props filosofo. fixes #10709
git-svn-id: https://develop.svn.wordpress.org/trunk@11990 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 17:52:01 +00:00
Ryan Boren 3f0243f75e Pass args to mysql2date() in the correct order. Props filosofo, fabifott. fixes #10866
git-svn-id: https://develop.svn.wordpress.org/trunk@11989 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 17:50:28 +00:00
Ryan Boren 21ff869024 Show link back to post for pingbacks in the recent comments dashboard widget. Props scribu. fixes #10622
git-svn-id: https://develop.svn.wordpress.org/trunk@11988 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 17:42:33 +00:00
Ryan Boren faead879c7 Localize default strings for edit_comment_link() and edit_post_link(). fixes #10879
git-svn-id: https://develop.svn.wordpress.org/trunk@11987 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 17:41:09 +00:00
Mark Jaquith 04772d1b9f Surface "Move to Trash" link for posts/pages immediately after first autosave fires. Props cross country flight. fixes #10344
git-svn-id: https://develop.svn.wordpress.org/trunk@11986 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 11:44:18 +00:00
Andrew Ozz 917e03d25b Image Editor: fix refreshing of the thumbnail, use WP_Http_Fopen::test(), see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11985 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-30 23:39:09 +00:00
Andrew Ozz 2895da93b2 Image Editor: add load and save image filters, fix backup sizes meta, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11984 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-30 08:38:32 +00:00