WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Add Admin JavaScript

Interface for easily defining additional JavaScript (inline and/or by URL) to be added to all administration pages.

1.3.1 (2014-08-25)

  • Update plugin framework to 038
  • Minor plugin header reformatting
  • Minor code reformatting (spacing, bracing)
  • Change documentation links to wp.org to be https
  • Localize an additional string
  • Note compatibility through WP 4.0+
  • Regenerate .pot
  • Add plugin icon

1.3 (2014-01-03)

  • Fix enqueuing multiple JS files by generating unique handle for each
  • Fix enqueuing of local files when not prepended with forward slash
  • Add unit tests
  • Update plugin framework to 036
  • Improve URL path construction
  • Use explicit path for require_once()
  • Add reset() to reset object to its initial state
  • Remove __clone() and __wake() since they are part of framework
  • For options_page_description(), match method signature of parent class
  • Note compatibility through WP 3.8+
  • Drop compatibility with versions of WP older than 3.5
  • Update copyright date (2014)
  • Change donate link
  • Minor readme.txt tweaks (mostly spacing)
  • Add banner
  • Update screenshot

1.2

  • Move 'Advanced Tips' section from bottom of settings page into contextual help section
  • Add help_tabs_content() and contextual_help()
  • Prevent textareas from wrapping lines
  • Change input fields to be displayed as inline_textarea instead of textarea
  • Add instance() static method for returning/creating singleton instance
  • Made static variable 'instance' private
  • Add dummy __clone() and __wakeup()
  • Remove c2c_AddAdminJavaScript(); only PHP5 constructor is supported now
  • Update plugin framework to 035
  • Discontinue use of explicit pass-by-reference for objects
  • Add check to prevent execution of code if file is directly accessed
  • Regenerate .pot
  • Re-license as GPLv2 or later (from X11)
  • Add 'License' and 'License URI' header tags to readme.txt and plugin file
  • Minor documentation improvements
  • Note compatibility through WP 3.5+
  • Drop compatibility versions of WP older than 3.1
  • Update copyright date (2013)
  • Minor code reformatting (spacing)
  • Remove ending PHP close tag
  • Create repo's WP.org assets directory
  • Move screenshot into repo's assets directory

1.1.1

  • Fix typo in code example in Advanced Tips
  • Add addition help text for js_head to indicate use of js_foot is preferred
  • Update .pot
  • Update screenshot

1.1

  • Update plugin framework to 029
  • Save a static version of itself in class variable $instance
  • Discontinue use of global variable $c2c_add_admin_js to store instance
  • Explicitly declare all functions as public
  • Add __construct(), activation(), and uninstall()
  • Note compatibility through WP 3.3+
  • Drop compatibility with versions of WP older than 3.0
  • Expand most onscreen and documentation references from "JS" to "JavaScript"
  • Add .pot
  • Add screenshot
  • Add 'Domain Path' plugin header
  • Tweak description
  • Minor code formatting changes (spacing)
  • Update copyright date (2011)
  • Add plugin homepage and author links in description in readme.txt

1.0

  • Initial release (not publicly released)

Requires: 3.5 or higher
Compatible up to: 4.0
Last Updated: 2014-8-26
Downloads: 5,571

Ratings

4 stars
4.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0