Changeset 1181178 for angularjs-for-wp/trunk/plugin.php
- Timestamp:
- 06/15/2015 03:27:46 PM (11 years ago)
- File:
-
- 1 edited
-
angularjs-for-wp/trunk/plugin.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
angularjs-for-wp/trunk/plugin.php
r1181173 r1181178 14 14 require_once('includes/shortcodes.php'); 15 15 16 define('WordPressAngularJS', ' 1.2');16 define('WordPressAngularJS', '2.0'); 17 17 18 18 class WordPressAngularJS { … … 81 81 82 82 /** JSON REST API CHECK **/ 83 function wpsd_check_dependencies() {83 function angularjs_plugin_dep() { 84 84 if ( ! defined( 'REST_API_VERSION' ) ) { 85 85 function wpsd_admin_notice() { … … 95 95 } 96 96 97 add_action( 'admin_init', ' wpsd_check_dependencies', 99 );97 add_action( 'admin_init', 'angularjs_plugin_dep', 99 ); 98 98 99 99 new WordPressAngularJS();
Note: See TracChangeset
for help on using the changeset viewer.