Commit Graph

20 Commits

Author SHA1 Message Date
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
Mark Jaquith
31d9b33458 Fix paging and preview links for canonical stuff. see #4773. fixes #4862
git-svn-id: https://develop.svn.wordpress.org/trunk@5974 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 18:10:11 +00:00
Mark Jaquith
ca9bea927b No canonical-ness for wp-admin. see #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@5921 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 03:40:51 +00:00
Mark Jaquith
11da2ac829 Oops... forgot the svn add. Thanks mdawaffe. see #4554
git-svn-id: https://develop.svn.wordpress.org/trunk@5891 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 03:45:59 +00:00