Make WordPress Core


Ignore:
Timestamp:
09/03/2011 04:02:41 PM (13 years ago)
Author:
duck_
Message:

Fix typos in documentation (wp-includes/[a-h]). See #18560.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/canonical.php

    r18540 r18633  
    1515 * Search engines consider www.somedomain.com and somedomain.com to be two
    1616 * different URLs when they both go to the same location. This SEO enhancement
    17  * prevents penality for duplicate content by redirecting all incoming links to
     17 * prevents penalty for duplicate content by redirecting all incoming links to
    1818 * one or the other.
    1919 *
     
    176176                        // Create the destination url for this taxonomy
    177177                        $tax_url = parse_url($tax_url);
    178                         if ( ! empty($tax_url['query']) ) { // Taxonomy accessable via ?taxonomy=..&term=.. or any custom qv..
     178                        if ( ! empty($tax_url['query']) ) { // Taxonomy accessible via ?taxonomy=..&term=.. or any custom qv..
    179179                            parse_str($tax_url['query'], $query_vars);
    180180                            $redirect['query'] = add_query_arg($query_vars, $redirect['query']);
    181                         } else { // Taxonomy is accessable via a "pretty-URL"
     181                        } else { // Taxonomy is accessible via a "pretty-URL"
    182182                            $redirect['path'] = $tax_url['path'];
    183183                        }
Note: See TracChangeset for help on using the changeset viewer.