[wp-trac] [WordPress Trac] #29722: wp_localize_script should be able to manage scalars

WordPress Trac noreply at wordpress.org
Tue Feb 16 03:37:48 UTC 2021


#29722: wp_localize_script should be able to manage scalars
-------------------------------------------------+-------------------------
 Reporter:  Fab1en                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:
Component:  Script Loader                        |     Version:  3.3
 Severity:  normal                               |  Resolution:  wontfix
 Keywords:  needs-docs has-unit-tests needs-     |     Focuses:  javascript
  patch                                          |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):

 * keywords:  needs-docs php8 needs-dev-note has-unit-tests needs-patch =>
     needs-docs has-unit-tests needs-patch
 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  5.7 =>


Comment:

 I agree with @azaozz that this is a wontfix for the reasons stated about
 the intent of script localization.

 I'm going to close this as such and have opened #52534 for managing the
 PHP 8.0 warnings.

 Docblock improvements can be done on a "Docblock improvements for ..."
 ticket such as #51800.

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


More information about the wp-trac mailing list