Commit graph

11 commits

Author SHA1 Message Date
Ben Goldsworthy 58683dd523 refactor: remove MCI prefixes 2021-04-19 12:16:05 +01:00
Ben Goldsworthy 2f809f4fe9 Revert "refactor: remove Hungarian notation and MCI prefixes"
This reverts commit 1284544556.
2021-04-19 12:15:17 +01:00
Ben Goldsworthy 1284544556 refactor: remove Hungarian notation and MCI prefixes
I had to use some RegEx-fu for this. Specifically:

```bash
find ./{footnotes.php,includes.php,class/} -type f -name "*.php" -exec sed -i 's/\(p\|l\|a\)_\(str\|bool\|int\|obj\|flo\|arr\)_//g' {} \;
find ./{footnotes.php,includes.php,class/} -type f -name "*.php" -exec sed -i 's/MCI_Footnotes/Footnotes/g' {} \;
find ./{footnotes.php,includes.php,class/} -type f -name "*.php" -exec sed -i 's/C_\(INT\|STR\|FLO\)_//g' {} \;
```

This should have covered all the bases.

In my testing I encountered one error caused by these changes.
In the `add_select_box` function in `/class/dashboard/layout.php`,
there was a function parameter called `$p_arr_options` and a variable
called `$l_str_options`. Removing the Hungarian notation caused an
error as these two variables were both now called `$options`.

This has been fixed, and I like to think that that will have been
the only naming conflict, but I think it is more likely that there
maybe others. Further testing is required before I am happy calling
this release-ready.

Close #34, progress #36
2021-04-16 23:55:05 +01:00
Ben Goldsworthy 27d3e6269e
chore: remove date info (#94)
* chore: remove @lastmodified tags

* chore: remove @date tags

* chore: remove timestamps

* chore: remove timestamps

* chore: minor formatting fixes
2021-04-15 05:09:23 +01:00
pewgeuges c8d526ebc1
Remove dates in class/widgets/base.php
Remove @‌lastmodified date.
Remove purely documentation related @‌date tag.
2021-02-25 17:35:16 +01:00
Ben Goldsworthy 9a8e7c0851 Update codebase to be WP Coding Standard-compliant.
This is a squashed copy of `wp-coding-standard--rebase` to try and fix the line-ending
diff issue we're having.
2021-02-23 16:44:18 +00:00
Ben Goldsworthy 9ee72568ef Append line endings 2021-02-23 16:00:59 +00:00
pewgeuges 177841be4b traceability update 2.5.6d0 to clear the diffs before switching back to tab indentation, requiring the next commit to be entirely dedicated to whitespace \s changes so as to avoid screwing up code diffs.
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2477277 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-18 18:29:21 +00:00
David Artiss f10d17ccc2 Version 1.6.4
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@1445720 b8457f37-d9ea-0310-8a92-e5e31aec5664
2016-06-29 12:54:37 +00:00
David Artiss e5fe6ba3b3 Removing pre-update
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@1445711 b8457f37-d9ea-0310-8a92-e5e31aec5664
2016-06-29 12:51:01 +00:00
Aricura 0c01b80173 - Update: Refactored the whole source code
- Add: Grouped the Plugin Settings into a new Menu Page called "ManFisher Plugins"
- Update: Moved the Diagnostics Sections to into a new Sub Page called "Diagnostics"
- Add: Sub Page to list all other Plugins of the Contributors
- Bugfix: Line up Footnotes with multiple lines in the Reference container

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@989695 b8457f37-d9ea-0310-8a92-e5e31aec5664
2014-09-14 20:32:59 +00:00