[wp-trac] [WordPress Trac] #49172: Notice popped up while updating WP 5.3.0

WordPress Trac noreply at wordpress.org
Thu Feb 20 19:54:51 UTC 2020

#49172: Notice popped up while updating WP 5.3.0
 Reporter:  ninarol       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  5.3.2
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
Changes (by garrett-eclipse):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


 Hi @ninarol,

 Sorry for the delayed response, this Trac instance is for the development
 of WordPress Core. For support the WP Forums are the best avenue;
 There is also an IRC Support Channel available here -

 From the sounds of your issue at a quick glance, there is some
 custom/theme/plugin code which is calling the `add_submenu_page`
 incorrectly. In 5.3 the warning was introduced as several plugins were
 confusing the seventh param as a string instead of an integer. Since the
 notice was introduced many plugins have corrected their code so you may
 find updating has addressed your issue. If the message persists you can go
 through your theme and custom code to attempt to identify the code
 misusing the add_submenu_page`s seventh parameter (It should be an

 I'm going to close this ticket but if you get stuck your best option for
 active support is the support forums (wordpress.org/support).

Ticket URL: <https://core.trac.wordpress.org/ticket/49172#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list