Giter Site home page Giter Site logo

Comments (5)

bradyvercher avatar bradyvercher commented on June 11, 2024

Thanks for the report @tamarazuk! At some point, I think this prevented the argument from being passed to the PHP script. I'm not sure if something changed or if it really just never worked.

I imagine getting rid of that argument shifting hocus pocus in grunt-add-textdomain.php should fix this up, though.

from grunt-wp-i18n.

tamarazuk avatar tamarazuk commented on June 11, 2024

@bradyvercher Thanks for the quick reply 🍻

The task is always passing the second argument (but it's an empty string when we're doing a dry run) whereas the grunt-add-textdomain.php assumes the command was run in the shell so the argument might not exist. So I agree, removing the shifting hocus pocus and adjusting the indexes should fix it. Alternatively, moving the array_shift() here outside of the if can work too.

from grunt-wp-i18n.

bradyvercher avatar bradyvercher commented on June 11, 2024

Hey @tamarazuk, if you can let me know if that commit fixes your issue, I'll go ahead and push out a new release.

from grunt-wp-i18n.

tamarazuk avatar tamarazuk commented on June 11, 2024

@bradyvercher looks like that fixed it 😸 Thanks!

from grunt-wp-i18n.

bradyvercher avatar bradyvercher commented on June 11, 2024

Just pushed this out in v0.5.3. Thanks again! 🍻

from grunt-wp-i18n.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.