Commit graph

560 commits

Author SHA1 Message Date
221b87a54f
Merge pull request #49 from markcheret/revert-38-wp-coding-standard--fresh
Revert "Update code to comply with WP Coding Standards (third time's the charm!)"
2021-02-26 12:01:21 +00:00
5982f12bd5 Revert "Update code to comply with WP Coding Standards (#38)"
This reverts commit 02c6c1c362.
2021-02-26 08:07:03 +00:00
02c6c1c362
Update code to comply with WP Coding Standards (#38)
Co-authored-by: @pewgeuges <pewgeuges@gmail.com>
2021-02-25 19:17:00 +00:00
pewgeuges
b4df058574
File header class/widgets/reference-container.php
Move date to its tag, …
2021-02-25 17:48:04 +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
pewgeuges
422a6d1fa2 File level headings in class/layout/.
Move date to @‌date tag below the @‌since tag.
Delete @‌lastmodified tag as pointless, easily out of sync, and screwing things up when collaborating.
Need to mention however that in many projects, the last modified datestamp is applied and maintained.
That said, some published files on the web out there contain edits post-dating their datestamp.
2021-02-25 14:22:07 +01:00
pewgeuges
a7c103c922 Remove end comment. 2021-02-25 12:01:24 +01:00
pewgeuges
cf1fef09cc
Correct phrase (initialism) 2021-02-25 00:02:44 +01:00
pewgeuges
bf80a52c07 Edit file level docblocks. 2021-02-24 23:53:22 +01:00
pewgeuges
4e63ef3eeb
Convert script to snake_case 2021-02-24 23:14:56 +01:00
pewgeuges
2111d850aa
Convert script to snake_case 2021-02-24 23:12:41 +01:00
8a0658c604 Remove @lastmodified tag, datetime from @since tag 2021-02-24 21:53:17 +00:00
pewgeuges
0dc5f23123 Fix internal script. 2021-02-24 18:02:16 +01:00
pewgeuges
3540815ba7 Small edits. 2021-02-24 17:11:41 +01:00
pewgeuges
c1e5e0b33a Update contribution URL class/init.php
The historic repo where @felipelavinz contributed has recently been moved.
As a consequence the commit’s URL needs to be updated.
But the original URL is maintained below under the commit date.
2021-02-24 16:28:34 +01:00
pewgeuges
3f35699047 Fix function name in docblock 2021-02-24 14:36:48 +01:00
pewgeuges
bd00fc348f
Same as previous. class/layout/settings.php 2021-02-24 12:52:32 +01:00
pewgeuges
4f666f1300
Docblocks for tooltips class/layout/settings.php
Headings and version for split-off metaboxes docblocks.
Overwrites the todo items.
Thanks for starting the docblocks required by WP coding standards.
2021-02-24 12:26:31 +01:00
pewgeuges
0dfe2ad4d0
Fix translator comments class/layout/settings.php
Titlecase “Translators:”.
Add semicolons.
2021-02-24 12:11:32 +01:00
pewgeuges
4cd3d5e255
Fix&dispatch docblock h. class/layout/settings.php
Fix 2 function docblock headings by dispatching them from the originally single metabox function docblock.
Also add version tags to the 2 metaboxes split off @since 2.2.0.
* Displays all options for the footnotes start and end tag short codes. (Initially called “Footnotes styling”.)
* Displays all options for the footnotes numbering. (Newly individualized.)
* Displays all options for the scrolling behavior. (Totally new as scroll offset and duration were initially hard-coded in the template.)
(This is part of WP coding standard compliance.)
2021-02-24 11:49:08 +01:00
b339fd949f Add @package tag to header 2021-02-24 08:51:24 +00:00
pewgeuges
d64e75eac9
Fix line comments in class/layout/init.php 2021-02-23 23:45:01 +01:00
pewgeuges
ceb112d7ff
Delete committer tag in footnotes.php 2021-02-23 23:05:05 +01:00
pewgeuges
f1e40bb3e4
Update header footnotes.php
Fix header docblock as discussed in https://github.com/markcheret/footnotes/pull/38#discussion_r581415367
2021-02-23 23:01:48 +01:00
pewgeuges
cb43a1f6be
Restore compiler keyword in class/language.php 2021-02-23 21:14:45 +01:00
pewgeuges
1c2afab4b3
Change variable names conventional class/init.php
Name variables in an intuitive manner according to coding conventions.
2021-02-23 20:56:06 +01:00
pewgeuges
b44071e8d6
Update readme.txt item reflected in class.init.php
Update: Libraries: Load jQuery UI from WordPress, thanks to @check2020de issue report.
Under 2.0.4.
2021-02-23 20:33:14 +01:00
pewgeuges
63803e147b
Merge docblock restore attributions class/init.php
Merge deleted docblock attributions in remaining docblock.
2021-02-23 20:13:38 +01:00
b5dc136ffe Replace escape output functions 2021-02-23 18:13:52 +00:00
526b5d096f Minor whitespace, commenting tweaks 2021-02-23 17:59:52 +00:00
87f2ed4f5c Disable missing nonce errors/warnings for now 2021-02-23 17:59:12 +00:00
494a116a62 Clarify double-wildcard instructions 2021-02-23 17:58:26 +00:00
fa8fb3f207 Remove output escaping functions 2021-02-23 17:45:33 +00:00
716b213fb8 Replace incorrect option sanitisation function 2021-02-23 17:44:27 +00:00
5411e4b279 Replace wp_remote_get() with PHPCS disable. 2021-02-23 17:17:14 +00:00
a7b4d965d7 Commit composer lockfile 2021-02-23 17:16:15 +00:00
078781b000 Explictly pass false argument to wp_enqueue_script().
Not doing so will result in a `WordPress.WP.EnqueuedResourceParameters.NotInFooter` warning from PHPCS.
2021-02-23 17:15:58 +00:00
df6bd2c282 Update layout files 2021-02-23 16:48:53 +00:00
8ff0d9ee86 Rename dashboard/ to layout/. 2021-02-23 16:48:21 +00:00
adb2ccbc32 Add temp file 2021-02-23 16:47:39 +00:00
4736f19b36 Rename dashboard files 2021-02-23 16:45:57 +00:00
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
Mark Cheret
828ed818f1
Merge pull request #37 from markcheret/fix-line-endings
Append line endings
2021-02-23 17:04:41 +01:00
9ee72568ef Append line endings 2021-02-23 16:00:59 +00:00
40d5702d27
Merge pull request #28 from markcheret/footnotes-emphasis
Emphasise plugin name, add contributing guidelines
2021-02-21 13:56:27 +00:00
9d8efe1a41 Fix indentation 2021-02-21 13:55:22 +00:00
b11f3bdc2e Alter formatting, add contribution information 2021-02-21 13:53:51 +00:00
ed627acb86
Merge pull request #27 from markcheret/markcheret-patch-2
Update README.md
2021-02-21 13:07:16 +00:00
2509beb61f
Merge pull request #26 from markcheret/markcheret-patch-4
Update readme.txt
2021-02-21 13:06:38 +00:00
8cf3baeeae
Merge pull request #25 from markcheret/markcheret-patch-3
Update README.md
2021-02-21 13:04:26 +00:00