[buddypress-trac] [BuddyPress Trac] #7512: JS Enqueued On Non-BuddyPress Admin Pages

buddypress-trac noreply at wordpress.org
Thu Apr 27 17:52:25 UTC 2017


#7512: JS Enqueued On Non-BuddyPress Admin Pages
-------------------------------------------+-----------------------
 Reporter:  kstover                        |       Owner:  r-a-y
     Type:  defect (bug)                   |      Status:  assigned
 Priority:  normal                         |   Milestone:  2.9
Component:  Administration                 |     Version:  2.1
 Severity:  normal                         |  Resolution:
 Keywords:  needs-patch reporter-feedback  |
-------------------------------------------+-----------------------
Changes (by r-a-y):

 * keywords:  needs-patch => needs-patch reporter-feedback


Comment:

 Hi @kstover,

 I looked into the code today and it looks like caret.js is enqueued
 correctly.

 caret.js is only enqueued on admin pages if it meets the following
 conditions:
 - If it is on a post or page admin page
 - If the current post type supports the editor

 https://buddypress.trac.wordpress.org/browser/tags/2.8.2/src/bp-activity
 /bp-activity-cssjs.php#L23

 Can you tell me on what pages that caret.js leaks where it shouldn't?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7512#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list