hicpo_add_capabilities() function in v3.1.5 breaks functionality
-
Hello,
Great plugin – very light weight and easy to use. Thank you for making this available.
However, today I installed the current version (3.1.5) on a fresh installation of WordPress and found that CSS and JS files were not loading. After reviewing GitHub I found the issue regarding “There’s a duplication of the word “hicpo” in “hicpo_load_script_css” capability name.” Issue Link.
The hicpo_add_capabilities() function (line 1096 of intuitive-custom-post-order.php) currently shows for administrators:
$administrator->add_cap( ‘hicpo_hicpo_load_script_css’ );
For me this prevents the plugins CSS/JS from loading and breaks the ability to sort. Once I change to:
$administrator->add_cap( ‘hicpo_load_script_css’ );
Everything works great. I believe this will be the same for editors on line 1107.
Thanks again – I look forward to an update.
- The topic ‘hicpo_add_capabilities() function in v3.1.5 breaks functionality’ is closed to new replies.