ShareThis Share Buttons 2.1.7

Does ShareThis Share Buttons work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP notices
18PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 76.58 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/sharethis-share-buttons/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=sharethis-share-buttons%2Fsharethis-share-buttons.php&plugin_status=all&paged=1&s&_wpnonce=02be7bd656
Aspect after-activation
HTTP status 200
Load time 0.452 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

ShareThis

Page screenshot: ShareThis
URL /wp-admin/admin.php?page=sharethis-share-buttons
Aspect menu-item
HTTP status 200
Load time 1.662 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.257 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.751 s
Memory usage 5.11 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.612 s
Memory usage 5.1 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.576 s
Memory usage 5.06 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.760 s0.256 s-0.504 s3.07 MiB3.15 MiB+ 76.91 KiB
/wp-admin/edit.php0.185 s0.181 s-0.004 s3.1 MiB3.17 MiB+ 76.8 KiB
/wp-admin/post-new.php0.740 s0.982 s+0.242 s5.02 MiB5.11 MiB+ 90.73 KiB
/wp-admin/upload.php0.568 s0.951 s+0.383 s3.02 MiB3.08 MiB+ 61.38 KiB
/wp-admin/options-writing.php0.171 s0.156 s-0.015 s3.01 MiB3.06 MiB+ 49.59 KiB
/wp-admin/media-new.php0.302 s0.228 s-0.074 s2.99 MiB3.06 MiB+ 73.83 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.183 s-0.007 s3.01 MiB3.08 MiB+ 77.91 KiB
/wp-admin/post-new.php?post_type=page0.585 s0.718 s+0.133 s5.02 MiB5.1 MiB+ 81.77 KiB
/wp-admin/options-discussion.php0.224 s0.275 s+0.051 s3 MiB3.06 MiB+ 63.38 KiB
/wp-admin/edit-comments.php0.222 s0.204 s-0.018 s3.03 MiB3.08 MiB+ 59.53 KiB
/0.293 s0.220 s-0.073 s2.97 MiB3.1 MiB+ 130.6 KiB
Average 0.385 s0.396 s+0.010 s3.38 MiB3.46 MiB+ 76.58 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP46.5%2,60676419
CSS29.1%1,633113
JavaScript22.3%1,2532514
SVG2.1%11803
Total 5,610 1,026 29

PHP Code Analysis | More results »

Lines of code 1,803
Total complexity 344
Median class complexity 31.0
Median method complexity 3.0
Most complex class Share_Buttons
Most complex function Share_Buttons::set_button_config()
Classes 5
Methods 69
Functions 5

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 6

Sidebar Widgets 1

ID Name
st_button_widgetShareThis Buttons

Meta Boxes

{
    "post": {
        "sharethis_share_buttons": {
            "title": "Share Buttons",
            "context": "side"
        }
    },
    "page": {
        "sharethis_share_buttons": {
            "title": "Share Buttons",
            "context": "side"
        }
    }
}

PHP Error Log 19 lines

[20-May-2023 18:38:56 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
[20-May-2023 18:38:58 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
[20-May-2023 18:38:59 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
[20-May-2023 18:39:03 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
[20-May-2023 18:39:03 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
[20-May-2023 18:39:04 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
[20-May-2023 18:39:07 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
[20-May-2023 18:39:08 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
[20-May-2023 18:39:09 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
[20-May-2023 18:39:09 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
[20-May-2023 18:39:10 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
[20-May-2023 18:39:13 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
[20-May-2023 18:39:13 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
[20-May-2023 18:39:14 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
[20-May-2023 18:39:15 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
[20-May-2023 18:39:18 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
[20-May-2023 18:39:21 UTC] PHP Notice:  Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5865
[20-May-2023 18:39:21 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
[20-May-2023 18:39:27 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 1148
See also: All tests for this plugin, How to Hide ShareThis Share Buttons Admin Menus and Meta Boxes