[wp-trac] [WordPress Trac] #58294: Deprecate use of "normal" in dashboard widgets

WordPress Trac noreply at wordpress.org
Thu May 11 07:22:21 UTC 2023


#58294: Deprecate use of "normal" in dashboard widgets
-------------------------+-----------------------------
 Reporter:  dartiss      |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Widgets      |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 We currently make use of a parameter value named `normal` when working on
 dashboard widgets (e.g.
 https://developer.wordpress.org/reference/functions/wp_add_dashboard_widget/).
 My assumption is that this refers to the default, left-hand column.

 However, `normal` is a problematic, exclusionary word. And, even away from
 that, in this case it doesn't make much sense. What makes the left hand
 side "normal".

 I'd like us to change this - either to a literal `column1` (which matches
 the `column3` and `column4` values, but would require us to change the
 value for the second column 2) or even just `default`.

 However, so as not to break anything, we would still allow `normal` as a
 deprecated alternative.

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


More information about the wp-trac mailing list