[wp-trac] [WordPress Trac] #46848: translate_level_to_role may return void in wp-admin/includes/upgrade.php

WordPress Trac noreply at wordpress.org
Mon Aug 5 07:47:53 UTC 2019


#46848: translate_level_to_role may return void in wp-admin/includes/upgrade.php
-----------------------------+-----------------------------
 Reporter:  diddledan        |       Owner:  SergeyBiryukov
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  5.3
Component:  Upgrade/Install  |     Version:  2.0
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:
-----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45747" 45747]:
 {{{
 #!CommitTicketReference repository="" revision="45747"
 Upgrade/Install: Make sure `translate_level_to_role()` always returns a
 value.

 Props diddledan.
 Fixes #46848.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46848#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list