WordPress.org

Make WordPress Core

Changes between Version 4 and Version 5 of Ticket #32067, comment 17


Ignore:
Timestamp:
09/22/2020 08:04:44 AM (15 months ago)
Author:
enricocarraro
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32067, comment 17

    v4 v5  
    88    * low code readability;
    99    * needs some logic to aggregate and print scripts (WP_Scripts could be used for this, but it would be a bit of a stretch).
    10 * Moving them to JavaScript files ([https://github.com/WordPress/wordpress-develop/commit/714bbf4bba1b1b68eea8e1e340300bde402ef97c example]):
     10* Moving them to JavaScript files ([https://github.com/enricocarraro/wordpress-develop/compare/inline_script_using_inline_js_function...enricocarraro:inline_event_handlers_refactoring example]):
    1111  * advantages:
    1212    * better code readability;