Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Update theme-options.php #65

Merged
merged 1 commit into from
Jan 14, 2019
Merged

Update theme-options.php #65

merged 1 commit into from
Jan 14, 2019

Conversation

jaymcp
Copy link
Member

@jaymcp jaymcp commented Jan 10, 2019

Proposed Changes

  • Removes duplicate query from Theme Options page. Constructing a new WP_Query automatically calls the get_posts method, so manually calling it re-runs the query logic, and is unnecessary.

@jaymcp jaymcp added bug Something isn't working enhancement New feature or request labels Jan 10, 2019
@jaymcp jaymcp requested a review from ampersarnie January 10, 2019 12:22
@ampersarnie ampersarnie merged commit 3b9a113 into develop Jan 14, 2019
@jaymcp jaymcp deleted the jonmcp-patch-5 branch January 14, 2019 16:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants