Publish to Apple News 2.1.0

Does Publish to Apple News work with WordPress 5.6.2 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 272.16 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 version5.6.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 4,000+
WordPress.org page https://wordpress.org/plugins/publish-to-apple-news/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=publish-to-apple-news%2Fapple-news.php&plugin_status=all&paged=1&s&_wpnonce=e353bd840e
Aspect after-activation
HTTP status 200
Load time 0.490 s
Memory usage 3.28 MiB
JS errors None
Resource errors None

Apple News

Page screenshot: Apple News
URL /wp-admin/admin.php?page=apple_news_index
Aspect menu-item
HTTP status 200
Load time 0.400 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

Apple News → Settings

Page screenshot: Apple News → Settings
URL /wp-admin/admin.php?page=apple-news-options
Aspect menu-item
HTTP status 200
Load time 0.202 s
Memory usage 2.96 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.255 s
Memory usage 2.86 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.295 s0.312 s+0.017 s2.79 MiB3.05 MiB+ 268.65 KiB
/wp-admin/edit.php0.208 s0.218 s+0.010 s2.84 MiB3.1 MiB+ 268.68 KiB
/wp-admin/post-new.php0.979 s1.191 s+0.212 s4.93 MiB5.29 MiB+ 363.62 KiB
/wp-admin/upload.php0.545 s0.452 s-0.093 s2.67 MiB2.93 MiB+ 263.91 KiB
/wp-admin/options-writing.php0.173 s0.168 s-0.005 s2.68 MiB2.91 MiB+ 231.52 KiB
/wp-admin/media-new.php0.266 s0.185 s-0.081 s2.65 MiB2.9 MiB+ 263.72 KiB
/wp-admin/edit-tags.php?taxonomy=category0.231 s0.206 s-0.025 s2.68 MiB2.94 MiB+ 264.63 KiB
/wp-admin/post-new.php?post_type=page1.217 s0.902 s-0.315 s4.92 MiB5.26 MiB+ 348.8 KiB
/wp-admin/options-discussion.php0.322 s0.300 s-0.022 s2.65 MiB2.91 MiB+ 264.34 KiB
/wp-admin/edit-comments.php0.246 s0.236 s-0.010 s2.75 MiB3.01 MiB+ 264.16 KiB
/0.294 s0.223 s-0.071 s2.67 MiB2.86 MiB+ 191.68 KiB
Average 0.434 s0.399 s-0.035 s3.11 MiB3.38 MiB+ 272.16 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
JSON
Language % Lines of code Comment lines Files
PHP82.7%12,4567,660101
JSON10.3%1,55206
JavaScript4.6%69411813
CSS2.4%36008
Total 15,062 7,778 128

PHP Code Analysis | More results »

Lines of code 11,529
Total complexity 1,864
Median class complexity 12.5
Median method complexity 2.0
Most complex class Apple_Exporter\Theme
Most complex function Apple_Exporter\Components\Embed_Generic::build()
Classes 74
Methods 548
Functions 21

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 9

PHP Error Log 4 lines

[23-Feb-2021 18:56:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/publish-to-apple-news/includes/class-apple-news.php on line 280
[23-Feb-2021 18:56:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/publish-to-apple-news/includes/class-apple-news.php on line 280
[23-Feb-2021 18:56:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/publish-to-apple-news/includes/class-apple-news.php on line 280
[23-Feb-2021 18:56:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/publish-to-apple-news/includes/class-apple-news.php on line 280
See also: All tests for this plugin, How to Hide Publish To Apple News Admin Menus