3246 Commits

Author SHA1 Message Date
Ryan Boren
c11623df57 Custom header and color picker fixes from mdawaffe. fixes #6577 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7697 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 20:57:50 +00:00
Ryan Boren
a7f761a820 Add post ancestors to the cache for the post object. see #6702 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7695 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 17:23:40 +00:00
Ryan Boren
1fdf523d6e Relocate wp_authenticate action to fix back compat and make it more useful. fixes #6675 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7691 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 04:48:52 +00:00
Ryan Boren
e47619dea1 phpdoc typo fix from filosofo. fixes #6712 for 2.5
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7688 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 16:36:19 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
284699ed57 Gallery XHTML validation fixes. props shelleyp. fixes #6461 for 2.5.1
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7576 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 16:42:20 +00:00
Mark Jaquith
04b4931b1f Remove errant commas to prevent file uploader script errors in IE7. props tsimmons. fixes #6443 for 2.5.1
git-svn-id: https://develop.svn.wordpress.org/branches/2.5@7573 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 06:11:49 +00:00
Matt Mullenweg
f7e67d31f8 Live from WordCamp Dallas. :)
git-svn-id: https://develop.svn.wordpress.org/trunk@7566 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-29 14:39:28 +00:00
Matt Mullenweg
e0c55d6d00 In some environments people can override most things but not mod_sec rules, so this breaks their blog and they can't recover unless they manually edit the file. There is no way to detect whether you can overwrite the rules or not.
git-svn-id: https://develop.svn.wordpress.org/trunk@7563 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-29 04:03:09 +00:00
Peter Westwood
cc2dd59c98 Remove the slash from html generators and camelcase WP. Fixes #6440 props lloydbudd.
git-svn-id: https://develop.svn.wordpress.org/trunk@7562 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-28 19:05:22 +00:00
Matt Mullenweg
c85f10781c Shortcode quotes were getting texturized, which can cause a bit of chaos. Fixes #6436.
git-svn-id: https://develop.svn.wordpress.org/trunk@7561 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-28 15:23:09 +00:00
Ryan Boren
cbeae2c1f4 RC3
git-svn-id: https://develop.svn.wordpress.org/trunk@7560 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-28 07:02:55 +00:00
Ryan Boren
36b19bb6ad Disable mod_security for uploader. Props andy. see #6406
git-svn-id: https://develop.svn.wordpress.org/trunk@7558 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-28 06:08:20 +00:00
Ryan Boren
657b4a3725 TinyMCE RTL and paste as plain text fixes from azaozz. fixes #6429
git-svn-id: https://develop.svn.wordpress.org/trunk@7556 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-28 03:49:35 +00:00
Ryan Boren
243ff8e889 Rehash old md5 hashes inside of wp_check_password() to make hashing more pluggable.
git-svn-id: https://develop.svn.wordpress.org/trunk@7555 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 22:44:47 +00:00
Ryan Boren
6bda12dfad Redirect back to attachment permalink page after editing attachment via 'Edit This' link.
git-svn-id: https://develop.svn.wordpress.org/trunk@7554 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 22:05:51 +00:00
Ryan Boren
39ee18d8f3 Remove unanchored string replacement. Props nh7a. fixes #6423
git-svn-id: https://develop.svn.wordpress.org/trunk@7551 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 20:10:29 +00:00
Ryan Boren
93e1a716a6 Localize date in dashboard. Props hervada and nbachiyski. fixes #6397
git-svn-id: https://develop.svn.wordpress.org/trunk@7548 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 08:09:06 +00:00
Ryan Boren
8bb8033d6c Allow register_taxonomy() to be called before init for back compat with impatient plugins.
git-svn-id: https://develop.svn.wordpress.org/trunk@7545 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 06:30:20 +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
bfc779927b Autosave fixes for attachments from andy. fixes #6389
git-svn-id: https://develop.svn.wordpress.org/trunk@7532 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 20:28:40 +00:00
Ryan Boren
9ce77cf8d8 Fix attachment links for permalink structures containing category tag. Props andy. fixes #4699
git-svn-id: https://develop.svn.wordpress.org/trunk@7531 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 20:17:31 +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