Skip to content

Php7-3#3

Merged
Jarrich merged 4 commits intoKo-fi:masterfrom
marklchaves:php7
Mar 6, 2020
Merged

Php7-3#3
Jarrich merged 4 commits intoKo-fi:masterfrom
marklchaves:php7

Conversation

@marklchaves
Copy link
Copy Markdown
Contributor

@marklchaves marklchaves commented Dec 12, 2019

PHP 7.3

Replaced one call to deprecated create_function. Deprecated in 7.2.

jscolor

Installed latest jscolor (version 2.0.5). http://jscolor.com/release/latest.zip

Typos

  • Removed extra "w" in plugin description. Used to be wwww.ko-fi.com.
  • Made Ko-fi init cap throughout as per website. E.g. not ko-fi or Ko-Fi.

Testing

PHP 7.3.2 and WordPress 5.3. Safari 13.0.4, Firefox 71, and Chrome 78 on MacOS.

  1. Tested plugin with wp_debug on. Observed deprecated warning. No other warnings.
  2. Ran PHP Compatibility (WP Engine) scan. Observed deprecated warning. No other warnings.
  3. Converted create_function call to anonymous function (PHP closure).
  4. Tested plugin settings and widget. No warnings logged. All functions worked (see questions below).
  5. Ran PHP Compatibility scan. No warnings logged.

Notes

Only question was if unchecking the Hyperlink setting is supposed to disable linking for the widget? Oh, it looks like there's support for a custom shortcode? Any documentation on that? I can test that too.

Attached before/after logs.

ko-fi-button-debug-log-deprecated-12dec2019

ko-fi-button-php-compatibility-checker-deprecated-11dec2019

ko-fi-button-php-compatibility-checker-12dec2019

ko-fi-button-php-compatibility-report-11dec2019.txt
ko-fi-button-php-compatibility-report-12dec2019.txt

Note: Sorry about the FUNDING.yml update. Didn't realised this file would be included 😬 Feel free to delete?

@Jarrich Jarrich self-requested a review December 13, 2019 08:54
@max23468
Copy link
Copy Markdown

Any news about this fix?

@marklchaves
Copy link
Copy Markdown
Contributor Author

Hi @max23468,

Still waiting for a review. I hope we'll get one soon!

Thanks for asking.

@Jarrich
Copy link
Copy Markdown
Contributor

Jarrich commented Feb 29, 2020

Sorry for the silence. You can expect some movement on this soon 👍

@max23468
Copy link
Copy Markdown

Hope to see some updated to the plugin soon!
It needs a bit of improvement because it's risks to become obsolete as WP gets support for newer PHP versions

@Jarrich Jarrich merged commit 773c014 into Ko-fi:master Mar 6, 2020
@Jarrich
Copy link
Copy Markdown
Contributor

Jarrich commented Mar 6, 2020

Thank you for the contribution @marklchaves

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.

3 participants