Commit Graph

6965 Commits

Author SHA1 Message Date
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
06fc36b142 Fix category exclusion when getting adjacent posts. Props filosofo. fixes #6551 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7667 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:56:58 +00:00
Ryan Boren
1795ef877c Handle pathinfo structures when determining if verbose page rules should be used. Props dlo. fixes #6650 #6570 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7665 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:18:53 +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
2e2afe0707 CSS typo fixes from spirit55555. fixes #6653 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7662 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:05:24 +00:00
Ryan Boren
142146177c Check create_users cap instead of edit_users wgen adding/inserting users. Props imwebgefunden. fixes #6662 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7660 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:57:29 +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
91aa0954a4 Add missing comma. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7657 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:45:12 +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
d12d1c803b Make MT post status lower case when importing. Props jgbishop. fixes #6656 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7649 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:26:21 +00:00
Ryan Boren
7e5969a1f9 Make get_posts args optional. Props karlkatzke and Otto42. fixes #6608 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7647 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:23:29 +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
Ryan Boren
763a6d5537 phpdoc typo fix from filosofo. fixes #6712 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7642 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 15:53:09 +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
acae15dd78 Add post_date_column_time filter for easy time customization.
git-svn-id: https://develop.svn.wordpress.org/trunk@7640 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-10 18:59:17 +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
357e5567c7 Don't send content length for tinymce config. Props azaozz. fixes #6524 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7635 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-09 19:02:13 +00:00
Ryan Boren
5b1eff3aaf Change get_the_time filter to get_post_time for the get_post_time() function. Props filosofo. fixes #6641 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7634 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 17:33:42 +00:00
Ryan Boren
9087912f89 Use DB prepare on login queries. Props filosofo. fixes #6640 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7633 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 17:30:14 +00:00
Ryan Boren
f9290af15d Strip percent signs when sanitizing filenames so the server doesn't try to decode entities. Props filosofo. fixes #5587 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7631 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 17:22:20 +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
2bb5262cdd Move category query to get category case of get_permalink to avoid unnecessary queries. Props mdawaffe. fixes #6638 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7626 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 01:55:04 +00:00
Ryan Boren
8f9e94e700 Show all categories in category filter. Don't show misleading counts. see #6439
git-svn-id: https://develop.svn.wordpress.org/trunk@7625 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 01:53:53 +00:00
Ryan Boren
11f65056f9 Revert [7605]. It breaks setting posts page. see #6539
git-svn-id: https://develop.svn.wordpress.org/trunk@7622 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 01:05:45 +00:00
Ryan Boren
a36e390a73 Avoid data-loss when editing multi-widgets. Props mdawaffe. fixes #6636 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7620 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 21:40:32 +00:00
Ryan Boren
916dad2756 Fix add_users_page() when current user does not have edit_users cap. Props mattyrob. fixes #6621 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7618 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 21:25:31 +00:00
Ryan Boren
7b825a3086 Remove unused starify function. Props josephscott. fixes #6634 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7617 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 21:13:48 +00:00
Ryan Boren
33520df2b6 Escape faultString in IXR. Props josephscott. fixes #5666 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7615 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 18:30:51 +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
Ryan Boren
60c92aa470 Fix RTL alignment for delete button. Props RanYanivHartstein. fixes #6617 for 2.6
git-svn-id: https://develop.svn.wordpress.org/trunk@7607 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-06 23:26:25 +00:00
Ryan Boren
9b41523d8f Explicit ID check so we don't fall through for empties. Props natecook. fixes #6539 for 2.6
git-svn-id: https://develop.svn.wordpress.org/trunk@7605 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-06 23:23:05 +00:00
Ryan Boren
ef0e189ba1 Order cats by name. Props MtDewVirus. fixes #6623 for 2.6
git-svn-id: https://develop.svn.wordpress.org/trunk@7603 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-06 22:29:18 +00:00
Matt Mullenweg
e43a4674a6 Allow TinyMCE to work under SSL. Fixes #6544. Hat tip: blenjee, azaozz.
git-svn-id: https://develop.svn.wordpress.org/trunk@7602 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-06 21:29:36 +00:00
Matt Mullenweg
e1ae860b7d The child should not have to pay for the sins of his father. Caching for children needs to be cleared when parent is edited; if we check for empty and not isset, it never gets better for empty results.
git-svn-id: https://develop.svn.wordpress.org/trunk@7601 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-05 05:54:08 +00:00
Matt Mullenweg
44aeb8508d Deal more elegantly with blogs with blank titles. (Which is apparently pretty common.)
git-svn-id: https://develop.svn.wordpress.org/trunk@7600 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-05 00:54:56 +00:00
Peter Westwood
4415c75743 Don't add new lines around the <!--more--> tag when posting over xmlrpc. Fixes #6016 props josephscott and redsweater.
git-svn-id: https://develop.svn.wordpress.org/trunk@7599 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-03 20:56:48 +00:00
Peter Westwood
ae0f2b688f Select the link in the link popup again. Fixes #6521 for trunk props azaozz.
git-svn-id: https://develop.svn.wordpress.org/trunk@7597 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-03 20:14:37 +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
ba4dab3cd6 Fix gallery shortcode orderby param for all SQL setups. Sanitize orderby. fixes #6476 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7592 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-03 03:05:49 +00:00
Peter Westwood
ecc7ec153a 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: https://develop.svn.wordpress.org/trunk@7590 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-02 16:22:53 +00:00
Peter Westwood
414be415cd Replace the last usage of ctype_digit with is_numeric. Fixes #6534 for trunk props mtekk.
git-svn-id: https://develop.svn.wordpress.org/trunk@7588 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-02 16:18:11 +00:00
Mark Jaquith
15490b8df5 Sanitize "cat" query var and cast to int before looking for a category template
git-svn-id: https://develop.svn.wordpress.org/trunk@7586 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-02 13:15:21 +00:00