Created
April 17, 2013 16:42
-
-
Save MattRead/5405825 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class MrT extends Plugin | |
{ | |
public function action_atom_get_collection( $xml, $params, $handler_vars ) | |
{ | |
if ( Controller::get_action() == 'tag_collection' ) { | |
$xml->title = _t( 'Posts Tagged %s', array( htmlentities(Controller::get_var('tag')) ), 'MrT' ); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment