Skip to content
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

Various small bug fixes #207

Merged
merged 6 commits into from
Nov 25, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Admin_Page::add_assets(): bug fix
The third (`$deps`) parameter for `wp_enqueue_style()` expects an array of strings, not `null`.

Ref: https://developer.wordpress.org/reference/functions/wp_enqueue_style/
  • Loading branch information
jrfnl authored and enricobattocchi committed Nov 25, 2023

Verified

This commit was signed with the committer’s verified signature.
ilikesymmetry Conner Swenberg
commit 3b74fcd54e5de169ddc5cdd2583b566c147c3470
2 changes: 1 addition & 1 deletion src/admin-page.php
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ public function add_assets() {
\wp_enqueue_style(
'yoast-test-admin-style',
\plugin_dir_url( \YOAST_TEST_HELPER_FILE ) . 'assets/css/admin.css',
null,
[],
\YOAST_TEST_HELPER_VERSION
);
\wp_enqueue_script( 'masonry' );