WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35624, comment 7


Ignore:
Timestamp:
02/05/2016 07:04:38 PM (5 years ago)
Author:
d4z_c0nf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35624, comment 7

    initial v1  
    11Thanks @boonebgorges I see what you mean.
    22So this way, when a {{{$replytoid}}} exists, you overwrite (well you set it) the global {{{$comment}}}.
    3 Isn't this a little weird? I mean a function which should just return a string also changes a global variable?
     3Isn't this a little weird? I mean a function which should just print a string also changes a global variable?
    44
    55I still think that since you already have the comment id ({{{$replytoid}}}) there's no sense to retrieve it again with {{{get_comment_ID()}}}. But most likely there's something I don't know ;)