Sitelet
https://github.com/ampproject/amp-wp/commits/develop/src/ReaderThemeSupportFeatures.php
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
View 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 }}
ampproject
amp-wp
Repository navigation
Code
Issues
14
(14)
Pull requests
47
(47)
Discussions
Actions
Projects
Wiki
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
amp-wp
src
ReaderThemeSupportFeatures.php
on
develop
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 12, 2024
Remove WP ported code
thelovekesh
committed
570ba39
View commit details
Copy full SHA for 570ba39
View code at this point
Browse repository at this point
Remove WP ported code
thelovekesh
committed
a7da292
View commit details
Copy full SHA for a7da292
View code at this point
Browse repository at this point
Commits on Jun 6, 2024
Update `isset()` with `array_key_exists()`
Show description for 5986229
thelovekesh
and
westonruter
authored
5986229
View commit details
Copy full SHA for 5986229
View code at this point
Browse repository at this point
Fix PHPDoc comments
Show description for 3968abd
thelovekesh
and
westonruter
authored
3968abd
View commit details
Copy full SHA for 3968abd
View code at this point
Browse repository at this point
Add support for theme.json v3 in reader theme
thelovekesh
committed
05b93e2
View commit details
Copy full SHA for 05b93e2
View code at this point
Browse repository at this point
Commits on Jul 11, 2023
Update comment for using `WP_DEBUG`
Show description for 557b91a
thelovekesh
and
westonruter
authored
557b91a
View commit details
Copy full SHA for 557b91a
View code at this point
Browse repository at this point
Update `::theme_has_theme_json()` with latest changes
thelovekesh
committed
2288f9d
View commit details
Copy full SHA for 2288f9d
View code at this point
Browse repository at this point
Commits on Jul 7, 2023
Update theme_has_theme_json to match core-patched version
westonruter
committed
892fa93
View commit details
Copy full SHA for 892fa93
View code at this point
Browse repository at this point
Remove dependency from `wp_theme_has_theme_json()` to check if theme has theme.json file
thelovekesh
committed
be8c3fb
View commit details
Copy full SHA for be8c3fb
View code at this point
Browse repository at this point
Commits on Mar 20, 2023
Update `::print_spacing_sizes_custom_properties()` to determine correct spacing preset
thelovekesh
committed
4affefd
View commit details
Copy full SHA for 4affefd
View code at this point
Browse repository at this point
Update global settings keys with constants
thelovekesh
committed
9e5783d
View commit details
Copy full SHA for 9e5783d
View code at this point
Browse repository at this point
Add `::print_spacing_sizes_custom_properties()`
Show description for dda1105
thelovekesh
committed
dda1105
View commit details
Copy full SHA for dda1105
View code at this point
Browse repository at this point
Commits on Mar 17, 2023
Remove `wp_get_global_settings` function exists check from `::theme_has_theme_json()`
Show description for d03e179
thelovekesh
and
westonruter
authored
d03e179
View commit details
Copy full SHA for d03e179
View code at this point
Browse repository at this point
Fix usage of `::get_typography_value_and_unit()`
thelovekesh
committed
5723c78
View commit details
Copy full SHA for 5723c78
View code at this point
Browse repository at this point
Fix phpcs errors due to `strip_tags()`
thelovekesh
committed
72af542
View commit details
Copy full SHA for 72af542
View code at this point
Browse repository at this point
Use `wp_get_typography_value_and_unit` if exists
Show description for 6de102d
thelovekesh
and
westonruter
authored
6de102d
View commit details
Copy full SHA for 6de102d
View code at this point
Browse repository at this point
Use `wp_theme_has_theme_json()` if exists
Show description for bcb0081
thelovekesh
and
westonruter
authored
bcb0081
View commit details
Copy full SHA for bcb0081
View code at this point
Browse repository at this point
Use `strip_tags()` to escape css
Show description for ca4d199
thelovekesh
and
westonruter
authored
ca4d199
View commit details
Copy full SHA for ca4d199
View code at this point
Browse repository at this point
Commits on Mar 16, 2023
Update escaping to use `wp_strip_all_tags()` for css values
thelovekesh
committed
7487201
View commit details
Copy full SHA for 7487201
View code at this point
Browse repository at this point
Commits on Mar 15, 2023
Ignore code coverage for functions taken from WP Core
thelovekesh
committed
ce11732
View commit details
Copy full SHA for ce11732
View code at this point
Browse repository at this point
Update `::theme_has_theme_json()` to bail if `wp_get_global_settings()` not exists
thelovekesh
committed
e6ff86e
View commit details
Copy full SHA for e6ff86e
View code at this point
Browse repository at this point
Update checks for theme.json with `theme_has_theme_json`
Show description for 1608869
thelovekesh
committed
1608869
View commit details
Copy full SHA for 1608869
View code at this point
Browse repository at this point
Commits on Mar 14, 2023
Add check to return correct font size format
thelovekesh
committed
7b4560c
View commit details
Copy full SHA for 7b4560c
View code at this point
Browse repository at this point
Avoid reducing theme support features for fontSizes while using theme.json
thelovekesh
committed
5e141a9
View commit details
Copy full SHA for 5e141a9
View code at this point
Browse repository at this point
Add support for fluid typography in reader mode
thelovekesh
committed
0083e8c
View commit details
Copy full SHA for 0083e8c
View code at this point
Browse repository at this point
Add `ReaderThemeSupportFeatures::get_typography_value_and_unit()`
Show description for 5f5d914
thelovekesh
committed
5f5d914
View commit details
Copy full SHA for 5f5d914
View code at this point
Browse repository at this point
Commits on Mar 13, 2023
Add theme support features from theme.json
thelovekesh
committed
2a3d437
View commit details
Copy full SHA for 2a3d437
View code at this point
Browse repository at this point
Commits on Oct 4, 2022
Add guard to skip usage of hexdec function if a valid hex is not passed
thelovekesh
committed
7cc3944
View commit details
Copy full SHA for 7cc3944
View code at this point
Browse repository at this point
Commits on Apr 23, 2021
Add remaining tests for ReaderThemeSupportFeatures
westonruter
committed
8462653
View commit details
Copy full SHA for 8462653
View code at this point
Browse repository at this point
Commits on Apr 22, 2021
Add stubs for testing ReaderThemeSupportFeatures
westonruter
committed
acf39f3
View commit details
Copy full SHA for acf39f3
View code at this point
Browse repository at this point
Update cached primary_theme_support when updating a theme
westonruter
committed
4201418
View commit details
Copy full SHA for 4201418
View code at this point
Browse repository at this point
Defer updating cached primary_theme_support until cron if theme overridden at after_switch_theme
westonruter
committed
b62a8c8
View commit details
Copy full SHA for b62a8c8
View code at this point
Browse repository at this point
Eliminate setting the theme support features from the primary theme
westonruter
committed
a4d23a8
View commit details
Copy full SHA for a4d23a8
View code at this point
Browse repository at this point
Store only the required theme support props
westonruter
committed
0ef7666
View commit details
Copy full SHA for 0ef7666
View code at this point
Browse repository at this point
Commits on Apr 21, 2021
Ensure PRIMARY_THEME_SUPPORT is array
westonruter
committed
c964cdf
View commit details
Copy full SHA for c964cdf
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.