WordPress.org

Ready to get started?Download WordPress

Forums

NoSpamNX
[resolved] Deprecated function __ngettext needs to be replaced (5 posts)

  1. Samuel Aguilera
    Member
    Posted 1 year ago #

    Hi!

    In function displayStats(), at line 591 and 596 (of NoSpamNX 5.1.11) __ngettext is used. That function was deprecated since WordPress 2.8

    It must be replace by the new function _n

    Arguments are the same, so it's a very simple change.

    I hope to see an update very soon! ;)

    http://wordpress.org/extend/plugins/nospamnx/

  2. kubi23
    Member
    Plugin Author

    Posted 1 year ago #

    I tried changing this to _n, but it did not work as it was suppose to.

  3. housebg
    Member
    Posted 10 months ago #

    @kubi23 - I just tried this myself and it worked fine.

    Just changed it to the single underscore n (_n) in both the lines referenced above, and it worked perfectly.

    Could you please get this into a future update for us?

  4. Li-An
    Member
    Posted 5 months ago #

    No news about this little problem ?

  5. kubi23
    Member
    Plugin Author

    Posted 5 months ago #

    Fixed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic