[wp-trac] [WordPress Trac] #40702: Add WordCamps and meetup events to the News Dashboard widget

WordPress Trac noreply at wordpress.org
Fri May 12 00:08:13 UTC 2017


#40702: Add WordCamps and meetup events to the News Dashboard widget
-------------------------------------------------+-------------------------
 Reporter:  iandunn                              |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  4.8
Component:  Administration                       |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  needs-dev-note has-patch needs-      |     Focuses:
  unit-tests dev-feedback                        |  javascript, rest-api
-------------------------------------------------+-------------------------

Comment (by iandunn):

 @azaozz, `40702-localize.diff` moves the `wp_localize_script()` calls from
 `wp-admin/index.php` and `wp-admin/network/index.php` into `script-
 loader.php`.

 Now that it's done, though, I think it feels a bit clunkier than the way
 things were before. There are ~10 other screens that currently call
 `wp_localize_script()` from their files instead of in `script-loader.php`,
 so it seems like that might be an ok approach.

 It might just be about the same either way, though, just with a different
 set of trade-offs. Either way, I don't think it's a big concern.

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


More information about the wp-trac mailing list