Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Code Overhaul #9

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

[WIP] Code Overhaul #9

wants to merge 8 commits into from

Conversation

brichards
Copy link

This PR is to totally refactor and rebuild the original codebase to work with WP 4.4+

For #3

@@ -1,22 +0,0 @@
# CF Revision Manager Changelog
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't trash the changelog. In fact, this branch will warrant a new entry to explain the total overhaul that is taking place in what will become version 2.0.0.

<div class="wrap">
<h2><?php _e( 'CF Revision Manager', 'cfrm' ); ?></h2>
<?php
if ( ! count( $keys ) ) {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would personally write this condition as if ( empty( $keys ) ) {. There's no performance or syntax reason for the change, it's purely a stylistic preference.

@brichards
Copy link
Author

brichards commented May 16, 2016

General comment for code throughout: there are two different prefixes in use across this codebase, cfrm_ and cfr_. We should standardize on cfrm_ for everything.

@cf-jlambelet
Copy link

That's exactly what I was looking for 👍

Is this pull request going to be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants