Hi, is it possible for this plugin to get tested against the latest version of wordpress? My firewall plugin is flagging this as a security issue as it hasn’t been updated in 4 years. Hope you can help
]]>I’m using the jupiterx theme. white page comes when I activate document cloak. What do I need to write functions.php? Can you tell me the best settings?
]]>When trying to install this plugin, I get the error:
Fatal error: Can’t use method return value in write context in [site-path on hostgator]/wp-content/plugins/wp-ng/includes/class-wp-ng-settings.php on line 491
Was wondering what version of Angular this plugin uses.
Seems the writer of the documentation is deliberately steering away from mentioning the version.
Intermittently, my app was throwing this error in the console: Uncaught Error: [$injector:modulerr]. It seemed to be related to loading angular over the CDN and so I turned that off in the settings (Settings->WP NG->Advanced, uncheck Enable the angular cdn with fallback). That caused an undefined variable error in public/class-wp-ng-public-fallback.php on line 58. Moving the declaration and assignment of $bower outside the scope of the if ( wp_ng_is_cdn_angular() ) statement so that it will be defined in the wp_register_script call starting on line 54, as shown below, seems to fix the problem. Could this change be included in the next release?
`$bower = new Wp_Ng_Bower();
if ( wp_ng_is_cdn_angular() ) {
$src = $bower->map_to_cdn([
‘name’ => ‘angular’,
‘cdn’ => ‘google-angular’,
‘file’ => ‘angular.min.js’
], wp_ng_get_asset_path(‘scripts/angular.js’));
}
else {
$src = wp_ng_get_asset_path(‘scripts/angular.js’);
}
wp_register_script(
‘angular’,
$src,
$deps,
$bower->get_version(‘angular’),
true
);`