-
Notifications
You must be signed in to change notification settings - Fork 97
Conform to VIP Go Coding Standards #195
Comments
Members is currently undergoing a major rewrite for 3.0. So, any PRs for the 2.0 branch likely won't get merged. I'll be happy to look over any code that might need to be changed and seeing how that might fit into 3.0. |
If there's a significant issue, of course, I'll put out an update for the 2.x branch. |
Thanks for the quick update. VIP has provided the feedback already, which I'll include here for you to look over. We've made the majority of the changes already though, if that makes it easier for you: —Adam Admin/tmpl/cap-control.php admin/class-cap-tabs.php admin/class-manage-roles.php admin/class-manage-users.php admin/class-role-list-table.php Admin/class-role-edit.php admin/class-role-new.php Admin/class-user-edit.php Admin/class-user-new.php admin/class-meta-box-content-permissions.php admin/class-roles.php admin/class-settings.php admin/class-meta-box-publish-role.php Admin/functions-addons.php admin/functions-admin.php Inc/Class-widget-login.php Inc/class-widget-users.php Inc/functions-cap-groups.php inc/functions-content-permissions.php inc/functions-private-site.php Inc/functions-roles.php Inc/functions-shortcodes.php Inc/template.php Js/edit-role.js |
None of the "lobby" links are available to me. They're private pages. With a quick scan of about a couple dozen of those, I'm seeing a good mix of things I'll probably address and some things that are probably going to be a hard no (I won't change). Other things are trivial code-styling things. For those, I'll look at them on a case-by-case basis. It seems to me that this report was simply generated by a tool rather than having a human look over the results. I'm already seeing a few false-positives. I'm also seeing a recommendation to use a Thanks for sharing the report. It'll definitely be useful as I work through the 3.0 update. Lots of good feedback there. I do want to be candid about not changing all of the above things and to avoid setting up any expectations. |
Thanks Justin for taking a look. Hopefully, you can work in some of the recommendations into the next release, but it looks like we'll have to maintain our own fork of the plugin to ensure VIP compatibility/compliance. Cheers. —AK |
Reopening because there are things here that I want to address in 3.0. |
We're looking to use this plugin on VIP Go, and after Automattic/VIP review, there are several places where the code needs to be updated to conform to their standards.
A subsequent PR will provide updates to follow the code to address Blockers, Proceed With Caution, and Performance Blockers: https://lobby.vip.wordpress.com/wordpress-com-documentation/code-review-what-we-look-for/
The text was updated successfully, but these errors were encountered: