ShareThis Share Buttons 2.1.6

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

Summary

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

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

Page speed impact: 0.023 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.1.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=5e01ccd3c1
Aspect after-activation
HTTP status 200
Load time 0.372 s
Memory usage 3.57 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 2.801 s
Memory usage 3.6 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.358 s
Memory usage 3.48 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 1.426 s
Memory usage 5.56 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 1.020 s
Memory usage 5.55 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 4.025 s
Memory usage 5.52 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.320 s0.322 s+0.002 s3.54 MiB3.62 MiB+ 82.12 KiB
/wp-admin/edit.php0.189 s0.219 s+0.030 s3.57 MiB3.65 MiB+ 81.79 KiB
/wp-admin/post-new.php1.690 s1.362 s-0.328 s5.46 MiB5.56 MiB+ 96.04 KiB
/wp-admin/upload.php0.754 s0.354 s-0.400 s3.41 MiB3.55 MiB+ 145.81 KiB
/wp-admin/options-writing.php0.172 s0.164 s-0.008 s3.4 MiB3.53 MiB+ 129.16 KiB
/wp-admin/media-new.php0.252 s0.356 s+0.104 s3.39 MiB3.53 MiB+ 146.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.259 s+0.057 s3.48 MiB3.56 MiB+ 81.75 KiB
/wp-admin/post-new.php?post_type=page1.038 s1.058 s+0.020 s5.46 MiB5.55 MiB+ 91.13 KiB
/wp-admin/options-discussion.php0.209 s1.032 s+0.823 s3.38 MiB3.47 MiB+ 83.17 KiB
/wp-admin/edit-comments.php0.229 s0.251 s+0.022 s3.48 MiB3.56 MiB+ 81.4 KiB
/0.321 s0.248 s-0.073 s3.47 MiB3.48 MiB+ 18.46 KiB
Average 0.489 s0.511 s+0.023 s3.82 MiB3.91 MiB+ 94.28 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.4%2,59976319
CSS29.2%1,633113
JavaScript22.3%1,2482514
SVG2.1%11803
Total 5,598 1,025 29

PHP Code Analysis | More results »

Lines of code 1,796
Total complexity 343
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 5

User Metadata wp_usermeta 1

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 1 lines

[17-Nov-2022 05:32:13 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/support/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 5835
See also: All tests for this plugin, How to Hide ShareThis Share Buttons Admin Menus and Meta Boxes