Skip to main content
8 events
when toggle format what by license comment
Jul 8, 2020 at 9:31 history edited Tom J Nowell CC BY-SA 4.0
added 13 characters in body
Jul 8, 2020 at 1:45 vote accept HopefullCoder
Jul 7, 2020 at 16:07 comment added mozboz @HopefullCoder cool, glad it worked. Upvotes and accepted answers appreciated
Jul 7, 2020 at 15:52 comment added HopefullCoder That did it! Thanks! I think I will go with your solution as it seems to be the most straightforward to understand.
Jul 7, 2020 at 15:43 comment added mozboz oops, yep one too many ) .. updated the answer, try again ;-)
Jul 7, 2020 at 15:42 history edited mozboz CC BY-SA 4.0
deleted 1 character in body
Jul 7, 2020 at 15:39 comment added HopefullCoder Thanks! Any time regex can be avoided I guess it should. I've tried to implement your solution but WP is kicking out the following error: Parse error: syntax error, unexpected '==' (T_IS_EQUAL) in ... line 48. That line is if (count($matches)) == 2)
Jul 7, 2020 at 15:16 history answered mozboz CC BY-SA 4.0