Mark Jaquith
|
7cdfccc12f
|
Strip /feed/ endings even if they are not at the very end, in canonical. props jhodgdon. fixes #8642 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10505 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-04 23:07:41 +00:00 |
|
Mark Jaquith
|
2e96af8795
|
Allow plugins to provide a canonical redirect_url even if WordPress does not provide its own. props wnorris. fixes #8975 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10448 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-01-28 08:47:42 +00:00 |
|
Mark Jaquith
|
07cf58c881
|
Only redirect categories if one "cat" positive integer is specified. fixes #8784 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10396 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-01-21 19:47:51 +00:00 |
|
Mark Jaquith
|
4911a69eaa
|
Handle front page comment feeds in Canonical. fixes #8320
git-svn-id: https://develop.svn.wordpress.org/trunk@9883 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-25 21:28:42 +00:00 |
|
Mark Jaquith
|
ee672054aa
|
Comment Page URL fixes by wnorris. fixes #8297
git-svn-id: https://develop.svn.wordpress.org/trunk@9831 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-21 17:33:05 +00:00 |
|
Mark Jaquith
|
7db2007a7b
|
Make Canonical feeds and paging play nice with each other and with PATHINFO URL structures. fixes #8076
git-svn-id: https://develop.svn.wordpress.org/trunk@9697 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-14 22:48:22 +00:00 |
|
Mark Jaquith
|
bf4913ea19
|
Revert [9193]. See #6627. Will revisit for 2.8
git-svn-id: https://develop.svn.wordpress.org/trunk@9649 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-12 21:55:25 +00:00 |
|
Mark Jaquith
|
f9e9676597
|
Canonical now only redirects to a different domain if the domains differ by their yes-www/no-www status. fixes #5089
git-svn-id: https://develop.svn.wordpress.org/trunk@9646 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-12 21:27:19 +00:00 |
|
Mark Jaquith
|
1feb7f4ffb
|
Catch more blank query string thing cases, without resorting to crazy regex. props filosofo. fixes #8098
git-svn-id: https://develop.svn.wordpress.org/trunk@9645 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-12 21:08:48 +00:00 |
|
Mark Jaquith
|
e383920415
|
Be more picky about the trailing blank query string things we strip. props filosofo, fitztrev, stevish, azaozz, DD32 (go team!). fixes #8098. fixes #8180
git-svn-id: https://develop.svn.wordpress.org/trunk@9642 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-12 20:09:16 +00:00 |
|
Ryan Boren
|
e36aee40d4
|
Don't use deprecated functions. Props filosofo. fixes #8130
git-svn-id: https://develop.svn.wordpress.org/trunk@9590 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-10 17:45:38 +00:00 |
|
Ryan Boren
|
dab986a9b0
|
Notice fixes from filosofo and Viper007Bond. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9506 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-04 03:22:24 +00:00 |
|
Ryan Boren
|
fa7377cd36
|
Warning fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9475 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-02 20:53:15 +00:00 |
|
Mark Jaquith
|
e4a48a0314
|
Properly handled posts with internal paging in Canonical
git-svn-id: https://develop.svn.wordpress.org/trunk@9388 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-28 19:21:23 +00:00 |
|
Ryan Boren
|
c5c2377468
|
Make get_comment_link() paging aware. Props Viper007Bond. see #7956
git-svn-id: https://develop.svn.wordpress.org/trunk@9367 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-27 16:31:26 +00:00 |
|
Mark Jaquith
|
9a5b1ac108
|
Redirect away from paged comments permalinks when comment paging has been turned off. props DD32. see #7942
git-svn-id: https://develop.svn.wordpress.org/trunk@9322 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-24 10:53:09 +00:00 |
|
Mark Jaquith
|
9a3ac6934f
|
Enable pretty permalinks for previous_ and next_comments_link(). props DD32, Viper007Bond. see #7942
git-svn-id: https://develop.svn.wordpress.org/trunk@9318 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-24 07:36:43 +00:00 |
|
Ryan Boren
|
1378f82ebc
|
pretty permalinks for comment paging. Props Viper007Bind. fixes #7942
git-svn-id: https://develop.svn.wordpress.org/trunk@9300 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-23 18:55:22 +00:00 |
|
Mark Jaquith
|
e35b1c1a0b
|
Proper trailing slashes for when is_front_page() does not show the blog. fixes #7892
git-svn-id: https://develop.svn.wordpress.org/trunk@9214 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-16 21:14:42 +00:00 |
|
Mark Jaquith
|
6f68542aef
|
Strip trailing /index.php in Canonical, fixes #5017. fixes #7173.
git-svn-id: https://develop.svn.wordpress.org/trunk@9203 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-16 19:17:04 +00:00 |
|
Mark Jaquith
|
3b17601874
|
Switch to using empty()/!empty() checks in Canonical. see #7537
git-svn-id: https://develop.svn.wordpress.org/trunk@9197 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-16 16:08:00 +00:00 |
|
Mark Jaquith
|
c5abdbb0ab
|
Redirect alternate is_single() URLs (like multiple category-based urls) to the canonical URL. fixes #6627
git-svn-id: https://develop.svn.wordpress.org/trunk@9193 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-15 22:00:12 +00:00 |
|
Peter Westwood
|
3ec2c1ea4e
|
Notice fixes. See #7509 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@9177 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-14 21:08:28 +00:00 |
|
Mark Jaquith
|
95ebb63fa3
|
Canonical Feed URLs, first try. see #7182
git-svn-id: https://develop.svn.wordpress.org/trunk@9156 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-14 05:51:01 +00:00 |
|
Andrew Ozz
|
3d1250cb10
|
Redirect to the correct URL on error, fixes #7706
git-svn-id: https://develop.svn.wordpress.org/trunk@8843 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-08 01:50:08 +00:00 |
|
Peter Westwood
|
000f6ec3b6
|
phpDoc corrections for wp-includes. See #7550 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8742 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-27 06:45:13 +00:00 |
|
Ryan Boren
|
bda582ab0d
|
Notice fixes. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@8732 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-25 21:50:11 +00:00 |
|
Mark Jaquith
|
71632ab8c7
|
Strip trailing spaces in URLs, redirect to canonical URL. fixes #7537
git-svn-id: https://develop.svn.wordpress.org/trunk@8667 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-19 03:21:12 +00:00 |
|
Mark Jaquith
|
36275a8b99
|
Fix braces so user_trailingslashit gets the correct information passed in canonical redirect code. props xorax. fixes #7483 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8593 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-08 17:43:44 +00:00 |
|
Peter Westwood
|
010f5ed7b2
|
Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8589 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-08 17:05:10 +00:00 |
|
Ryan Boren
|
be87986f7a
|
phpdoc updates from jacobsantos. see #7038
git-svn-id: https://develop.svn.wordpress.org/trunk@7990 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-25 15:45:05 +00:00 |
|
Mark Jaquith
|
abbb8b8da3
|
Do not use the "home"-supplied host for canonical redirects if no host is there specified. props thenlich. fixes #6890
git-svn-id: https://develop.svn.wordpress.org/trunk@7916 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-09 18:23:05 +00:00 |
|
Ryan Boren
|
cc6a396a84
|
Don't redirect robots. Props thenlich and DD32. fixes #6891
git-svn-id: https://develop.svn.wordpress.org/trunk@7871 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-01 21:38:40 +00:00 |
|
Ryan Boren
|
4bab767fe2
|
Revert changes to canonical that broke redirects. Props fitztrev. fixes #5961
git-svn-id: https://develop.svn.wordpress.org/trunk@6998 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-24 02:09:24 +00:00 |
|
Ryan Boren
|
7ed364b2ce
|
Notice fixes from nbachiyski. fixes #5961
git-svn-id: https://develop.svn.wordpress.org/trunk@6983 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-22 17:43:56 +00:00 |
|
Mark Jaquith
|
2395f3a566
|
Allow redirect_canonical filter to cancel a redirect (just return FALSE). see #5766
git-svn-id: https://develop.svn.wordpress.org/trunk@6743 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-06 22:57:15 +00:00 |
|
Ryan Boren
|
3a18b96c9b
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-05 06:47:27 +00:00 |
|
Ryan Boren
|
de74752fb4
|
phpdoc for canonical.php from darkdragon. fixes #5526
git-svn-id: https://develop.svn.wordpress.org/trunk@6494 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-25 20:48:47 +00:00 |
|
Peter Westwood
|
e097caa70c
|
Fix some of the notices visible with WP_DEBUG enabled.
git-svn-id: https://develop.svn.wordpress.org/trunk@6436 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-20 21:25:12 +00:00 |
|
Ryan Boren
|
3a8b2fcca3
|
Remove unused vars. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-06 19:49:33 +00:00 |
|
Mark Jaquith
|
89417fbaf0
|
Explicitly exclude previews from canonicalization. fixes #5203 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6263 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-17 20:14:38 +00:00 |
|
Mark Jaquith
|
d9c7174ee2
|
prepare() for wp-includes/ bookmark.php, canonical.php, comment.php, comment-template.php. see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@6173 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-27 07:34:15 +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 |
|
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 |
|
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
|
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 |
|
Mark Jaquith
|
7eea02c12c
|
Always trailingslash the "home" URL. Protect against chained redirects. Thanks wantmoore. fixes #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@6085 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-11 21:21:40 +00:00 |
|
Ryan Boren
|
7a43c01e08
|
Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-09-03 23:32:58 +00:00 |
|
Mark Jaquith
|
f6b019c8b6
|
More cautious canonical-ness. Exclude IIS and POSTs. Better paging handling. Still a work in progress! see #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@5978 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-08-29 21:06:51 +00:00 |
|