Details
Description
I turned on the CiviEvent Component to allow adding events to cart, and after pressing the 'Add to Cart' button got the message "You do not have permission to execute this url". After adding 'add_to_cart' to this array in civicrm_check_permission it works, but I assume this has to do with civi_wp; this isn't a problem in civicrm 4.4.3 with wordpress 3.8.
Below is code from civicrm.php/civicm_check_permissions(), I added 'add_to_cart'
// an event registration page is valid
if (in_array('CiviEvent', $config->enableComponents)) {
if (
$arg1 == 'event' &&
in_array($arg2, array('register', 'info', 'participant', 'ical', 'confirm','add_to_cart'))
)