Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 7 months ago

#6050 closed task (blessed) (worksforme)

Gallery shortcode in conflict with NextGEN Gallery

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


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


but I do not like this solution. It would be better if the new wp core shortcode could renamed to [wp-gallery]
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 (6)

#1 @andy
8 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.

#2 @alexrabe
8 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.

#3 @westi
8 years ago

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

Blocker for 2.5 - matt what is your opinion

#4 @alexrabe
8 years ago

Any update on your decision finding ?

#5 @matt
8 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.

#6 @DrewAPicture
7 months ago

  • Milestone 2.5 deleted
Note: See TracTickets for help on using tickets.