Commit Graph

3231 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Peter Westwood
4196a8a505 Rearrange the media uploader view so the filename is visible. Fixes #6517 for trunk props andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@7584 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-01 21:12:35 +00:00
Mark Jaquith
1f101350ba Parse shortcodes AFTER wpautop() to avoid mangling. Have wptexturize() ignore shortcodes so quotes stay straight. fixes #6444 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7581 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-31 07:56:58 +00:00
Peter Westwood
4589dad387 Specify collation as well when connecting to the database if it is provided. See #6410 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@7579 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 17:56:27 +00:00
Mark Jaquith
288211a88b Gallery XHTML validation fixes. props shelleyp. fixes #6461 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7575 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 16:41:43 +00:00
Peter Westwood
f12bcad806 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: https://develop.svn.wordpress.org/trunk@7574 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 13:42:03 +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
Peter Westwood
eca11d871d Trunk is for 2.6 development now.
git-svn-id: https://develop.svn.wordpress.org/trunk@7569 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-29 16:47:16 +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
Ryan Boren
da531d6aa9 get_term_link() fixes for core taxonomies. Props andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7526 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 18:26:22 +00:00
Ryan Boren
12a0a8fbbf RC2
git-svn-id: https://develop.svn.wordpress.org/trunk@7521 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 06:50: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
78c85d5222 Handle more than 3 columns in gallery. Props Dickie. fixes #6382
git-svn-id: https://develop.svn.wordpress.org/trunk@7516 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 03:34:55 +00:00
Ryan Boren
35c126a10a Fixing several problems with TiynMCE, triggering of autosave() on an empty post in Safari 3.1, <br> tags in FF, <object> tag may break if switching from Visual to HTML mode and back several times, little cleanup of the compressor and others. Props azaozz. fixes #6384
git-svn-id: https://develop.svn.wordpress.org/trunk@7513 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 03:22:53 +00:00
Ryan Boren
0daeb9bf4e Cleanup cat query var
git-svn-id: https://develop.svn.wordpress.org/trunk@7511 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-25 17:47:02 +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
Ryan Boren
98b27528d7 Accept array of object types when registering a taxonomy. Props andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7507 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 22:43:20 +00:00
Ryan Boren
d32e5b2e7c in_category(): Return immediately if category is empty.
git-svn-id: https://develop.svn.wordpress.org/trunk@7505 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 20:39:05 +00:00
Ryan Boren
6ab2307892 Fix some notices
git-svn-id: https://develop.svn.wordpress.org/trunk@7503 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 20:30:33 +00:00
Ryan Boren
a2920b21b6 FF3_b4 horizontal selects fix, widgets css fixes for IE6 and other small fixes and improvements from mt. fixes #6370
git-svn-id: https://develop.svn.wordpress.org/trunk@7502 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 16:18:30 +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
Matt Mullenweg
440a4d8076 Bring in forgotton tag_escape. Fixes #6368.
git-svn-id: https://develop.svn.wordpress.org/trunk@7497 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 05:15:28 +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
Peter Westwood
63bff04221 Setup the class variable for when it's not used. Props dickie.
git-svn-id: https://develop.svn.wordpress.org/trunk@7493 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 22:10:00 +00:00