[wp-trac] [WordPress Trac] #60328: Deprecated parameter default value of unregister_setting() is not correct type

WordPress Trac noreply at wordpress.org
Tue Jan 23 15:26:47 UTC 2024


#60328: Deprecated parameter default value of unregister_setting() is not correct
type
--------------------------+-----------------------------
 Reporter:  crstauf       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:  docs          |
--------------------------+-----------------------------
 > The parameter callable `$deprecated` cannot default to an empty string.
 It must either default to `null` or the type has to be changed to
 `callable|string`.

 -- Reported by gerardreches via User Contributed Notes.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60328>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list