Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#19951 closed defect (bug) (duplicate)

incorrect use of self and $this simultaneously

Reported by: diddledan Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.3.1
Component: Administration Keywords:
Focuses: Cc:


the following code around line 704 of wp-admin/includes/screen.php appears to be incorrect, using both self:: and $this-> simultaneously. This shouldn't work afaict, and doesn't when using the stricter (than zend) hiphop-php runtime.

<?php if ( $has_sidebar ) : ?>
<div class="contextual-help-sidebar">
        <?php echo self::$this->_help_sidebar; ?>
<?php endif; ?>

Change History (3)

comment:1 @scribu4 years ago

  • Milestone changed from Awaiting Review to 3.4
  • Resolution set to fixed
  • Severity changed from normal to minor
  • Status changed from new to closed
Version 0, edited 4 years ago by scribu (next)

comment:2 @ocean904 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:3 @ocean904 years ago

  • Milestone 3.4 deleted
  • Resolution set to duplicate
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.