Commit Graph

426 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
markjaquith
cdebbffe4c Preserve HTML entities in Custom Fields. fixes #6374
git-svn-id: http://svn.automattic.com/wordpress/trunk@7506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 22:06:17 +00:00
ryan
0092522115 Add GUI to first page. Props MichaelH. fixes #6373
git-svn-id: http://svn.automattic.com/wordpress/trunk@7500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 16:09:25 +00:00
westi
5180584bfb Upgrade the database so we get all the new options for thumbnail size etc in all blogs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 12:15:55 +00:00
ryan
193b20c03f Gallery display enhancements from tellyworth. fixes #6368
git-svn-id: http://svn.automattic.com/wordpress/trunk@7496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 02:57:19 +00:00
ryan
cce67416a3 Taxonomy queries and urls. Props andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 17:02:11 +00:00
ryan
0590b75eec Use is_plugin_active() and remove double searching. Props DD32. fixes #6332
git-svn-id: http://svn.automattic.com/wordpress/trunk@7488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 16:36:05 +00:00
ryan
b274b643a1 Typo fix from Viper007Bond. fixes #6358
git-svn-id: http://svn.automattic.com/wordpress/trunk@7487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 16:34:28 +00:00
matt
7d7a28c515 Sometimes people have huge numbers of posts, let's always number_format them. Also, additional related link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 07:10:17 +00:00
matt
94c34601ef Spacing cleanups and fixes. Hat tip: azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 06:41:43 +00:00
ryan
a4589fb866 Make sure cat parents are >= 0. see #6305
git-svn-id: http://svn.automattic.com/wordpress/trunk@7483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 01:10:46 +00:00
matt
b814963de2 register_taxonomy seems crippled and useless, but let's try it anyway.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 17:40:28 +00:00
westi
ad583a7219 Improve the tabindex's on the Write>Post page. Need to do the others too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 09:14:49 +00:00
ryan
058a14bccc Fix bad incrementor in widgets. Props mdawaffe. fixes #6350
git-svn-id: http://svn.automattic.com/wordpress/trunk@7469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 08:17:37 +00:00
ryan
a370785fbc Fix custom field add/update/delete. Props mdawaffe. fixes #6343
git-svn-id: http://svn.automattic.com/wordpress/trunk@7468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 08:15:48 +00:00
matt
32d9449194 Don't dupe widget titles. Fixes #6349. Hat tip: mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 07:35:11 +00:00
ryan
6de702f183 pretty delete animation, fix squashed icons and use 80x60 thumbs, add rel attrs to attachment links inserted from uploader. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 23:21:27 +00:00
ryan
1e11a54317 Deactivate plugins during plugin update. Props DD32. see #6262
git-svn-id: http://svn.automattic.com/wordpress/trunk@7465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 23:02:00 +00:00
markjaquith
2aa9ee9d08 Always show 15 media files per page in the media manager (do not use front-of-house ppp setting). props Denis-de-Bernardy. fixes #6334
git-svn-id: http://svn.automattic.com/wordpress/trunk@7458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 20:03:31 +00:00
markjaquith
48da5c40ad Better plugin-deactivation array-fu from Denis-de-Bernardy. fixes #6332
git-svn-id: http://svn.automattic.com/wordpress/trunk@7456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 19:34:27 +00:00
westi
d047875664 Translate WordPress. Fixes #6324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 09:20:04 +00:00