Make WordPress Core

Ticket #45705: #45705.2.patch

File #45705.2.patch, 627 bytes (added by jankimoradiya, 5 years ago)
  • functions.wp-scripts.php

     
    9393/**
    9494 * Adds extra code to a registered script.
    9595 *
    96  * Code will only be added if the script in already in the queue.
     96 * Code will only be added if the script is already in the queue.
    9797 * Accepts a string $data containing the Code. If two or more code blocks
    9898 * are added to the same script $handle, they will be printed in the order
    9999 * they were added, i.e. the latter added code can redeclare the previous.