Ticket #31048: 31048.2.patch
| File 31048.2.patch, 1.2 KB (added by , 11 years ago) |
|---|
-
src/wp-includes/shortcodes.php
100 100 * 101 101 * @uses $shortcode_tags 102 102 * 103 * @param string $tag shortcode tag to remove hook for.103 * @param string $tag Shortcode tag to remove hook for. 104 104 */ 105 105 function remove_shortcode($tag) { 106 106 global $shortcode_tags; … … 131 131 * @since 3.6.0 132 132 * 133 133 * @global array $shortcode_tags 134 * @param string $tag 134 * @param string $tag Shortcode tag to check. 135 135 * @return boolean 136 136 */ 137 137 function shortcode_exists( $tag ) { … … 145 145 * @since 3.6.0 146 146 * 147 147 * @global array $shortcode_tags 148 * @param string $tag 148 * @param string $content Content to search for shortcodes. 149 * @param string $tag Shortcode tag to check. 149 150 * @return boolean 150 151 */ 151 152 function has_shortcode( $content, $tag ) { … … 180 181 * 181 182 * @uses $shortcode_tags 182 183 * 183 * @param string $content Content to search for shortcodes 184 * @param string $content Content to search for shortcodes. 184 185 * @return string Content with shortcodes filtered out. 185 186 */ 186 187 function do_shortcode($content) {