#6050 closed task (blessed) (worksforme)
Gallery shortcode in conflict with NextGEN Gallery
| Reported by: | alexrabe | Owned by: | matt |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Optimization | Version: | 2.5 |
| Severity: | blocker | Keywords: | media dev-feedback |
| Cc: | Focuses: |
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 (6)
#2
@
18 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
@
18 years ago
- Keywords dev-feedback added
- Severity normal → blocker
Blocker for 2.5 - matt what is your opinion
#5
@
18 years ago
- Resolution → worksforme
- Status new → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
It's easy enough to change the core shortcode. As this was Matt's naming decision, I will assign to him for an opinion.