Skip to content

Commit

Permalink
Merge pull request #1114 from alleyinteractive/fix/tokens
Browse files Browse the repository at this point in the history
Small fixes
  • Loading branch information
dlh01 authored May 8, 2024
2 parents fd68683 + 9c3388a commit 80ac3ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
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

0 comments on commit 80ac3ea

Please sign in to comment.