Commit Graph

3448 Commits

Author SHA1 Message Date
ryan
967ee06a32 Don't pass image list via GET. Fetch images remotely. Load photo tab via AJAX. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-13 22:12:52 +00:00
ryan
9b7daff0b4 Quick post updates: More gettext, escaping, compress bookmarklet JS. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-13 16:02:12 +00:00
ryan
f6d1274333 Quick post TMCE improvements: add new theme, languages, support for Safari, modal dialogs, changed some settings to be the same like the write page, small css fixes. Props azaozz. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-13 15:22:52 +00:00
ryan
e44fe50107 Some cleaning
git-svn-id: http://svn.automattic.com/wordpress/trunk@7922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-13 00:03:11 +00:00
ryan
dcf35ab2ed Add some page template validation
git-svn-id: http://svn.automattic.com/wordpress/trunk@7921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-12 23:51:54 +00:00
ryan
9830ab988c Quick post bookmarklet. First cut. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-12 19:08:39 +00:00
ryan
3c8cb2b079 Revisioning for pages from mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-09 15:59:17 +00:00
ryan
938f29414f Use array calling style. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@7911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 19:19:58 +00:00
ryan
0ddd511f36 global-rtl.css from mdawaffe. fixes #6931 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 17:46:46 +00:00
ryan
129d030c20 Move autosave to post revisions. Props mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 17:25:07 +00:00
ryan
ecc6151966 Get color option for user being edited, not current user. Props regulatethis. fixes #6911 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 20:06:37 +00:00
ryan
04b03a7906 Show when a term is both a category and a tag, also when a child category is converted to a tag and then converted back, restore the child status, if the parent still exists. Props azaozz. fixes #6909
git-svn-id: http://svn.automattic.com/wordpress/trunk@7897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 17:15:35 +00:00
ryan
0b05038ebb Add editable_slug filter. Props nbachiyski. see #6915
git-svn-id: http://svn.automattic.com/wordpress/trunk@7896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 17:08:13 +00:00
ryan
742f09dbc7 Use full path to fs abstraction class. Props DD32. fixes #6912
git-svn-id: http://svn.automattic.com/wordpress/trunk@7895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 17:06:29 +00:00
ryan
a3bc5f60da Use array calling style. Props DD32. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@7894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 16:03:27 +00:00
ryan
34314a54e5 Add definite article. Props filosofo. fixes #5986
git-svn-id: http://svn.automattic.com/wordpress/trunk@7893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 15:55:00 +00:00
westi
26529c1423 Revert [7887] see #6915.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 08:15:54 +00:00
westi
a5dc032654 Add missing form end tag.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 21:31:29 +00:00
westi
7759f1672f Add ARIA markup for required fields. Fixes #6914 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 21:28:12 +00:00
westi
ae998b8a76 Make international slugs easier to edit. Fixes #6915 props options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 21:13:42 +00:00
ryan
76dfbdfb11 Add blank to default avatars. Rename default to Mystery Man. see #6802
git-svn-id: http://svn.automattic.com/wordpress/trunk@7886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 18:05:20 +00:00
westi
3cbcbbbfb4 Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 10:37:06 +00:00
ryan
7623315990 Widget arrangement fix from azaozz. fixes #6876 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 02:05:18 +00:00
ryan
fbcbedc4f0 Default avatar selector. Props Viper007Bond. see #6802
git-svn-id: http://svn.automattic.com/wordpress/trunk@7879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-03 00:56:16 +00:00
ryan
b9e595d3a5 Fix send_to_editor escaping. Props Glotzfisch. fixes #6898 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-02 17:25:54 +00:00
ryan
43fc7beb08 Refresh thickbox css. Props azaozz. fixes #6843 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-01 16:51:28 +00:00
ryan
020eb02ef0 thickbox and media upload fixes from azaozz. fixes #6843
git-svn-id: http://svn.automattic.com/wordpress/trunk@7862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-30 20:21:09 +00:00
ryan
96cdf5c7a7 send_to_editor fix for FF. Props azaozz. fixes #6864 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-30 20:12:39 +00:00
ryan
0f13be9815 Add comments_per_page filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@7859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-30 20:05:25 +00:00
ryan
7750cc0d90 Use number_format_i18n on Awaiting Moderation count. fixes #6700 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 23:19:31 +00:00
ryan
ef4c69fcfd Use number_format_i18n on Awaiting Moderation count. fixes #6700 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 23:02:15 +00:00
ryan
123a6091fb Word count from azaozz. see #4807
git-svn-id: http://svn.automattic.com/wordpress/trunk@7854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 19:17:23 +00:00
ryan
ca284189fb Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@7852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 18:35:04 +00:00
ryan
f97c96fde0 Use wp_count_comments() instead of direct query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-29 18:30:45 +00:00
ryan
45302a3d9a Add populate_options action. Props RanYanivHartstein. fixes #6854
git-svn-id: http://svn.automattic.com/wordpress/trunk@7848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 19:55:00 +00:00
ryan
a2220d1659 Consolidate class attributes. Props robertaccettura. fixes #6853 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-28 15:17:55 +00:00
ryan
2a8733a159 tempnam workarounds from DD32. see #6465
git-svn-id: http://svn.automattic.com/wordpress/trunk@7840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 21:34:54 +00:00
ryan
cbf1aed77d Allow editing of attachmentts with no titles. Props mdawaffe. fixes #6839 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 15:28:08 +00:00
ryan
2fc180fa45 Move cap check up. Props mdawaffe. fixes #6838 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 15:23:11 +00:00
ryan
77087fe6fa Add cap checks. see #6838
git-svn-id: http://svn.automattic.com/wordpress/trunk@7827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 15:01:02 +00:00
markjaquith
4b2959f55b fix typo in [7820] for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 06:40:12 +00:00
markjaquith
08f237c227 attribute_escape() and int-casting paranoia for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 06:15:17 +00:00
markjaquith
6d0ac532e3 attribute_escape() type in the media-uploder. props Alex Concha. for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 05:55:01 +00:00
ryan
f3d3b700f5 Bump the autosave re-enable delay to 5 seconds, makes sure we manually re-enable the buttons on ajax success, and visually dim the disabled buttons for some UI feedback. Props mdawaffe. fixes #6707 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 00:32:29 +00:00
ryan
cad2447ddc Don't query for checked categories for new posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 00:54:27 +00:00
ryan
4680f8f084 Add length arg to wp_generate_password() and lengthen secret. Props tellyworth. fixes #6146 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-24 00:19:09 +00:00
markjaquith
1e811e8742 Fix redirect issue with null post_ID equaling null url_to_postid(). fixes #6674 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-23 22:58:36 +00:00
ryan
4a31dc117f Fix reveresed logic. see #6805
git-svn-id: http://svn.automattic.com/wordpress/trunk@7787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-23 01:25:01 +00:00
ryan
5ea7b64496 Typo fixes from DD32. fixes #6818 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-23 01:14:26 +00:00
ryan
5d839715d5 don't get or set post_lock if you can't edit the post/page. Props mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@7781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 23:54:13 +00:00
ryan
fe4cab3d1f Fix text widget cropping in IE6. Props mdawaffe. fixes #6792 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 23:48:28 +00:00
ryan
6e23bed1fd wp_category_checklist() fixes from mdawaffe. fixes #6810 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 22:45:53 +00:00
ryan
444391eaff Consolidate get_pending_comments_num() queries. see #6770
git-svn-id: http://svn.automattic.com/wordpress/trunk@7775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 21:26:01 +00:00
ryan
779ff029f6 Comment query fix from MtDewVirus. fixes #6805 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-22 20:51:35 +00:00
ryan
d95ea6777b Convert Walker classes to pass as reference. Props mdawaffe. fixes #6796 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-21 19:30:54 +00:00
ryan
23fd331b4a Post and page edit redirect fixes. fixes #6720 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-21 17:54:56 +00:00
ryan
8aa8fbfd28 Redirect back to original referer when deleting a comment from the edit comment page. fixes #6458 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-21 16:45:48 +00:00
ryan
5ecd57c4de Check publish_pages capability, not publish_posts. Props matthijs. fixes #6777 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-20 06:48:00 +00:00
ryan
35086b850f Post revisions from mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 23:38:21 +00:00
ryan
fbe04fbf90 Shift-click to select a range of checkboxes. Props mdawaffe. fixes #6541 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 22:23:02 +00:00
ryan
2ca92d8905 Don't run url_to_postid on admin pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 18:22:33 +00:00
ryan
65e4ddc684 Don't query post cats if no post. see #2621
git-svn-id: http://svn.automattic.com/wordpress/trunk@7739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 18:12:04 +00:00
ryan
1fdbde921b wp_category_checklist() and wp_link_category_checklist() to replace the nested cats code. see #2621
git-svn-id: http://svn.automattic.com/wordpress/trunk@7737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 17:41:10 +00:00
ryan
019e456c4c Checking for 0 and 1 instead of != spam is faster.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 22:33:35 +00:00
ryan
f42f78b3b1 Typo fix. see #6578
git-svn-id: http://svn.automattic.com/wordpress/trunk@7730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 22:00:39 +00:00
ryan
3821189be8 Tweak unused widgets interface. Make widget titles less repetitive. fixes #6349 #5823 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 20:36:59 +00:00
ryan
66ad98c078 Verify widget option sanity. Props Viper007Bond. fixes #6578 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 20:14:07 +00:00
ryan
d5f5f07270 Revert [7689], gonna try another approach. see #6677
git-svn-id: http://svn.automattic.com/wordpress/trunk@7720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 19:32:38 +00:00
ryan
35f17e4dea Key meta box array by id. Props Denis-de-Bernardy. fixes #6192 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 19:20:15 +00:00
ryan
26fd2097a0 Protect the <pre> and <script> tags when switching editors. Props azaozz. fixes #6610 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 19:11:21 +00:00
ryan
e399f6ad54 Cache comment count and use count API in menu.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@7714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 23:45:39 +00:00
ryan
957a61318b array_shift() error fixes from DD32. fixes #6499 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 23:09:51 +00:00
ryan
d18e3f9d4a Preserve author during autosave. fixes #6753 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 22:56:37 +00:00
ryan
a5f480ebec Legacy uploader fix from tellyworth. fixes #6629 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 22:03:44 +00:00
ryan
5748fbb486 Make profile fields wider. Props tellyworth. fixes #6581 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 22:01:32 +00:00
ryan
7f5548e55b Custom header and color picker fixes from mdawaffe. fixes #6577 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 20:58:03 +00:00
ryan
d814986be2 Strip slashes before preparing link for insert. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 05:55:27 +00:00
ryan
47a695049e Demand load the category list. Props mdawaffe. see #6677
git-svn-id: http://svn.automattic.com/wordpress/trunk@7689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-15 18:00:52 +00:00
ryan
cab4206406 Workaround response truncation by reducing size of response after uploading with flash uploader. Props tellyworth. fixes #6713
git-svn-id: http://svn.automattic.com/wordpress/trunk@7682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 23:09:14 +00:00
ryan
b97e7fa82b Fix IE6 overlap and remove unnecessary markup. Props tellyworth. fixes #6661 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 20:48:11 +00:00
ryan
47c6ee0e09 Suppress exif_read_data() errors. Props tellyworth. fixes #6571 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 20:19:15 +00:00
ryan
02e0c889f7 Pass size to image_send_to_editor filter. fies #6691 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 19:47:07 +00:00
ryan
8eff77e82d More efficient category and list JS from mdawaffe. fixes #6677 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 19:31:20 +00:00
ryan
6e662d708b Move define of AUTOSAVE_INTERVAL to wp-settings so that it is available earlier. Props simonwheatley. fixes #6668 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 17:07:34 +00:00
ryan
b7c7f9d1c2 CSS typo fixes from spirit55555. fixes #6653 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 17:05:24 +00:00
ryan
4c9d2e9dfa Check create_users cap instead of edit_users wgen adding/inserting users. Props imwebgefunden. fixes #6662 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:57:29 +00:00
ryan
b9b5291c18 Typo fixes. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:49:17 +00:00
ryan
ab7af57751 Use input instead of button to work around IE6 bug. Props tellyworth. fixes #6660 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:38:25 +00:00
ryan
1d67896b70 Validation fixes for uploader. Props sambauers. fixes #6659 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:33:37 +00:00
ryan
b83563f368 Add some actions and filters to the media uploader. Props tellyworth. fixes #6658 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:32:04 +00:00
ryan
030a8b9b33 Fix image fetching in get_media_items(). Props tellyworth. fixes #6657 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:30:27 +00:00
ryan
d943a8252a Make MT post status lower case when importing. Props jgbishop. fixes #6656 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:26:21 +00:00
ryan
248a0c06e2 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:13:25 +00:00
ryan
796ae7104e Use error handler instead of die when moving files to upload dir fails. Props simonwheatley. fixes #6450 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:01:59 +00:00
matt
43c3c8ef36 Direct file system manip fixes, should fix .svn upgrade problem. Hat tip: DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-13 04:04:57 +00:00
ryan
81370476f4 Add post_date_column_time filter for easy time customization.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-10 18:59:17 +00:00
ryan
132ac51a5a Use wp_count_posts() to determine availabel statuses for get_available_post_statuses(). fixes #6654 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-09 20:09:45 +00:00
ryan
3fffac7d5d Disambiguate default slugs. Props RanYanivHartstein. fixes #6614 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 17:14:18 +00:00
ryan
9ffa66c56c Show all categories in category filter. Don't show misleading counts. see #6439
git-svn-id: http://svn.automattic.com/wordpress/trunk@7625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 01:53:53 +00:00
ryan
3794dc04b4 Avoid data-loss when editing multi-widgets. Props mdawaffe. fixes #6636 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 21:40:32 +00:00
ryan
92fe7fcad0 Fix add_users_page() when current user does not have edit_users cap. Props mattyrob. fixes #6621 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 21:25:31 +00:00
ryan
aeb2b5bf9f Update timestamp when only the minute value is changed. fixes #6456 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 17:19:43 +00:00
ryan
aad4350fb1 upload_file_glob filter from tellyworth. fixes #6628 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 17:10:00 +00:00
ryan
90952804da Update timestamp when only the minute value is changed. fixes #6456 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 17:06:56 +00:00
ryan
82f01c5c79 Fix RTL alignment for delete button. Props RanYanivHartstein. fixes #6617 for 2.6
git-svn-id: http://svn.automattic.com/wordpress/trunk@7607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-06 23:26:25 +00:00
ryan
f83ca8ec0d Order cats by name. Props MtDewVirus. fixes #6623 for 2.6
git-svn-id: http://svn.automattic.com/wordpress/trunk@7603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-06 22:29:18 +00:00
matt
70dae93a6a Deal more elegantly with blogs with blank titles. (Which is apparently pretty common.)
git-svn-id: http://svn.automattic.com/wordpress/trunk@7600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-05 00:54:56 +00:00
markjaquith
aff9f47646 Don't show delete checkbox for default category. HTML validation. props johnbillion. fixes #6560 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-03 05:02:19 +00:00
westi
9a15c3a960 Ensure we only fire off ajax requests for the dashboard widgets when the cache has expired. Fixes #6533 for trunk props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-02 16:22:53 +00:00
westi
8ca58c943e Rearrange the media uploader view so the filename is visible. Fixes #6517 for trunk props andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-01 21:12:35 +00:00
markjaquith
6e9a44bd99 Move user search </form> to correct position. props Nazgul and bl968. fixes #6462 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 16:48:31 +00:00
markjaquith
9eeb25a302 Remove errant commas to prevent file uploader script errors in IE7. props tsimmons. fixes #6443 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 06:11:30 +00:00
markjaquith
1e668ea293 Update timestamp when only the minute value is changed. props johnconners. fixes #6456 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 06:00:59 +00:00
markjaquith
8462894aef Cannot use Silk icon because of an incompatible license. Not really needed with background color and "Active" text anyway. see #6275
git-svn-id: http://svn.automattic.com/wordpress/trunk@7565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-29 07:21:12 +00:00
markjaquith
a364c8f80e Sync page edit and post edit redirect message usage a bit more -- properly exclude the page.php file from the "go back" link for page edits.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-29 06:47:30 +00:00
ryan
acb9f8f738 do not add rel if link is not get_attachment_link. Props andy. fixes #6428
git-svn-id: http://svn.automattic.com/wordpress/trunk@7557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-28 03:53:05 +00:00
ryan
585f442ec5 Redirect back to attachment permalink page after editing attachment via 'Edit This' link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 22:05:51 +00:00
ryan
5a3c15d7bd RTL fixes from mani_monaj. see #6296
git-svn-id: http://svn.automattic.com/wordpress/trunk@7552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 20:33:56 +00:00
westi
a0706cbb8a Allow a plugin to force enable/disable the flash uploader. See #6406 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 17:37:37 +00:00
ryan
ba90d16134 Use is_numeric instead of ctype_digit. Props josephscott. fixes #5481
git-svn-id: http://svn.automattic.com/wordpress/trunk@7549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 16:56:56 +00:00
ryan
3cfb4b406c Return WP_Error from download_url() on HTTP Errors. Fix cases where current plugin filename differs from the WordPress.org slug. Props DD32. see #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@7547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 07:36:30 +00:00
ryan
70a2ebbdd3 Init categories array. Props tellyworth. fixes #6411
git-svn-id: http://svn.automattic.com/wordpress/trunk@7546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 07:20:53 +00:00
markjaquith
2b93618c82 Tags work without JS, so we should not hide them!
git-svn-id: http://svn.automattic.com/wordpress/trunk@7544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 03:02:54 +00:00
markjaquith
f945af84d8 Don't show broken parent post links for orphaned media. fixes #6408
git-svn-id: http://svn.automattic.com/wordpress/trunk@7543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 02:50:01 +00:00
ryan
b9fff33927 Media edit and delete redirect fixes. WIP.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 01:48:22 +00:00
ryan
74cff8bd3c Add nonce and gettext to sidebar.php. Fix sidebar redirect.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 23:41:41 +00:00
ryan
bfba721708 Active plugin highlighting tweaks from MT. fixes #6275
git-svn-id: http://svn.automattic.com/wordpress/trunk@7538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 22:27:27 +00:00
ryan
b39d0790ec Fix redirects after editing and deleting link categories.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 22:21:01 +00:00
ryan
8c42926dee Fix redirects after editing and deleting tags.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 21:54:02 +00:00
ryan
fccd2c132e Fix user feedback when editing attachment details immediately after upload. Props andy. fixes #6398
git-svn-id: http://svn.automattic.com/wordpress/trunk@7535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 21:26:28 +00:00
ryan
d9e10dd831 Fix user feedback when editing attachment details immediately after upload. Props andy. fixes #6398
git-svn-id: http://svn.automattic.com/wordpress/trunk@7534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 21:22:19 +00:00
markjaquith
feece21b1f Use attachment title instead of filename, unless it is empty
git-svn-id: http://svn.automattic.com/wordpress/trunk@7533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 21:00:21 +00:00
markjaquith
f0a9ece115 Use red background delete style for Delete Comment link on Edit Comment screen. fixes #6396
git-svn-id: http://svn.automattic.com/wordpress/trunk@7530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 20:15:52 +00:00
markjaquith
e6f396880b Clean up the Write Post/Write Page/Edit Comment screens for people without JS. Introduce the hide-if-no-js and hide-if-js automagical classes. fixes #6395
git-svn-id: http://svn.automattic.com/wordpress/trunk@7529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 20:06:18 +00:00
ryan
07697db8d1 Link to post instead of post editor from edit-comments.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 19:35:42 +00:00
ryan
1c0b403516 Redirect consistency when saving pages and posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 18:55:24 +00:00
ryan
6a700defeb Fix plugin error scraping in the plugin editor. Props DD32. fixes #6332
git-svn-id: http://svn.automattic.com/wordpress/trunk@7525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 16:14:29 +00:00
markjaquith
95672cb4a2 Old school green color for active plugins was harshing on my WP 2.5 zen colors. see #6275
git-svn-id: http://svn.automattic.com/wordpress/trunk@7523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 07:29:28 +00:00
markjaquith
75a2f04fa9 Consensus is to make "Visit Site" links open in the same tab/window. fixes #6163
git-svn-id: http://svn.automattic.com/wordpress/trunk@7522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 07:14:07 +00:00
ryan
e1b1845154 Taxonomy links and template tags from andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 06:37:19 +00:00
matt
909c0f8fbd Removing active image.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 04:48:20 +00:00
ryan
ed0379930b Tweak active plugin highlighting. WIP. see #6275
git-svn-id: http://svn.automattic.com/wordpress/trunk@7518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 04:23:02 +00:00
ryan
7e93fa628f Filter list of plugins actions. Props DD32. see #5660
git-svn-id: http://svn.automattic.com/wordpress/trunk@7517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 03:59:40 +00:00
ryan
7971f0a536 Markup fixes for plugins page from DD32. fixes #6383
git-svn-id: http://svn.automattic.com/wordpress/trunk@7515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 03:33:14 +00:00
ryan
d25d202e72 Pass box to add_meta_box() callback. Props henrikmelin. fixes #6316
git-svn-id: http://svn.automattic.com/wordpress/trunk@7514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 03:31:27 +00:00
ryan
8895454664 Fixing several problems with TiynMCE, triggering of autosave() on an empty post in Safari 3.1, <br> tags in FF, <object> tag may break if switching from Visual to HTML mode and back several times, little cleanup of the compressor and others. Props azaozz. fixes #6384
git-svn-id: http://svn.automattic.com/wordpress/trunk@7513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 03:22:53 +00:00
markjaquith
e05db09acb Prevent individual post comment listing admin page title from sneaking behind the search box. fixes #6375
git-svn-id: http://svn.automattic.com/wordpress/trunk@7512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-25 20:09:34 +00:00
markjaquith
6054151013 Check the Alignment: None box by default for media insertion. XHTML validation. see #6379
git-svn-id: http://svn.automattic.com/wordpress/trunk@7510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-25 07:33:57 +00:00
ryan
48db986c36 Fix addition of new meta keys when no meta keys currently exist. Props DD32. fixes #6343
git-svn-id: http://svn.automattic.com/wordpress/trunk@7509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-25 01:42:38 +00:00
ryan
064322eded Reture true from got_mod_rewrite if we can't determine if the module is loaded. Add got_rewrite filter. Props andy. fixes #6278
git-svn-id: http://svn.automattic.com/wordpress/trunk@7508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-25 00:22:37 +00:00