Thanks once again for the reply !
(my reply is one mile long, I didn’t really know what parts to cut to make it shorter, sorry !)
I had not a single clue about script enqueueing when I read your reply (no idea of its existence, nor of the way it worked), I learned from this page, I hope it’s the proper reference in the present case :
https://codex.www.ads-software.com/Function_Reference/wp_enqueue_script
Following the given information, it allowed me to check there was no mention of wp_enqueue_script
in my template’s files.
But if a script is enqueued in another way, I have no idea.
(But why mentioning my theme, after all, we’re in the admin, aren’t we ? Or does my theme’s functions.php also affect what’s happening admin-side ?!?)
***
Now, as for the plugins, there are 20 of them, these plugins are : Add Browser Search, Antispam Bee, Custom Smilies, Exploit Scanner, Flattr, Google XML Sitemaps, IntenseDebate, Less, Ozh’ Better Feed, Post Plugin Library, Random Posts, Search Suggest, Shortcoder, User Locker, WP-DBmanager, WP-PageNavi, WP-Polls (that one is deactivated), WP-PostRatings, WP Super Cache, and WP to Twitter.
Inside these plugins code (thanks to Notepad++ !), I searched for wp_enqueue_script
, but I don’t know if I should have searched for something else.
The results didn’t bring me enlightenment, though. Just in case, I deactivated Shortcoder (a doubt), it didn’t change anything.
F:\asupprimer\plugins\akismet\admin.php (1 hits)
Line 31: wp_enqueue_script('akismet.js');
F:\asupprimer\plugins\antispam-bee\antispam_bee.php (3 hits)
Line 329: wp_enqueue_script('ab_script');
Line 462: wp_enqueue_script('google_jsapi');
Line 463: wp_enqueue_script('ab_chart');
F:\asupprimer\plugins\flattr\flattr5.php (1 hits)
Line 49: wp_enqueue_script('flattrscript', ( isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] ? 'https://' : 'https://' ) . self::API_SCRIPT, array(), '0.6', true);
F:\asupprimer\plugins\shortcoder\shortcoder.php (3 hits)
Line 59: wp_enqueue_script('jquery');
Line 60: wp_enqueue_script('shortcoder-admin-js', $sc_pluginpath . 'sc-admin-js.js', array('jquery'));
Line 61: wp_enqueue_script('aw-quick-tag-js', $sc_pluginpath . 'aw-quick-tags/awQuickTag.js', array('jquery', 'shortcoder-admin-js'));
F:\asupprimer\plugins\wp-pagenavi\scb\BoxesPage.php (3 hits)
Line 175: wp_enqueue_script( 'common' );
Line 176: wp_enqueue_script( 'wp-lists' );
Line 177: wp_enqueue_script( 'postbox' );
F:\asupprimer\plugins\wp-polls\wp-polls.php (3 hits)
Line 207: add_action('wp_enqueue_scripts', 'poll_scripts');
Line 224: wp_enqueue_script('wp-polls', plugins_url('wp-polls/polls-js.js'), array('jquery'), '2.50', true);
Line 243: wp_enqueue_script('wp-polls-admin', plugins_url('wp-polls/polls-admin-js.js'), array('jquery'), '2.50', true);
F:\asupprimer\plugins\wp-postratings\wp-postratings.php (3 hits)
Line 128: add_action('wp_enqueue_scripts', 'ratings_scripts');
Line 154: wp_enqueue_script('wp-postratings', plugins_url('wp-postratings/postratings-js.js'), array('jquery'), '1.50', true);
Line 176: wp_enqueue_script('wp-postratings-admin', plugins_url('wp-postratings/postratings-admin-js.js'), array('jquery'), '1.50', true)
***
I tried another approach, placed myself in a situation where the bug happened : creating a post, saving, coming back to edit it, and having the two hyperlink addition windows.
Then I opened my page’s source code, and searched for <script type='text/javascript' src='
occurences.
But there was nothing being called twice under small variations, from the looks of it :
<script type='text/javascript' src='https://www._my_website_.net/wp-includes/js/l10n.js?ver=20101110'></script>
<script type='text/javascript' src='https://www._my_website_.net/wp-admin/load-scripts.php?c=1&load=jquery,utils&ver=fb5c271ac01e8186b23ece33d5ce4961'></script>
...
<script type='text/javascript' src='https://www._my_website_.net/wp-includes/js/quicktags.js?ver=20110502'></script>
...
<script type='text/javascript' src='https://www._my_website_.net/wp-admin/load-scripts.php?c=1&load=hoverIntent,common,jquery-color,schedule,wp-ajax-response,autosave,wp-lists,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-query,admin-comments,suggest,jquery-ui-sortable,postbox,post,thickbox,media-upload&ver=2b90289b41abe121b9400cf60c21cac7'></script>
...
<script type='text/javascript' src='https://api.flattr.com/js/0.6/load.js?mode=auto&ver=0.6'></script>
...
<script type='text/javascript' src='https://www._my_website_.net/wp-admin/js/editor.js?ver=20110411'></script>
...
<script type='text/javascript' src='https://www._my_website_.net/wp-includes/js/tinymce/wp-tinymce.php?c=1&ver=342-20110630'></script>
...
<script type='text/javascript' src='https://www._my_website_.net/wp-includes/js/jquery/ui.draggable.js?ver=1.8.12'></script>
<script type='text/javascript' src='https://www._my_website_.net/wp-includes/js/jquery/ui.button.js?ver=1.8.12'></script>
<script type='text/javascript' src='https://www._my_website_.net/wp-includes/js/jquery/ui.position.js?ver=1.8.12'></script>
<script type='text/javascript' src='https://www._my_website_.net/wp-includes/js/jquery/ui.dialog.js?ver=1.8.12'></script>
<script type='text/javascript' src='https://www._my_website_.net/wp-includes/js/tinymce/plugins/wpdialogs/js/wpdialog.js?ver=20110528'></script>
<script type='text/javascript' src='https://www._my_website_.net/wp-includes/js/tinymce/plugins/wpdialogs/js/popup.js?ver=20110421'></script>
...
<script type='text/javascript' src='https://www._my_website_.net/wp-includes/js/tinymce/plugins/wplink/js/wplink.js?ver=20110528'></script>
...
<script type='text/javascript' src='https://www._my_website_.net/wp-admin/js/wp-fullscreen.js?ver=20110704'></script>
<script type='text/javascript' src='https://www._my_website_.net/wp-admin/js/word-count.js?ver=20110515'></script>
And here… Well, same as before, I’m lost, and I don’t even know what to look for, or how…
Once again, thank you if you can be of help, I hope I’m not abusing your time ??