We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eb19fa commit a8c285cCopy full SHA for a8c285c
README.md
@@ -121,7 +121,7 @@ Let me break down the dataflow related to the timestamp in the super-admin-all-s
121
2. PHP to JavaScript Transfer:
122
- The timestamp is passed to JavaScript via `wp_add_inline_script()` in super-admin-all-sites-menu.php around line 409:
123
```php
124
- wp_add_inline_script( 'super-admin-all-sites-menu', 'var allSitesMenuTimestamp = ' . $this->get_timestamp() . ';', 'before' );
+ wp_add_inline_script( 'super-admin-all-sites-menu', "const pluginAllSitesMenu = {$data};", 'before' );
125
```
126
- Where `$data` includes the timestamp:
127
0 commit comments