PluginProbe
bbPress / 2.6.19
bbPress v2.6.19
2.6.19 2.6.18 2.6.17 trunk 2.0 2.0-beta-1 2.0-beta-2b 2.0-beta-3 2.0-beta-3b 2.0-rc-2 2.0-rc-3 2.0-rc-4 2.0-rc-5 2.0.1 2.0.2 2.0.3 2.1 2.1-beta-1 2.1-rc1 2.1-rc2 2.1-rc3 2.1-rc4 2.1.1 2.1.2 2.1.3 All 74 releases
← All changes | includes/common/formatting.php +18 -18 2.6.18 → 2.6.19 View file →
@@ -16,9 +16,9 @@
16 16 * Custom allowed tags for forum topics and replies
17 17 *
18 18 * Allows all users to post links, quotes, code, formatting, lists, and images
19 19 *
20 - * @since 2.3.0 bbPress (r4603)
20 + * @since 2.3.0 bbPress (r4604)
21 21 *
22 22 * @return array Associative array of allowed tags and attributes
23 23 */
24 24 function bbp_kses_allowed_tags() {
@@ -80,9 +80,9 @@
80 80
81 81 /**
82 82 * Custom kses filter for forum topics and replies, for filtering incoming data
83 83 *
84 - * @since 2.3.0 bbPress (r4603)
84 + * @since 2.3.0 bbPress (r4604)
85 85 *
86 86 * @param string $data Content to filter, expected to be escaped with slashes
87 87 * @return string Filtered content
88 88 */
@@ -92,9 +92,9 @@
92 92
93 93 /**
94 94 * Custom kses filter for forum topics and replies, for raw data
95 95 *
96 - * @since 2.3.0 bbPress (r4603)
96 + * @since 2.3.0 bbPress (r4604)
97 97 *
98 98 * @param string $data Content to filter, expected to not be escaped
99 99 * @return string Filtered content
100 100 */
@@ -106,9 +106,9 @@
106 106
107 107 /**
108 108 * Filter the topic or reply content and output code and pre tags
109 109 *
110 - * @since 2.3.0 bbPress (r4641)
110 + * @since 2.3.0 bbPress (r4642)
111 111 *
112 112 * @param string $content Topic and reply content
113 113 * @return string Partially encoded content
114 114 */
@@ -123,9 +123,9 @@
123 123 /**
124 124 * When editing a topic or reply, reverse the code trick so the textarea
125 125 * contains the correct editable content.
126 126 *
127 - * @since 2.3.0 bbPress (r4641)
127 + * @since 2.3.0 bbPress (r4642)
128 128 *
129 129 * @param string $content Topic and reply content
130 130 * @return string Partially encoded content
131 131 */
@@ -147,9 +147,9 @@
147 147
148 148 /**
149 149 * Filter the content and encode any bad HTML tags
150 150 *
151 - * @since 2.3.0 bbPress (r4641)
151 + * @since 2.3.0 bbPress (r4642)
152 152 *
153 153 * @param string $content Topic and reply content
154 154 * @return string Partially encoded content
155 155 */
@@ -190,9 +190,9 @@
190 190
191 191 /**
192 192 * Callback to encode the tags in topic or reply content
193 193 *
194 - * @since 2.3.0 bbPress (r4641)
194 + * @since 2.3.0 bbPress (r4642)
195 195 *
196 196 * @param array $matches
197 197 * @return string
198 198 */
@@ -226,9 +226,9 @@
226 226
227 227 /**
228 228 * Callback to decode the tags in topic or reply content
229 229 *
230 - * @since 2.3.0 bbPress (r4641)
230 + * @since 2.3.0 bbPress (r4642)
231 231 *
232 232 * @param array $matches
233 233 * @todo Experiment with _wp_specialchars()
234 234 * @return string
@@ -255,9 +255,9 @@
255 255
256 256 /**
257 257 * Callback to replace empty HTML tags in a content string
258 258 *
259 - * @since 2.3.0 bbPress (r4641)
259 + * @since 2.3.0 bbPress (r4642)
260 260 *
261 261 * @internal Used by bbp_encode_bad()
262 262 * @param string $content
263 263 * @param string $key Not used
@@ -271,9 +271,9 @@
271 271
272 272 /**
273 273 * Callback to replace normal HTML tags in a content string
274 274 *
275 - * @since 2.3.0 bbPress (r4641)
275 + * @since 2.3.0 bbPress (r4642)
276 276 *
277 277 * @internal Used by bbp_encode_bad()
278 278 *
279 279 * @param string $content
@@ -290,9 +290,9 @@
290 290
291 291 /**
292 292 * Catches links so rel=nofollow can be added (on output, not save)
293 293 *
294 - * @since 2.3.0 bbPress (r4866)
294 + * @since 2.4.0 bbPress (r4866)
295 295 *
296 296 * @param string $text Post text
297 297 * @return string $text Text with rel=nofollow added to any links
298 298 */
@@ -302,10 +302,10 @@
302 302
303 303 /**
304 304 * Adds rel=nofollow to a link
305 305 *
306 - * @since 2.3.0 bbPress (r4866)
307 - * @since 2.6.17 Use the WordPress link relationship callback.
306 + * @since 2.4.0 bbPress (r4866)
307 + * @since 2.6.17 bbPress (r7492) Use the WordPress link relationship callback.
308 308 *
309 309 * @param array $matches
310 310 * @return string $text Link with rel=nofollow added
311 311 */
@@ -323,9 +323,9 @@
323 323 *
324 324 * This custom version of WordPress's make_clickable() skips links inside of
325 325 * pre and code tags.
326 326 *
327 - * @since 2.4.0 bbPress (r4941)
327 + * @since 2.4.0 bbPress (r4942)
328 328 *
329 329 * @param string $text Content to convert URIs.
330 330 * @return string Content with converted URIs.
331 331 */
@@ -499,9 +499,9 @@
499 499
500 500 /**
501 501 * Never let a numeric value be less than zero.
502 502 *
503 - * @since 2.6.0 bbPress (r6300)
503 + * @since 2.6.0 bbPress (r6302)
504 504 *
505 505 * @param int $number
506 506 */
507 507 function bbp_number_not_negative( $number = 0 ) {
@@ -549,9 +549,9 @@
549 549
550 550 /**
551 551 * A bbPress specific method of formatting numeric values
552 552 *
553 - * @since 2.1.0 bbPress (r3857)
553 + * @since 2.1.0 bbPress (r3858)
554 554 *
555 555 * @param string $number Number to format
556 556 * @param string $decimals Optional. Display decimals
557 557 *
@@ -572,9 +572,9 @@
572 572
573 573 /**
574 574 * Convert time supplied from database query into specified date format.
575 575 *
576 - * @since 2.0.0 bbPress (r2544)
576 + * @since 2.0.0 bbPress (r2722)
577 577 *
578 578 * @param string $time Time to convert
579 579 * @param string $d Optional. Default is 'U'. Either 'G', 'U', or php date
580 580 * format
@@ -781,9 +781,9 @@
781 781 * library, and uses seems_utf8() & utf8_encode() as a last resort.
782 782 *
783 783 * @link https://bbpress.trac.wordpress.org/ticket/2141
784 784 *
785 - * @since 2.6.14
785 + * @since 2.6.14 bbPress (r7334)
786 786 *
787 787 * @param string $display_name The author display name
788 788 *
789 789 * @return string