Support » Plugin: Google Map for Contact Form 7 » Use Multi-line Comments

  • Resolved paul91

    (@paul91)


    Hello, it’s a great plugin but I have the only problem with it: single line comments in file:
    public/partials/cf7-googlemap.php
    If use some decompress tool (in my case Simple HTML DOM Parser: https://github.com/dimabdc/PHP-Fast-Simple-HTML-DOM-Parser) then it occurs that that text which normally starts on the next line is part of comment. Is it possible to fix it in the next version?
    Thank you

    • This topic was modified 1 year, 4 months ago by paul91.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    it’s a great plugin

    thank you, please write a review.

    text which normally starts on the next line is part of comment.

    I don’t understand, can you paste the lines in question or give me the line number you are referring to. You can also do a Pull Request on the GitHub repo to fix the offending comment lines, this way I can review it and include the changes.

    Just:
    var autoLine =”; /*track automated values of line address*/
    instead of:
    var autoLine =”; //track automated values of line address
    Normally comment ends at the end of the line which is bad when multiple lines are joined into one (caused by some minify plugins etc, in my case that html parser).

    Plugin Author Aurovrata Venet

    (@aurovrata)

    ok, can fix, but at of now is not a priority. So please hack your own plugin file to fix it. When you next update the plugin, this will be done. Is that ok?

    Yes, it’s ok. I did it this way and just asked you if is it possible in future version. So ok, thank for answer.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Use Multi-line Comments’ is closed to new replies.