Commit graph

12 commits

Author SHA1 Message Date
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 6b9e602d07
Sync filenames with SVN repo (#57)
Returns to the original file names for the `class/dashboard/` directory (for now at least)
2021-03-04 07:46:19 +00:00
pewgeuges bf80a52c07 Edit file level docblocks. 2021-02-24 23:53:22 +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 391cce446a development 2.2.0d8 with update readme “Tested up to: 5.6”. Please test UI redesign prior to adding the missing settings
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2438063 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-12 21:07:24 +00:00
pewgeuges 043f2531ab development 2.1.4d4 for testing and Forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2427643 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-11-28 09:58:23 +00:00
Aricura 58b3dd27f6 Prepare for release version 1.5.2
- Add: Setting to enable/disable the mouse-over box
- Add: Current WordPress Theme to the Diagnostics sub page
- Add: ManFisher note in the "other Plugins" sub page
- Update: Removed unnecessary hidden inputs from the Settings page
- Update: Merged public CSS files to reduce the output and improve the performance
- Update: Translations (EN and DE)
- Bugfix: Removed the 'trim' function to allow whitespaces at the beginning and end of each setting
- Bugfix: Convert the footnotes short code to HTML special chars when adding them into the page/post editor (visual and text)
- Bugfix: Detailed error messages if other Plugins can't be loaded. Also added empty strings as default values to avoid 'undefined'

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@1000036 b8457f37-d9ea-0310-8a92-e5e31aec5664
2014-10-01 20:57:16 +00:00
Aricura f536f582b7 - Update: Removed Table border from the reference container
- Update: Set a max width to the first column of the reference container table (contains the footnote index)

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@997889 b8457f37-d9ea-0310-8a92-e5e31aec5664
2014-09-28 11:23:09 +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
Renamed from classes/convert.php (Browse further)