Issue with rand
-
I have found a bug please look inclass.wp-megamenu-base.php
on 307 number line which its conflict with my theme$big_row_int_ID = rand(999999999, 9999999999999999)+3684567+($row_key+4)+$item->ID;
so I make this changes and it works !!!
If you want to ensure that it doesn’t overflow regardless of the system it is running on, you can usemt_getrandmax()
as your second argument$big_row_int_ID = rand(999999999, mt_getrandmax())+3684567+($row_key+4)+$item->ID;
**Feature request **
When building a menu there should be a option to choose page, category,post etcThanks
Rupom- This topic was modified 6 years, 4 months ago by .
- This topic was modified 6 years, 4 months ago by .
- This topic was modified 6 years, 4 months ago by .
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Issue with rand’ is closed to new replies.