fb-instant-articles icon indicating copy to clipboard operation
fb-instant-articles copied to clipboard

Move admin scripts and styles so that they only show on fb instant articles page

Open andykillen opened this issue 6 years ago • 1 comments

This PR:

Moves the enqueue of the admin scripts and styles so that they only load on the admin page of instant articles.

While the scripts & styles are very small, they are still connection requests that are not needed for every other admin page. By not loading them it will make the mobile loading time quicker, and also loading in any country where there is poor networking.

Follows #

Relates to #

Fixes #

andykillen avatar Mar 26 '18 13:03 andykillen

Needs updating to fix a merge conflict, but I think this is worthwhile.

GaryJones avatar Sep 23 '22 10:09 GaryJones