Commit Graph

18 Commits

Author SHA1 Message Date
markjaquith
302ac4890e Allow redirect_canonical filter to cancel a redirect (just return FALSE). see #5766
git-svn-id: http://svn.automattic.com/wordpress/trunk@6743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 22:57:15 +00:00
ryan
d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
bdf77c2b8d phpdoc for canonical.php from darkdragon. fixes #5526
git-svn-id: http://svn.automattic.com/wordpress/trunk@6494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-25 20:48:47 +00:00
westi
1f889417e5 Fix some of the notices visible with WP_DEBUG enabled.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 21:25:12 +00:00
ryan
028a159440 Remove unused vars. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:49:33 +00:00
markjaquith
875424adae Explicitly exclude previews from canonicalization. fixes #5203 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 20:14:38 +00:00
markjaquith
47955b3fae prepare() for wp-includes/ bookmark.php, canonical.php, comment.php, comment-template.php. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@6173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-27 07:34:15 +00:00
markjaquith
3be5215e08 Remove trailing /index.php fixing from canonical.php ... Thanks chaoticmortalcom. fixes #5017
git-svn-id: http://svn.automattic.com/wordpress/trunk@6143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 20:25:43 +00:00
markjaquith
8a6802ef00 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: http://svn.automattic.com/wordpress/trunk@6115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-14 19:41:23 +00:00
markjaquith
3d3846ee8a Handle ports for canonical redirects. Props driverkt and westi. fixes #4970
git-svn-id: http://svn.automattic.com/wordpress/trunk@6112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 19:24:05 +00:00
markjaquith
9ea001d704 Just some indent fixes in canonical.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@6111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 19:12:53 +00:00
markjaquith
1f3ce09d52 Ignore HOST capitalization differences for canonical redirects. props jbctech. fixes #4773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 20:44:41 +00:00
markjaquith
4bc7869c84 Always trailingslash the "home" URL. Protect against chained redirects. Thanks wantmoore. fixes #4773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 21:21:40 +00:00
ryan
321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
markjaquith
816f89fb03 More cautious canonical-ness. Exclude IIS and POSTs. Better paging handling. Still a work in progress! see #4773
git-svn-id: http://svn.automattic.com/wordpress/trunk@5978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 21:06:51 +00:00
markjaquith
9e48d38752 Fix paging and preview links for canonical stuff. see #4773. fixes #4862
git-svn-id: http://svn.automattic.com/wordpress/trunk@5974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 18:10:11 +00:00
markjaquith
68501fd51b No canonical-ness for wp-admin. see #4773
git-svn-id: http://svn.automattic.com/wordpress/trunk@5921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-23 03:40:51 +00:00
markjaquith
410a3c5762 Oops... forgot the svn add. Thanks mdawaffe. see #4554
git-svn-id: http://svn.automattic.com/wordpress/trunk@5891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 03:45:59 +00:00