Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #26343, comment 24


Ignore:
Timestamp:
08/04/2014 09:02:09 PM (10 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26343, comment 24

    initial v1  
    1 Interesting, I didn't know that... For reference: https://core.trac.wordpress.org/ticket/23282. It's funny to see that this issue never came up in that discussion, even though `has_shortcode` was an important part of it.
     1Interesting, I didn't know that... For reference: #23282. It's funny to see that this issue never came up in that discussion, even though `has_shortcode` was an important part of it.
    22
    33However, even though your intention was to make it simply check for a shortcode in a piece of content, I'm not sure that your intention was the correct behaviour for `has_shortcode`. It seems to me that it currently works as would be expected from `has_shortcode`, checking only for unnested shortcodes. An interesting discussion...