Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51006, comment 41


Ignore:
Timestamp:
07/15/2024 06:38:15 PM (2 months ago)
Author:
rajinsharwar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51006, comment 41

    initial v1  
    1616<?php add_tooltip('tooltip-3', 'This is another top Text for the Tooltip', 'Helpme', 'top'); ?>
    1717}}}
    18 
    19 **I do have a nerdy question**, I am wondering what's the correct way to add new JS files in the core? Like, I have added in the Grunt build file and in the script loader. Still, after running dev:build, the .js file from the ''src\js\_enqueues\wp\wp-tooltip.js'' is not coming in the ''src\wp-includes\js\wp-tooltip.js''. Not sure if I did this wrong or how should I do it correctly.