[wp-meta] [Making WordPress.org] #1179: Expand/Collapse full source code links don't work on comments list
Making WordPress.org
noreply at wordpress.org
Thu Aug 13 17:09:47 UTC 2015
#1179: Expand/Collapse full source code links don't work on comments list
--------------------------+-------------------------------------
Reporter: morganestes | Owner:
Type: defect | Status: new
Priority: normal | Component: developer.wordpress.org
Resolution: | Keywords: needs-patch
--------------------------+-------------------------------------
Comment (by atimmer):
This is probably because the syntax highlighter script doesn't get loaded
in the admin. I think we have two options:
* Enqueue the syntax highlighter scripts ourselves on the comment
moderation page(s).
* Add an `if ( ! is_admin ) {` clause around
[https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
/wp-content/themes/pub/wporg-developer/inc/handbooks.php#L51 this code] to
prevent the collapsing from taking place in the admin.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1179#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list