Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getscbatch bug? #5434

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Getscbatch bug? #5434

wants to merge 11 commits into from

Conversation

rica-carv
Copy link
Contributor

@rica-carv rica-carv commented Feb 9, 2025

Motivation and Context

I don't know if this intended or not, but the forced sc override trigger as true gives a "bug", forcing the class name to be plugin_myplugin_plugin_myplugin_overridenSCname_shortcode (yes, the two first sentence twice) & file name to be plugin_myplugin_overridenSCname_shortcode.php

I also would like to know what's the intended "override", since both override options won't really "override", they simply load the myplugin shortcode, without nothing from the original overriden plugin shortcode....

Description

Just changed the documentations next to the function because i don't know if this is the intended behaviour or not....

How Has This Been Tested?

Current github code of e107, and tested calling e107::getScBatch('corescname', 'mypluginscname', true);

The e107::getScBatch('corescname', 'mypluginscname', 'corescname'); call works as intended, overriding the corescname shortcode...

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (a change to man pages or other documentation)

Checklist

Copy link

codeclimate bot commented Feb 11, 2025

Code Climate has analyzed commit acc8fa6 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (80% is the threshold).

This pull request will bring the total coverage in the repository to 38.9% (0.1% change).

View more on Code Climate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant