Created
September 9, 2013 19:48
-
-
Save leewillis77/6500568 to your computer and use it in GitHub Desktop.
All-in-one SEO pack title change
This file contains hidden or 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
Index: aioseop_class.php | |
=================================================================== | |
--- aioseop_class.php (revision 769315) | |
+++ aioseop_class.php (working copy) | |
@@ -1545,7 +1545,7 @@ | |
$this->title_end = $end; | |
$this->orig_title = $title; | |
- return preg_replace( '/<title>(.*?)<\/title>/is', '<title>' . preg_replace('/(\$|\\\\)(?=\d)/', '\\\\\1', strip_tags( $title ) ) . '</title>', $content ); | |
+ return preg_replace( '/<title>(.*?)<\/title>/is', '<title>' . preg_replace('/(\$|\\\\)(?=\d)/', '\\\\\1', strip_tags( $title ) ) . '</title>', $content, 1 ); | |
} | |
function internationalize( $in ) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment