WordPress.org

Plugin Directory

Changeset 325841


Ignore:
Timestamp:
12/24/10 06:52:25 (3 years ago)
Author:
toscho
Message:

Fixed missing space in <linkrel=canonical>.

Location:
remove-redundant-links/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • remove-redundant-links/trunk/class.Remove_Redundant_Links.php

    r324031 r325841  
    1717 * 
    1818 * @author  Thomas Scholz http://toscho.de 
    19  * @version 1.3 (18.12.2010) 
     19 * @version 1.4 (24.12.2010) 
    2020 * @license GPL 2 
    2121 */ 
     
    249249            and FALSE !== strpos( $attr_arr['rel'], 'canonical' ) ) 
    250250        { 
    251             return $str; 
     251            return ' ' . $str; 
    252252        } 
    253253 
  • remove-redundant-links/trunk/readme.txt

    r324031 r325841  
    66Tested up to:      3.0.3 
    77Stable tag:        trunk 
    8 Version:           1.5 
     8Version:           1.6 
    99 
    1010Replaces links to the currently seen page. 
     
    8585* v1.4 Added an option `strip_server_prefix_on_all_links`. Defaults to `TRUE`. Set this to `FALSE` to keep absolute URIs. See the FAQ. 
    8686* v1.5 Fixed issue with `<link rel=canonical>`. Thanks to [eviluody](http://twitter.com/eviluody) for testing! 
     87* v1.6 Fixed missing space in `<linkrel=canonical>`. 
  • remove-redundant-links/trunk/remove-redundant-links.php

    r324031 r325841  
    44Text Domain: plugin-rrl 
    55Description: Deactivates links to the current page. 
    6 Version:     1.5 
     6Version:     1.6 
    77Author:      Thomas Scholz 
    88Author URI:  http://toscho.de 
     
    4242        ,   'charset' => get_bloginfo( 'charset' ) 
    4343        ); 
     44 
    4445        $Remove_Redundant_Links = new Remove_Redundant_Links( 
     46        // You may hook into the settings with 
     47        // add_filter( 'rrl_settings', 'change_rrl_settings', 10, 1 ); 
     48        // where change_rrl_settings( $settings ) returns an altered array. 
    4549            apply_filters( 'rrl_settings', $settings ) 
    4650        ); 
Note: See TracChangeset for help on using the changeset viewer.