WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#17702 closed defect (bug) (fixed)

PHP Warnings in wp-admin/menu.php

Reported by: PeteMall Owned by: ryan
Milestone: 3.2 Priority: normal
Severity: normal Version: 3.2
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

There are a couple of PHP warnings in wp-admin/menu.php around http://core.trac.wordpress.org/browser/trunk/wp-admin/menu.php#L179 because $plugin_update_count is only set for ( ! is_multisite()
is_super_admin() ).

Attachments (1)

17702.diff (1.2 KB) - added by PeteMall 6 years ago.
Quick fix for 3.2

Download all attachments as: .zip

Change History (4)

@PeteMall
6 years ago

Quick fix for 3.2

#1 @PeteMall
6 years ago

  • Keywords has-patch added

#2 @mitchoyoshitaka
6 years ago

Also, for reference: #17694.

#3 @ryan
6 years ago

  • Owner set to ryan
  • Resolution set to fixed
  • Status changed from new to closed

In [18169]:

Fix warnings in menu.php when plugins.php is enabled for non-supes. Props PeteMall. fixes #17702

Note: See TracTickets for help on using tickets.