-
Notifications
You must be signed in to change notification settings - Fork 6
Recursive version bump when using defines #43
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
base: master
Are you sure you want to change the base?
Conversation
… all asset files.
…nction is completely self-contained.
| * | ||
| * @package DevriX_Starter | ||
| */ | ||
| function dx_get_assets_version( $dir ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add function description, do not glue it to the file description on top
functions.php
Outdated
| * @package DevriX_Starter | ||
| */ | ||
| function dx_get_assets_version( $dir ) { | ||
| $rii = new RecursiveIteratorIterator( new RecursiveDirectoryIterator( $dir ) ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Improve the variable names, $rii is not descriptive at all
functions.php
Outdated
| */ | ||
| function dx_get_assets_version( $dir ) { | ||
| $rii = new RecursiveIteratorIterator( new RecursiveDirectoryIterator( $dir ) ); | ||
| $files = array(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix code formatting, you have to follow WP coding standards on all lines, tabs here seem wrong
functions.php
Outdated
| function dx_get_assets_version( $dir ) { | ||
| $rii = new RecursiveIteratorIterator( new RecursiveDirectoryIterator( $dir ) ); | ||
| $files = array(); | ||
| $assets_m_time = array(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again improve name, what is m?
No description provided.