Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #6517, comment 20


Ignore:
Timestamp:
06/23/2015 01:50:08 PM (5 years ago)
Author:
hnla
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6517, comment 20

    initial v1  
    44
    55However not really sure that 'implies' is correct why on earth do we have this option to either count markup or not the string is the only important count the markup if exists should always be treated as parsed data not to be displayed and therefore not part of the count and if that were true the function then becomes a whole heap simpler?
     6
     7>I can imagine situations where someone might want to use this function to get an exact-length excerpt (for reasons other than display within a web page
     8
     9surely there are simpler php functions to count a string if you needed to but hey ho, a long as we're happy it works we'll expect devs/users not to pass those two option together to count all and display exact - works for me!