Changeset 5951 for trunk/src/includes/common/formatting.php
- Timestamp:
- 10/28/2015 04:07:50 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/common/formatting.php (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/formatting.php
r5908 r5951 18 18 * Allows all users to post links, quotes, code, formatting, lists, and images 19 19 * 20 * @since bbPress (r4603)20 * @since 2.3.0 bbPress (r4603) 21 21 * 22 22 * @return array Associative array of allowed tags and attributes … … 77 77 * Custom kses filter for forum topics and replies, for filtering incoming data 78 78 * 79 * @since bbPress (r4603)79 * @since 2.3.0 bbPress (r4603) 80 80 * 81 81 * @param string $data Content to filter, expected to be escaped with slashes … … 89 89 * Custom kses filter for forum topics and replies, for raw data 90 90 * 91 * @since bbPress (r4603)91 * @since 2.3.0 bbPress (r4603) 92 92 * 93 93 * @param string $data Content to filter, expected to not be escaped … … 103 103 * Filter the topic or reply content and output code and pre tags 104 104 * 105 * @since bbPress (r4641)105 * @since 2.3.0 bbPress (r4641) 106 106 * 107 107 * @param string $content Topic and reply content … … 120 120 * contains the correct editable content. 121 121 * 122 * @since bbPress (r4641)122 * @since 2.3.0 bbPress (r4641) 123 123 * 124 124 * @param string $content Topic and reply content … … 144 144 * Filter the content and encode any bad HTML tags 145 145 * 146 * @since bbPress (r4641)146 * @since 2.3.0 bbPress (r4641) 147 147 * 148 148 * @param string $content Topic and reply content … … 187 187 * Callback to encode the tags in topic or reply content 188 188 * 189 * @since bbPress (r4641)189 * @since 2.3.0 bbPress (r4641) 190 190 * 191 191 * @param array $matches … … 223 223 * Callback to decode the tags in topic or reply content 224 224 * 225 * @since bbPress (r4641)225 * @since 2.3.0 bbPress (r4641) 226 226 * 227 227 * @param array $matches … … 252 252 * Callback to replace empty HTML tags in a content string 253 253 * 254 * @since bbPress (r4641)254 * @since 2.3.0 bbPress (r4641) 255 255 * 256 256 * @internal Used by bbp_encode_bad() … … 268 268 * Callback to replace normal HTML tags in a content string 269 269 * 270 * @since bbPress (r4641)270 * @since 2.3.0 bbPress (r4641) 271 271 * 272 272 * @internal Used by bbp_encode_bad() … … 286 286 * Catches links so rel=nofollow can be added (on output, not save) 287 287 * 288 * @since bbPress (r4865) 288 * @since 2.3.0 bbPress (r4865) 289 * 289 290 * @param string $text Post text 290 291 * @return string $text Text with rel=nofollow added to any links … … 297 298 * Adds rel=nofollow to a link 298 299 * 299 * @since bbPress (r4865) 300 * @since 2.3.0 bbPress (r4865) 301 * 300 302 * @param array $matches 301 303 * @return string $text Link with rel=nofollow added … … 318 320 * pre and code tags. 319 321 * 320 * @since bbPress (r4941)322 * @since 2.4.0 bbPress (r4941) 321 323 * 322 324 * @param string $text Content to convert URIs.
Note: See TracChangeset
for help on using the changeset viewer.