pbc-web / post-type-as-taxonomy

Project a post type as a taxonomy. Made for WordPress.
GNU General Public License v2.0
0 stars 0 forks source link

Code Syle : Nested Ifs #1

Open stewarty opened 3 years ago

stewarty commented 3 years ago

There are lots of nested if statements

We should remove them in favour or returning early.

leanderiversen commented 3 years ago

I have created a new branch with the initial round of removing the if statements, but I will have a second pass to see if it can be improved further.