Automattic / Automattic/custom-metadata

Conditionally enqueue scripts

Open
#54 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
190
Forks
46
Avg merge
46m
Merged PRs (30d)
15

Description

Find a way to figure out which fields are loaded on the current page and load scripts conditionally

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating the plugin's field-loading and script-enqueue logic, then determine how the current page's loaded fields can be identified. Done means scripts are enqueued only when their related fields are present, with the behavior verified on relevant WordPress pages.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.