[buddypress-trac] [BuddyPress Trac] #5626: Ending double quote of activity note get mixed with anchor link in Members view

buddypress-trac noreply at wordpress.org
Wed May 7 16:12:12 UTC 2014


#5626: Ending double quote of activity note get mixed with anchor link in Members
view
-------------------------------+------------------------------
 Reporter:  nirgalo            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Members            |     Version:  2.0
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by boonebgorges):

 Thanks, nirgalo. Use of `wptexturize()` wouldn't show up in a query trace,
 because it doesn't require any calls to the database. One simple test
 would be to log a backtrace whenever `wptexturize()` is called, but I'm a
 bit wary of suggesting that you do this because I don't know about your
 setup (in particular, you may not want to do this on a busy production
 site). In brief, you can do this by putting the following into the
 `wptexturize()` function:

 {{{
 error_log( print_r( debug_backtrace(), true ) );
 }}}

 Though, to be honest, this will only be of limited value if
 `wptexturize()` is being hooked rather than called directly (in the former
 case, it won't show up directly in the stack trace).

 Another thought is simply to search your codebase for the function name:

 {{{
 $ grep -nR 'wptexturize' wp-content/plugins
 $ grep -nR 'wptexturize' wp-content/themes
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5626#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list