Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24330, comment 5


Ignore:
Timestamp:
05/13/2013 09:15:41 PM (12 years ago)
Author:
gcorne
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24330, comment 5

    initial v1  
    1 I agree that it is well established behavior, but I don't agree that it is expected. The usage in {{{do_trackbacks()}}} is evidence that it is easy to not be aware of the state needed to properly apply {{{the_content}}}. It is also unfortunate that we are adding *new* code that is relying on {{{$GLOBALS['post']}}. At this point, isn't everyone in agreement that usage of the global {{{$post}}} should be frowned upon if not deprecated?
     1I agree that it is well established behavior, but I don't agree that it is expected. The usage in {{{do_trackbacks()}}} is evidence that it is easy to not be aware of the state needed to properly apply {{{the_content}}}. It is also unfortunate that we are adding *new* code that is relying on {{{$GLOBALS['post']}}}. At this point, isn't everyone in agreement that usage of the global {{{$post}}} should be frowned upon if not deprecated?