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

Small fixes #1114

Merged
merged 2 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
11 changes: 0 additions & 11 deletions apple-news.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,3 @@ function apple_news_is_classic_editor_plugin_active() {

return false;
}

/**
* Given a user ID, a post ID, and an action, determines whether a user can
* perform the action or not.
*
* @param int $post_id The ID of the post to check.
* @param string $action The action to check. One of 'publish', 'update', 'delete'.
* @param int $user_id The user ID to check.
*
* @return bool True if the user can perform the action, false otherwise.
*/
4 changes: 2 additions & 2 deletions includes/apple-exporter/components/class-body.php
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ private function get_default_text_styles() {
'fontSize' => '#cite_size#',
'tracking' => '#cite_tracking#',
'lineHeight' => '#cite_line_height#',
'textColor' => '#cite_color',
'textColor' => '#cite_color#',
],
$conditionals['cite'] ?? []
),
Expand All @@ -487,7 +487,7 @@ private function get_default_text_styles() {
'fontSize' => '#monospaced_size#',
'tracking' => '#monospaced_tracking#',
'lineHeight' => '#monospaced_line_height#',
'textColor' => '#monospaced_color',
'textColor' => '#monospaced_color#',
],
$conditionals['monospaced'] ?? []
),
Expand Down