Title: Bug with &hellip; (dot dot dot)
Last modified: August 21, 2016

---

# Bug with … (dot dot dot)

 *  Resolved [Viktor Nagornyy](https://wordpress.org/support/users/viktorix/)
 * (@viktorix)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/bug-with-hellip-dot-dot-dot/)
 * Seems to be a small bug. It looks like the plugin adds … after full title, not
   cut off title. Just needs to be moved:
 *     ```
       if (substr($content, $MaxLength, 1) == " ") {
             $content = implode(" ", $aWords).'&hellip;';
           } else {
             $content = implode(" ", array_slice($aWords, 0, -1));
           }
       ```
   
 * [https://wordpress.org/plugins/top-10/](https://wordpress.org/plugins/top-10/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/bug-with-hellip-dot-dot-dot/#post-4811126)
 * Shouldn’t the `&hellip;` be after both?
 *  Thread Starter [Viktor Nagornyy](https://wordpress.org/support/users/viktorix/)
 * (@viktorix)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/bug-with-hellip-dot-dot-dot/#post-4811130)
 * … indicates that something continues, so it would be best for it to be after 
   truncated title to indicate it was cut and continues. That’s just my opinion.
 * It’s called an ellipsis, you can see what it means here
    [http://en.wikipedia.org/wiki/Ellipsis](http://en.wikipedia.org/wiki/Ellipsis)
 * > “series of dots that usually indicates an intentional omission of a word, sentence,
   > or whole section from a text without altering its original meaning”
 * That’s why I changed it on our blog.
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/bug-with-hellip-dot-dot-dot/#post-4811144)
 * Agreed on the meaning. The reason why I say it needs to be on both places is 
   because the portion of the code that you referred to corresponds to the truncated
   title.
 * In the else part of the code, the last element of the array is dropped to remove
   the half word.
 *  Thread Starter [Viktor Nagornyy](https://wordpress.org/support/users/viktorix/)
 * (@viktorix)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/bug-with-hellip-dot-dot-dot/#post-4811145)
 * When it’s active, having … in the else portion adds it to full title that is 
   within character limit. That’s why I moved it to if. Then it shows after title
   was cut.
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/bug-with-hellip-dot-dot-dot/#post-4811146)
 * Understood. I’m going to run a few tests with varying title limits and lengths
   to try to get a proper solution.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Bug with … (dot dot dot)’ is closed to new replies.

 * ![](https://ps.w.org/top-10/assets/icon-256x256.png?rev=2986432)
 * [WebberZone Top 10 — Popular Posts](https://wordpress.org/plugins/top-10/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/top-10/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/top-10/)
 * [Active Topics](https://wordpress.org/support/plugin/top-10/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/top-10/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/top-10/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Ajay](https://wordpress.org/support/users/ajay/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/bug-with-hellip-dot-dot-dot/#post-4811146)
 * Status: resolved