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
|
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
|
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 |
|
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 |
|
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
|
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
|
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
|
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
|
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 |
|
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 |
|
Mark Jaquith
|
15be7fdab8
|
Check for apply_filters() in status_header() so that it can be called early on in load process
git-svn-id: https://develop.svn.wordpress.org/trunk@6107 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-13 05:00:46 +00:00 |
|
Ryan Boren
|
05d9662d3e
|
no follow callback
git-svn-id: https://develop.svn.wordpress.org/trunk@6105 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-13 04:51:33 +00:00 |
|
Mark Jaquith
|
d2b1b4ec3b
|
Move $wp_header_to_desc array to get_status_header_desc() so that it can be called before vars.php is loaded.
git-svn-id: https://develop.svn.wordpress.org/trunk@6104 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-13 04:48:41 +00:00 |
|
Mark Jaquith
|
f5821a6ff7
|
Plugins are not loaded at this point, so the wp_header_to_desc_array filter is useless
git-svn-id: https://develop.svn.wordpress.org/trunk@6103 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-13 04:13:32 +00:00 |
|
Ryan Boren
|
e0b73aa55a
|
Don't strip slashes from pre. Props DelGurth and mdawaffe. fixes #2059
git-svn-id: https://develop.svn.wordpress.org/trunk@6102 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-13 04:11:21 +00:00 |
|
Mark Jaquith
|
74cddbcf72
|
fix links generated by get_category_rss_link(). props gwagenknecht. fixes #4550 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6100 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-12 22:24:28 +00:00 |
|
Mark Jaquith
|
23eba5ca0a
|
Set $theme_loc correctly when ABSPATH is "/". Props arabek. fixes #4541
git-svn-id: https://develop.svn.wordpress.org/trunk@6099 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-12 22:19:26 +00:00 |
|
Mark Jaquith
|
41f61e4056
|
Set widget classname when passed string, object/method, object-reference/method. fixes #4910
git-svn-id: https://develop.svn.wordpress.org/trunk@6098 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-12 20:48:21 +00:00 |
|
Mark Jaquith
|
88c31f17b1
|
Ignore HOST capitalization differences for canonical redirects. props jbctech. fixes #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@6097 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-12 20:44:41 +00:00 |
|
Peter Westwood
|
2c1f68efe3
|
Allow plugins to sanitize there own options easily.
git-svn-id: https://develop.svn.wordpress.org/trunk@6096 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-12 18:15:29 +00:00 |
|
Peter Westwood
|
41bd579f15
|
Ensure the parentlink is trailingslashed when building the url - don't trim / off the front. Fixes #2801 props Libertus
git-svn-id: https://develop.svn.wordpress.org/trunk@6095 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-12 17:46:13 +00:00 |
|
Peter Westwood
|
6eaa87a9a9
|
Consolidate shared code in get_userdata and get_userdatabylogin. Fixes #2134 props johnjosephbachir
git-svn-id: https://develop.svn.wordpress.org/trunk@6094 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-12 17:15:17 +00:00 |
|
Peter Westwood
|
df7d8eaacd
|
Make the atom feed updated field actually tell you when the post was updated. Fixes #4816 props lapcat.
git-svn-id: https://develop.svn.wordpress.org/trunk@6093 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-12 16:26:39 +00:00 |
|
Ryan Boren
|
514fb8f764
|
More phpdoc for taxonomy from darkdragon. see #4742
git-svn-id: https://develop.svn.wordpress.org/trunk@6092 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-12 02:56:44 +00:00 |
|
Ryan Boren
|
a6fba8edcf
|
Add echo or return option to wp_list_categories. Props Otto42. fixes #4182
git-svn-id: https://develop.svn.wordpress.org/trunk@6091 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-12 02:53:27 +00:00 |
|