Commit Graph

5576 Commits

Author SHA1 Message Date
Ryan Boren c93bdc05d1 Term with slug that conflicts with existing term with different parent gets a new term entry with a unique slug. see #5034
git-svn-id: https://develop.svn.wordpress.org/trunk@6157 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 18:01:08 +00:00
Ryan Boren f4012a2763 Revert part of [5263] to fix downloading in Safari. fixes #5040
git-svn-id: https://develop.svn.wordpress.org/trunk@6156 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 16:50:35 +00:00
Ryan Boren 4e45315a83 Don't reset parent when updating attachment. Props filosofo and michelwp. fixes #5010
git-svn-id: https://develop.svn.wordpress.org/trunk@6155 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 16:30:40 +00:00
Mark Jaquith e3901c0a0c Bookend moderation links properly with right square bracket. highest omg bbq? Still, nice catch, ozh. fixes #5035
git-svn-id: https://develop.svn.wordpress.org/trunk@6154 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 06:28:47 +00:00
Mark Jaquith 1c934d962c Add tag_base to list of untrailingslashed options, and standardize the unslashing. Prevents /mytags//tagname/
git-svn-id: https://develop.svn.wordpress.org/trunk@6153 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 06:11:48 +00:00
Mark Jaquith 381dc189dd Fix PATH_INFO first page paging link. fixes #5039
git-svn-id: https://develop.svn.wordpress.org/trunk@6152 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 06:07:03 +00:00
Mark Jaquith ccad303433 Core and plugin update checking: make sure fsockopen() is available and check file resources with is_resource() -- both to prevent feof() infinite loops. Props xknown. fixes #5037
git-svn-id: https://develop.svn.wordpress.org/trunk@6151 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 00:08:50 +00:00
Ryan Boren 856779888e Revert [5969]. It can break permalinks. see #4739
git-svn-id: https://develop.svn.wordpress.org/trunk@6150 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-21 19:36:12 +00:00
Ryan Boren 4f4bb50529 Export and import of post tags. fixes #4682
git-svn-id: https://develop.svn.wordpress.org/trunk@6149 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-21 18:34:28 +00:00
Ryan Boren 5aecb8912f Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6148 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-21 15:51:00 +00:00
Ryan Boren a83ced4491 Add some filtering. Props jhodgdon. fixes #5030
git-svn-id: https://develop.svn.wordpress.org/trunk@6147 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-21 15:04:13 +00:00
Ryan Boren c7dd7b6785 Updated RTL CSS from mani_monaj. fixes #5025
git-svn-id: https://develop.svn.wordpress.org/trunk@6146 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 23:36:45 +00:00
Mark Jaquith a6b8fe6c3a Pass the attempted redirect host as a second parameter in the allowed_redirect_hosts filter. props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@6145 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 21:53:42 +00:00
Ryan Boren 4d35d6b824 Always remove index.php from request before contructing page links. fixes #5000
git-svn-id: https://develop.svn.wordpress.org/trunk@6144 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 20:56:22 +00:00
Mark Jaquith 2aa1dc4038 Remove trailing /index.php fixing from canonical.php ... Thanks chaoticmortalcom. fixes #5017
git-svn-id: https://develop.svn.wordpress.org/trunk@6143 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 20:25:43 +00:00
Ryan Boren 759c182911 Bail if post is empty. Props mdawaffe. fixes #5019
git-svn-id: https://develop.svn.wordpress.org/trunk@6142 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 18:25:14 +00:00
Ryan Boren 59a07b76a9 Don't specialchars markup in term description. fixes #5021
git-svn-id: https://develop.svn.wordpress.org/trunk@6141 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 18:23:33 +00:00
Mark Jaquith 8e3759d314 Remove non-functioning and misleading "Privacy" label on install. fixes #5012
git-svn-id: https://develop.svn.wordpress.org/trunk@6140 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 21:45:23 +00:00
Mark Jaquith c782de1531 Make sure number_format_i18n() is available before calling it in timer_stop(). fixes #5016
git-svn-id: https://develop.svn.wordpress.org/trunk@6139 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 20:48:34 +00:00
Ryan Boren 6406e9bbeb Extra protection in check_ajax_referer from mdawaffe. fixes #4939
git-svn-id: https://develop.svn.wordpress.org/trunk@6138 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 19:32:34 +00:00
Ryan Boren 6e8eb02d73 Fix includes for setup-config so that wp_die is defined. Props DD32. fixes #4997
git-svn-id: https://develop.svn.wordpress.org/trunk@6137 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 04:27:56 +00:00
Mark Jaquith 38a6848169 Put a filter in wp_safe_redirect() so people can whitelist other domains. see #4606
git-svn-id: https://develop.svn.wordpress.org/trunk@6136 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 04:14:53 +00:00
Ryan Boren 7738085d0f RC1
git-svn-id: https://develop.svn.wordpress.org/trunk@6135 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 04:14:27 +00:00
Mark Jaquith 9b5fd1b17c More robust wp_safe_redirect(). Introducing wp_sanitize_redirect() for use in wp_redirect() and wp_safe_redirect(). fixes #4606
git-svn-id: https://develop.svn.wordpress.org/trunk@6134 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 03:47:37 +00:00
Ryan Boren 776b930d7f Script loader cleanup from mdawaffe. fixes #5003
git-svn-id: https://develop.svn.wordpress.org/trunk@6133 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 00:51:21 +00:00
Ryan Boren ec05e6cfd7 the_title_attribute(). Props Nazgul. fixes #4731
git-svn-id: https://develop.svn.wordpress.org/trunk@6132 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 22:50:59 +00:00
Mark Jaquith 421356b6b8 Introducing wp_safe_redirect(). fixes #4606 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6131 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 22:23:16 +00:00
Ryan Boren 7aabf7336f Fake being in the loop during export so that template tags work.
git-svn-id: https://develop.svn.wordpress.org/trunk@6130 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 18:01:47 +00:00
Ryan Boren b0baf1b7fd Import tags. see #4682
git-svn-id: https://develop.svn.wordpress.org/trunk@6129 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 17:50:21 +00:00
Ryan Boren 7941b7160a Revert rename of more-link class. Props foolswisdom. fixes #4999
git-svn-id: https://develop.svn.wordpress.org/trunk@6128 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:44:35 +00:00
Ryan Boren d06df9ddd6 Replace faulty regex. Props tenpura. fixes #4820
git-svn-id: https://develop.svn.wordpress.org/trunk@6127 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:42:25 +00:00
Ryan Boren 7977cdd349 Drop old tables. Props Nazgul. fixes #4995
git-svn-id: https://develop.svn.wordpress.org/trunk@6126 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:37:21 +00:00
Ryan Boren 5917c5458c Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6125 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:32:22 +00:00
Mark Jaquith 37d5915b8e Use maybe_unserialize() in get_usermeta(). Props filosofo. fixes #4993
git-svn-id: https://develop.svn.wordpress.org/trunk@6124 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-17 19:19:55 +00:00
Ryan Boren c5c55b7af2 Add tags-input class. Props momo360modena. fixes #4989
git-svn-id: https://develop.svn.wordpress.org/trunk@6123 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-16 18:25:10 +00:00
Ryan Boren 04187b1efe gettext string. Props tai. fixes #4985
git-svn-id: https://develop.svn.wordpress.org/trunk@6122 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-16 18:15:03 +00:00
Ryan Boren aed5679ace Don't lose tags when saving a post with attachments. Props filosofo. fixes #4532
git-svn-id: https://develop.svn.wordpress.org/trunk@6121 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-16 02:36:23 +00:00
Matt Mullenweg 092bbfb049 Sometimes the $page global is set but it's just an integer, like 1, not an object which we should try to address and put in the cache. The page would work but we'd do spurious wp_cache_add
git-svn-id: https://develop.svn.wordpress.org/trunk@6120 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 21:52:37 +00:00
Matt Mullenweg c1eda9c8c6 Because we're modifying an existing cache variable we need to do a _set, not an _add, like we do other places we stick multiple cache values in a single var and key.
git-svn-id: https://develop.svn.wordpress.org/trunk@6119 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 21:50:53 +00:00
Peter Westwood 0675c6fc51 Set svn:eol-style on a few files.
git-svn-id: https://develop.svn.wordpress.org/trunk@6118 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 17:35:32 +00:00
Matt Mullenweg 9a1ce32a53 Incorrect cache group was causing terms never to get cached.
git-svn-id: https://develop.svn.wordpress.org/trunk@6117 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 16:48:29 +00:00
Mark Jaquith a18368bf3f Properly name files with unknown extensions (for people with unfiltered_upload cap, natch). props Nazgul. fixes #4974 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6116 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-14 21:13:23 +00:00
Mark Jaquith f372b1dd05 Canonical fixes: Allow Pages to have /page/x/. Always trailing slash home when it is not paged. Strip extra trailing slashes off of /page/x///
git-svn-id: https://develop.svn.wordpress.org/trunk@6115 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-14 19:41:23 +00:00
Ryan Boren 3db6ccefb0 Deprecate fakeit arg. Props Nazgul. fixes #4439
git-svn-id: https://develop.svn.wordpress.org/trunk@6114 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 21:27:26 +00:00
Peter Westwood 8b7ae31cb9 Switch to is_callable instead of function_exists to allow for class based importer plugins. Fixes #4614
git-svn-id: https://develop.svn.wordpress.org/trunk@6113 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 20:36:31 +00:00
Mark Jaquith 6f76f4865d Handle ports for canonical redirects. Props driverkt and westi. fixes #4970
git-svn-id: https://develop.svn.wordpress.org/trunk@6112 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 19:24:05 +00:00
Mark Jaquith 2b72a424fc Just some indent fixes in canonical.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6111 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 19:12:53 +00:00
Mark Jaquith 5d12c48818 Use wp_die() for WPDB bails. Send 500 response and no-cache headers so wp_die()s are not cached. props DD32. fixes #3471
git-svn-id: https://develop.svn.wordpress.org/trunk@6110 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 06:23:23 +00:00
Ryan Boren 2e0f3b30e8 s/onChange/onchange/. Props grubgirl, Nazgul. fixes #4630
git-svn-id: https://develop.svn.wordpress.org/trunk@6109 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:33:54 +00:00
Mark Jaquith ff71837a58 De-rabbit-hole compat.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6108 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:24:31 +00:00