7010 Commits

Author SHA1 Message Date
Ryan Boren
0e8367fc06 Add or remove class=aligncenter when aligning images in TinyMCE. Props azaozz. fixes #6645 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7686 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 16:02:26 +00:00
Ryan Boren
88e48b7c9e Fix menu_order ordering. Props torfason. fixes #6731 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7684 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 01:39:19 +00:00
Ryan Boren
bb66b9f0b6 Workaround response truncation by reducing size of response after uploading with flash uploader. Props tellyworth. fixes #6713 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7683 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 23:09:50 +00:00
Ryan Boren
2ab5dd624a tiny_mce_gzip.php no longer needed
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7680 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 22:30:06 +00:00
Ryan Boren
18b3d5d651 TinyMCE 3.0.7 from azaozz. fixes #6726 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7678 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 22:18:42 +00:00
Ryan Boren
f6b66c4847 Fix IE6 overlap and remove unnecessary markup. Props tellyworth. fixes #6661 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7676 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 20:47:51 +00:00
Ryan Boren
0483c8b041 Allow TinyMCE to work under SSL. Fixes #6544 for 2.5. Hat tip: blenjee, azaozz.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7675 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 20:34:31 +00:00
Ryan Boren
7befe78e3c Suppress exif_read_data() errors. Props tellyworth. fixes #6571 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7674 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 20:19:34 +00:00
Ryan Boren
f4ac566556 Pass size to image_send_to_editor filter. fies #6691 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7672 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:47:37 +00:00
Ryan Boren
a26ecb1175 More efficient category and list JS from mdawaffe. fixes #6677 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7670 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:31:46 +00:00
Ryan Boren
d2f1cf1355 Fix category exclusion when getting adjacent posts. Props filosofo. fixes #6551 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7668 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:57:30 +00:00
Ryan Boren
34a2832840 Handle pathinfo structures when determining if verbose page rules should be used. Props dlo. fixes #6650 #6570 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7666 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:19:40 +00:00
Ryan Boren
d0b2172fd0 Move define of AUTOSAVE_INTERVAL to wp-settings so that it is available earlier. Props simonwheatley. fixes #6668 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7663 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:07:18 +00:00
Ryan Boren
608d027b9d CSS typo fixes from spirit55555. fixes #6653 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7661 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:05:09 +00:00
Ryan Boren
c35eae80d2 Check create_users cap instead of edit_users wgen adding/inserting users. Props imwebgefunden. fixes #6662 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7659 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:56:55 +00:00
Ryan Boren
dd984e8fe8 Use input instead of button to work around IE6 bug. Props tellyworth. fixes #6660 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7656 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:38:59 +00:00
Ryan Boren
d1bd671375 Validation fixes for uploader. Props sambauers. fixes #6659 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7653 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:33:26 +00:00
Ryan Boren
6961e68110 Fix image fetching in get_media_items(). Props tellyworth. fixes #6657 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7650 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:30:09 +00:00
Ryan Boren
9ffe16fce4 Make MT post status lower case when importing. Props jgbishop. fixes #6656 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7648 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:26:07 +00:00
Ryan Boren
7a2c3bf555 Make get_posts args optional. Props karlkatzke and Otto42. fixes #6608 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7646 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:23:16 +00:00
Ryan Boren
9946f47e08 Use error handler instead of die when moving files to upload dir fails. Props simonwheatley. fixes #6450 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7643 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:01:46 +00:00
Ryan Boren
311def29c3 Add post_date_column_time filter for easy time customization.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7639 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-10 18:58:26 +00:00
Ryan Boren
1dd3c0916a Use wp_count_posts() to determine availabel statuses for get_available_post_statuses(). fixes #6654 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7637 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-09 20:09:08 +00:00
Ryan Boren
cd9a2ee924 Don't send content length for tinymce config. Props azaozz. fixes #6524 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7636 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-09 19:02:46 +00:00
Ryan Boren
31e0e6dfa0 Use DB prepare on login queries. Props filosofo. fixes #6640 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7632 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 17:29:39 +00:00
Ryan Boren
d9652924ec Strip percent signs when sanitizing filenames so the server doesn't try to decode entities. Props filosofo. fixes #5587 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7630 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 17:21:02 +00:00
Ryan Boren
4bff4a9b74 Disambiguate default slugs. Props RanYanivHartstein. fixes #6614 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7629 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 17:14:33 +00:00
Ryan Boren
e19d033905 Move category query to get category case of get_permalink to avoid unnecessary queries. Props mdawaffe. fixes #6638 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7627 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 01:55:26 +00:00
Ryan Boren
50f0280101 Show all categories in category filter. Don't show misleading counts. see #6439
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7624 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 01:51:57 +00:00
Ryan Boren
d3d53ccc54 Revert [7606]. It breaks setting posts page. see #6539
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7623 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 01:06:34 +00:00
Ryan Boren
2d49a2936c Avoid data-loss when editing multi-widgets. Props mdawaffe. fixes #6636 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7621 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 21:40:41 +00:00
Ryan Boren
66930bb713 Fix add_users_page() when current user does not have edit_users cap. Props mattyrob. fixes #6621 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7619 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 21:25:42 +00:00
Ryan Boren
3d42524028 Escape faultString in IXR. Props josephscott. fixes #5666 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7616 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 18:32:17 +00:00
Ryan Boren
b9bf9c3b0c Update timestamp when only the minute value is changed. fixes #6456 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7613 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 17:19:26 +00:00
Ryan Boren
ebccfdb6a7 upload_file_glob filter from tellyworth. fixes #6628 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7612 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 17:10:20 +00:00
Ryan Boren
37c02bd5de Update timestamp when only the minute value is changed. fixes #6456 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7610 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 17:07:42 +00:00
Ryan Boren
c1bb0d4995 Fix RTL alignment for delete button. Props RanYanivHartstein. fixes #6617 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7608 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-06 23:26:43 +00:00
Ryan Boren
5b4f094cc4 Explicit ID check so we don't fall through for empties. Props natecook. fixes #6539 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7606 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-06 23:23:16 +00:00
Ryan Boren
053739c0e7 Order cats by name. Props MtDewVirus. fixes #6623 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7604 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-06 22:30:46 +00:00
Peter Westwood
2b4d9e930b Select the link in the link popup again. Fixes #6521 for 2.5.1 props azaozz.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7598 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-03 20:16:04 +00:00
Mark Jaquith
0b84c8c158 Don't show delete checkbox for default category. HTML validation. props johnbillion. fixes #6560 for 2.5.1
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7596 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-03 05:03:44 +00:00
Mark Jaquith
1b0b28bca3 Parse shortcodes AFTER wpautop() to avoid mangling. Have wptexturize() ignore shortcodes so quotes stay straight. fixes #6444 for 2.5.1
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7594 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-03 03:15:06 +00:00
Mark Jaquith
d774f6ed67 Fix gallery shortcode orderby param for all SQL setups. Sanitize orderby. fixes #6476 for 2.5.1
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7593 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-03 03:06:01 +00:00
Peter Westwood
be1004fa87 Ensure we only fire off ajax requests for the dashboard widgets when the cache has expired. Fixes #6533 for 2.5.1 props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7591 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-02 16:23:59 +00:00
Peter Westwood
aa03e95172 Replace the last usage of ctype_digit with is_numeric. Fixes #6534 for 2.5.1 props mtekk.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7589 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-02 16:19:32 +00:00
Mark Jaquith
93440957f3 Sanitize "cat" query var and cast to int before looking for a category template
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7586 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-02 13:15:21 +00:00
Peter Westwood
66c3c6fa52 Rearrange the media uploader view so the filename is visible. Fixes #6517 for 2.5.1 props andy.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7585 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-01 21:14:17 +00:00
Peter Westwood
87421e218c Make sure the rewrite rules for the feed files match when WordPress is installed in a subdirectory. Fixes #6460 for 2.5.1.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7583 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-31 19:56:29 +00:00
Peter Westwood
635000b8cf Mark the branch as what it is.
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7580 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 21:13:52 +00:00
Mark Jaquith
b05ab121bc Move user search </form> to correct position. props Nazgul and bl968. fixes #6462 for 2.5.1
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7578 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 16:48:53 +00:00