[wp-meta] [Making WordPress.org] #1344: Don't link reserved names

Making WordPress.org noreply at wordpress.org
Sun Oct 18 15:49:15 UTC 2015


#1344: Don't link reserved names
------------------------+------------------
Reporter:  johnbillion  |      Owner:
    Type:  defect       |     Status:  new
Priority:  normal       |  Component:  Trac
Keywords:  needs-patch  |
------------------------+------------------
 Since [1967], instances of @ in code blocks also get linked, which messes
 up the formatting of commit messages where text such as `@since` is used.
 Example of a broken commit message comment:
 https://core.trac.wordpress.org/ticket/33763?cnum_edit=11#comment:11

 To avoid reimplementing `wptexturize()` in Trac, we could just blacklist
 some names that shouldn't get linked:

  * access
  * deprecated
  * global
  * ignore
  * internal
  * link
  * method
  * package
  * param
  * return
  * see
  * since
  * subpackage
  * todo
  * type
  * var

 Related: #830.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1344>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list