[wp-trac] [WordPress Trac] #42788: In get_search_template, replace apostrophes with backticks in inline docs so Doc parser parses as code

WordPress Trac noreply at wordpress.org
Sun Dec 3 20:30:04 UTC 2017


#42788: In get_search_template, replace apostrophes with backticks in inline docs
so Doc parser parses as code
----------------------------+-----------------------------
 Reporter:  webdevmattcrom  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  docs            |
----------------------------+-----------------------------
 In get_search_template, replace apostrophes with backticks in inline docs
 so Doc parser parses as code.

 See here: https://core.trac.wordpress.org/browser/tags/4.9/src/wp-
 includes/template.php#L437

 Change this:

 {{{
 The template hierarchy and template path are filterable via the
 {@see '$type_template_hierarchy'} and {@see '$type_template'}
 dynamic hooks, where `$type` is 'search'.
 }}}

 To this:

 {{{
 The template hierarchy and template path are filterable via the
 {@see `$type_template_hierarchy`} and {@see `$type_template`}
 dynamic hooks, where `$type` is `search`.
 }}}

 Patch coming soon.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42788>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list