Commit Graph

6955 Commits

Author SHA1 Message Date
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 972851a755 Make get_posts args optional. Props karlkatzke and Otto42. fixes #6608 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:23:29 +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
ryan 36c9588f08 phpdoc typo fix from filosofo. fixes #6712 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 15:53:09 +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 5b1208ebc3 Don't send content length for tinymce config. Props azaozz. fixes #6524 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-09 19:02:13 +00:00
ryan 77be80f02c Change get_the_time filter to get_post_time for the get_post_time() function. Props filosofo. fixes #6641 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 17:33:42 +00:00
ryan 79e2e8fa76 Use DB prepare on login queries. Props filosofo. fixes #6640 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 17:30:14 +00:00
ryan 4a33d268ab Strip percent signs when sanitizing filenames so the server doesn't try to decode entities. Props filosofo. fixes #5587 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 17:22:20 +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 9714b08b71 Move category query to get category case of get_permalink to avoid unnecessary queries. Props mdawaffe. fixes #6638 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 01:55:04 +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 c3e32dcd4e Revert [7605]. It breaks setting posts page. see #6539
git-svn-id: http://svn.automattic.com/wordpress/trunk@7622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 01:05:45 +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 4e1465b8d9 Remove unused starify function. Props josephscott. fixes #6634 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 21:13:48 +00:00
ryan 27167db9c3 Escape faultString in IXR. Props josephscott. fixes #5666 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-07 18:30:51 +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 81d1b488a9 Explicit ID check so we don't fall through for empties. Props natecook. fixes #6539 for 2.6
git-svn-id: http://svn.automattic.com/wordpress/trunk@7605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-06 23:23:05 +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 6099258ff9 Allow TinyMCE to work under SSL. Fixes #6544. Hat tip: blenjee, azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-06 21:29:36 +00:00
matt ad1c6ea083 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: http://svn.automattic.com/wordpress/trunk@7601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-05 05:54:08 +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
westi fd890d1fb4 Don't add new lines around the <!--more--> tag when posting over xmlrpc. Fixes #6016 props josephscott and redsweater.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-03 20:56:48 +00:00
westi ca41e227ad Select the link in the link popup again. Fixes #6521 for trunk props azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-03 20:14:37 +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 6a41b549d0 Fix gallery shortcode orderby param for all SQL setups. Sanitize orderby. fixes #6476 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-03 03:05:49 +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 3eee635513 Replace the last usage of ctype_digit with is_numeric. Fixes #6534 for trunk props mtekk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-02 16:18:11 +00:00
markjaquith 29a551d786 Sanitize "cat" query var and cast to int before looking for a category template
git-svn-id: http://svn.automattic.com/wordpress/trunk@7586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-02 13:15:21 +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 e0e2dedba5 Do not hyperlink the "Edit this entry" period. props phocks. fixes #6488
git-svn-id: http://svn.automattic.com/wordpress/trunk@7582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-31 17:02:41 +00:00
markjaquith 359fb2aced Parse shortcodes AFTER wpautop() to avoid mangling. Have wptexturize() ignore shortcodes so quotes stay straight. fixes #6444 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-31 07:56:58 +00:00
westi 74a7fc7923 Specify collation as well when connecting to the database if it is provided. See #6410 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 17:56:27 +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 5ab9ee6a8f Gallery XHTML validation fixes. props shelleyp. fixes #6461 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 16:41:43 +00:00
westi 88cbd04406 Make sure the rewrite rules for the feed files match when WordPress is installed in a subdirectory. See #6460 this is for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-30 13:42:03 +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
westi 9e849cc2ec Trunk is for 2.6 development now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-29 16:47:16 +00:00