• Kramer

    (@kramerkeller)


    So this is a nifty plugin idea…

    That said, if it goes down to 0, it still allows an update, BUT when I actually go to update, it gives me an error saying it is going over the character limit. I counted the letters and checked 3 titles, but to no avail, so basically it seems the backend count is off by one OR more likely its just not allowing to save on 0 characters left.

    I’ll look at the code and adjust, but thought I’d let you know. Maybe it has to do with the recent WP update. On a separate note – adding this to quick edit and setting different limits for Custom Posts type titles would be great additions.

    https://www.ads-software.com/plugins/limit-post-titles/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Kramer

    (@kramerkeller)

    yeah you had 1 instead of 0 on the chapter limit in the javascript file… easy fix

    Same here, I changed line 40 in limit-post-titles.js from:
    if(this.getLength() < 1){
    to:
    if(this.getLength() < 0){

    (and made the corresponding change in limit-post-titles.min.js as well).

    Plugin Author steve228uk

    (@steve228uk)

    Cheers guys, I’ll push a fix for this soon.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Clever Plugin – One character off for me’ is closed to new replies.