WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#6050 closed task (blessed) (worksforme)

Gallery shortcode in conflict with NextGEN Gallery

Reported by: alexrabe Owned by: matt
Milestone: 2.5 Priority: high
Severity: blocker Version: 2.5
Component: Optimization Keywords: media dev-feedback
Focuses: Cc:

Description

NextGEN Gallery uses from the beginning the shortcode : [gallery=id] (see here)

The new core gallery shortcode [gallery] gets then in conflict with existing one. I know that I can remove the code with

remove_shortcode('gallery');

but I do not like this solution. It would be better if the new wp core shortcode could renamed to [wp-gallery]
or
the regex will be optimized that [gallery=1] will not detected as WP core shortcode.

If any other solution leads to a coexistent , give me a note.

Change History (5)

comment:1 andy6 years ago

  • Keywords media added
  • Owner changed from anonymous to matt
  • Priority changed from normal to high

It's easy enough to change the core shortcode. As this was Matt's naming decision, I will assign to him for an opinion.

comment:2 alexrabe6 years ago

Andy, Matt,

I would like to get any response / feedback very soon, because I would like to prepare my plugin for 2.5. You only need to make the follow decision :

a) Your plugin is not worth, that we change our core shortcode. Do the change at your side.

b) We will change our shortcode

c) We found a solution , that both will work. Please change your code to blablabla...

I don't want that this ticket is moved behind the 2.5 release. Thanks.

comment:3 westi6 years ago

  • Keywords dev-feedback added
  • Severity changed from normal to blocker

Blocker for 2.5 - matt what is your opinion

comment:4 alexrabe6 years ago

Any update on your decision finding ?

comment:5 matt6 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

The core shortcode should be kept as simple as possible, and will stay [gallery].

You should change your plugin to use something more specific. This doesn't mean your plugin doesn't have worth, it's just a matter of the best defaults for as many people as possible.

Note: See TracTickets for help on using tickets.