Commit Graph

442 Commits

Author SHA1 Message Date
Ryan Boren
f15d3fc773 Don't query post cats if no post. see #2621
git-svn-id: https://develop.svn.wordpress.org/trunk@7739 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 18:12:04 +00:00
Ryan Boren
7f228f1cd6 wp_category_checklist() and wp_link_category_checklist() to replace the nested cats code. see #2621
git-svn-id: https://develop.svn.wordpress.org/trunk@7737 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 17:41:10 +00:00
Ryan Boren
726f7f5e56 Checking for 0 and 1 instead of != spam is faster.
git-svn-id: https://develop.svn.wordpress.org/trunk@7732 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 22:33:35 +00:00
Ryan Boren
cf3bbc413a Typo fix. see #6578
git-svn-id: https://develop.svn.wordpress.org/trunk@7730 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 22:00:39 +00:00
Ryan Boren
714c276a62 Tweak unused widgets interface. Make widget titles less repetitive. fixes #6349 #5823 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7726 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:36:59 +00:00
Ryan Boren
228eab4870 Verify widget option sanity. Props Viper007Bond. fixes #6578 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7721 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:14:07 +00:00
Ryan Boren
2d413e83cd Revert [7689], gonna try another approach. see #6677
git-svn-id: https://develop.svn.wordpress.org/trunk@7720 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 19:32:38 +00:00
Ryan Boren
4906d696de Key meta box array by id. Props Denis-de-Bernardy. fixes #6192 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7719 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 19:20:15 +00:00
Ryan Boren
02b7abe6fa Legacy uploader fix from tellyworth. fixes #6629 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7707 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 22:03:44 +00:00
Ryan Boren
cbcc62a5b2 Strip slashes before preparing link for insert. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7693 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 05:55:27 +00:00
Ryan Boren
97cfa272b0 Demand load the category list. Props mdawaffe. see #6677
git-svn-id: https://develop.svn.wordpress.org/trunk@7689 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 18:00:52 +00:00
Ryan Boren
a58816e2ab Workaround response truncation by reducing size of response after uploading with flash uploader. Props tellyworth. fixes #6713
git-svn-id: https://develop.svn.wordpress.org/trunk@7682 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 23:09:14 +00:00
Ryan Boren
2dc11fe349 Fix IE6 overlap and remove unnecessary markup. Props tellyworth. fixes #6661 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7677 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 20:48:11 +00:00
Ryan Boren
e41144b4d4 Suppress exif_read_data() errors. Props tellyworth. fixes #6571 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7673 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 20:19:15 +00:00
Ryan Boren
55a14f52a9 Pass size to image_send_to_editor filter. fies #6691 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7671 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:47:07 +00:00
Ryan Boren
14b93694f0 More efficient category and list JS from mdawaffe. fixes #6677 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7669 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:31:20 +00:00
Ryan Boren
134476c652 Move define of AUTOSAVE_INTERVAL to wp-settings so that it is available earlier. Props simonwheatley. fixes #6668 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7664 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:07:34 +00:00
Ryan Boren
9be8f95463 Typo fixes. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7658 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:49:17 +00:00
Ryan Boren
5af761df74 Use input instead of button to work around IE6 bug. Props tellyworth. fixes #6660 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7655 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:38:25 +00:00
Ryan Boren
e203f8dad1 Validation fixes for uploader. Props sambauers. fixes #6659 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7654 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:33:37 +00:00
Ryan Boren
537500dadc Add some actions and filters to the media uploader. Props tellyworth. fixes #6658 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7652 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:32:04 +00:00
Ryan Boren
26b8bb3800 Fix image fetching in get_media_items(). Props tellyworth. fixes #6657 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7651 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:30:27 +00:00
Ryan Boren
fdc05b24f6 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7645 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:13:25 +00:00
Ryan Boren
32e9822516 Use error handler instead of die when moving files to upload dir fails. Props simonwheatley. fixes #6450 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7644 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:01:59 +00:00
Matt Mullenweg
2ae626662f Direct file system manip fixes, should fix .svn upgrade problem. Hat tip: DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@7641 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-13 04:04:57 +00:00
Ryan Boren
a9d89696f3 Use wp_count_posts() to determine availabel statuses for get_available_post_statuses(). fixes #6654 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7638 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-09 20:09:45 +00:00
Ryan Boren
8f8bffd373 Disambiguate default slugs. Props RanYanivHartstein. fixes #6614 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7628 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 17:14:18 +00:00
Ryan Boren
373fab4080 Update timestamp when only the minute value is changed. fixes #6456 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7614 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 17:19:43 +00:00
Ryan Boren
95c1b352e1 upload_file_glob filter from tellyworth. fixes #6628 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7611 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 17:10:00 +00:00
Ryan Boren
d7f9059180 Update timestamp when only the minute value is changed. fixes #6456 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7609 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 17:06:56 +00:00
Mark Jaquith
2265d43956 Don't show delete checkbox for default category. HTML validation. props johnbillion. fixes #6560 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7595 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-03 05:02:19 +00:00
Mark Jaquith
dcc47cfaaa Remove errant commas to prevent file uploader script errors in IE7. props tsimmons. fixes #6443 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7572 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 06:11:30 +00:00
Mark Jaquith
261a876e31 Update timestamp when only the minute value is changed. props johnconners. fixes #6456 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7570 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 06:00:59 +00:00
Ryan Boren
7725f13a7d do not add rel if link is not get_attachment_link. Props andy. fixes #6428
git-svn-id: https://develop.svn.wordpress.org/trunk@7557 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-28 03:53:05 +00:00
Peter Westwood
ba75677939 Allow a plugin to force enable/disable the flash uploader. See #6406 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@7550 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 17:37:37 +00:00
Ryan Boren
49e64b74e2 Use is_numeric instead of ctype_digit. Props josephscott. fixes #5481
git-svn-id: https://develop.svn.wordpress.org/trunk@7549 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 16:56:56 +00:00
Ryan Boren
69139c4672 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: https://develop.svn.wordpress.org/trunk@7547 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 07:36:30 +00:00
Ryan Boren
204899a05c Fix user feedback when editing attachment details immediately after upload. Props andy. fixes #6398
git-svn-id: https://develop.svn.wordpress.org/trunk@7535 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 21:26:28 +00:00
Ryan Boren
b3190f7164 Fix user feedback when editing attachment details immediately after upload. Props andy. fixes #6398
git-svn-id: https://develop.svn.wordpress.org/trunk@7534 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 21:22:19 +00:00
Mark Jaquith
f7c21d131d Use attachment title instead of filename, unless it is empty
git-svn-id: https://develop.svn.wordpress.org/trunk@7533 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 21:00:21 +00:00
Mark Jaquith
5e779414fd 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: https://develop.svn.wordpress.org/trunk@7529 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 20:06:18 +00:00
Ryan Boren
fb5315dda3 Link to post instead of post editor from edit-comments.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@7528 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 19:35:42 +00:00
Ryan Boren
ec33c42302 Taxonomy links and template tags from andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7520 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 06:37:19 +00:00
Ryan Boren
d99862c68d Pass box to add_meta_box() callback. Props henrikmelin. fixes #6316
git-svn-id: https://develop.svn.wordpress.org/trunk@7514 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 03:31:27 +00:00
Mark Jaquith
1912193111 Check the Alignment: None box by default for media insertion. XHTML validation. see #6379
git-svn-id: https://develop.svn.wordpress.org/trunk@7510 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-25 07:33:57 +00:00
Ryan Boren
500e630afc 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: https://develop.svn.wordpress.org/trunk@7508 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-25 00:22:37 +00:00
Mark Jaquith
c04bf3260a Preserve HTML entities in Custom Fields. fixes #6374
git-svn-id: https://develop.svn.wordpress.org/trunk@7506 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 22:06:17 +00:00
Ryan Boren
f36f51e266 Add GUI to first page. Props MichaelH. fixes #6373
git-svn-id: https://develop.svn.wordpress.org/trunk@7500 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 16:09:25 +00:00
Peter Westwood
deee165c74 Upgrade the database so we get all the new options for thumbnail size etc in all blogs.
git-svn-id: https://develop.svn.wordpress.org/trunk@7499 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 12:15:55 +00:00
Ryan Boren
cf9618758d Gallery display enhancements from tellyworth. fixes #6368
git-svn-id: https://develop.svn.wordpress.org/trunk@7496 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 02:57:19 +00:00