Properly escaping theme function
-
Original code:
https://pastebin.com/mDy1r6UWEscaped code:
https://pastebin.com/S2j1NDnxSo I’m trying to use the code snippet linked above in my theme. I just want to make sure I’ve escaped correctly. Please suggest any edits that might be required.
It is finally called in the header like this:
<?php if ( function_exists( 'the_breadcrumb' ) ) the_breadcrumb(); ?>
I have refereed the codex regarding this, but I just want to make sure I’m not under / over escaping. Any help is greatly appreciated.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Properly escaping theme function’ is closed to new replies.