Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #42618, comment 4


Ignore:
Timestamp:
11/18/2017 12:12:00 PM (7 years ago)
Author:
netsurfer2705
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42618, comment 4

    initial v1  
    1010> wp.mce.views does only replicate the gallery shortcode functionality.
    1111
    12 No! And that's exactly the point, as said before. Instead of using the registered shortcode function, it uses its own reduced version of the core/default shortcode function(ality), without paying respect to actually registered shortcode function!
     12No! And that's exactly the point, as said before. Instead of using the registered shortcode function, it uses its own reduced version of the core/default shortcode function(ality), without paying respect to the actually registered shortcode function!
    1313That is what I am complaining about.
    14 Just to makes things (perhaps) clearer: I added taxonomies for (image) attachments. So the user may generate a gallery based on these taxonomies. Therefor I added the respective attributes to the [gallery] shortcode. My intention is to make use of the default/ core [gallery] shortcode and not to add another shortcode (for many reasons)!
     14Just to make things (perhaps) clearer: I added taxonomies for (image) attachments. So the user may generate a gallery based on these taxonomies. Therefor I added the respective attributes to the [gallery] shortcode. My intention is to make use of the default/ core [gallery] shortcode and not to add another shortcode (for many reasons)!
    1515And in my humble opinion it is a "bug" in WP core, that views use a hardcoded version for evaluating a shortcode's content, instead of using the registered shortcode functions!
    1616