Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
wp-cli
i18n-command
Repository navigation
Code
Issues
1
(1)
Pull requests
1
(1)
Actions
Security and quality
Insights
More
items
Extract strings contained within eval()
- #222
#222
Merged
schlessera
merged 7 commits into
wp-cli:master
wp-cli/i18n-command:master
from
dd32:extractJSEval
Copy head branch name to clipboard
Mar 5, 2021
Conversation
Commits
7
(7)
Checks
Files changed
Merged
Extract strings contained within eval()
#222
schlessera
merged 7 commits into
wp-cli:master
wp-cli/i18n-command:master
from
dd32:extractJSEval
Copy head branch name to clipboard
Commits
Commits on Mar 5, 2021
Extract strings contained within eval() contents.
dd32
authored and
schlessera
committed
121bc99
View commit details
Copy full SHA for 121bc99
Browse repository at this point
Set the line reference of the string to that of the eval(), rather than the location within the eval contents.
dd32
authored and
schlessera
committed
38548bb
View commit details
Copy full SHA for 38548bb
Browse repository at this point
Be more strict
dd32
authored and
schlessera
committed
e9d12ad
View commit details
Copy full SHA for e9d12ad
Browse repository at this point
Pretend you never saw this variable typo.
dd32
authored and
schlessera
committed
3e861e4
View commit details
Copy full SHA for 3e861e4
Browse repository at this point
Iterate over the node arguments and only process the first argument that's a literal. Tests ran into a BinaryExpression here, which doesn't appear to be expected.
dd32
authored and
schlessera
committed
65c6aac
View commit details
Copy full SHA for 65c6aac
Browse repository at this point
Attempt to add a behat test for string extraction from within evals.
dd32
authored and
schlessera
committed
6cda0c9
View commit details
Copy full SHA for 6cda0c9
Browse repository at this point
Whitespace is good
dd32
authored and
schlessera
committed
1ebe57f
View commit details
Copy full SHA for 1ebe57f
Browse repository at this point
You can’t perform that action at this time.