Advertisement
Guest User

Fix pasted code

a guest
Dec 21st, 2013
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. To clean up the copied code, paste it in your text editor and do a search and replace for the following:
  2.  
  3. Replace the following with nothing (i.e. delete)
  4. <p>
  5. </p>
  6. <code>
  7. </code>
  8. <pre>
  9. </pre>
  10.  
  11. Replace as indicated (search for --> replace with)
  12.  
  13. &gt; --> >
  14. &lt; --> <
  15. &amp; -> &
  16. &quot; --> "
  17.  
  18. For some reason I had to repeat &amp; twice as it did not replace all of them the first time through.
  19.  
  20. Finally, I found there was a line break between line 131 and line 132
  21.  
  22. $wp_locale->get_month_abbrev( $wp_locale->get_month( $previo
  23. us->month ) )
  24.  
  25. Should be
  26.  
  27. $wp_locale->get_month_abbrev( $wp_locale->get_month( $previous->month ) )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement