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
AN-55 Fix for widescreen text width #263
Conversation
…ds and PHP best practices.
…ace on non-centered layouts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nothing blocking, just a consideration and a missing phpdoc
👏 🐴
protected function content_nodes() { | ||
return $this->content->nodes(); | ||
protected function content_title() { | ||
return $this->content->title() ?: __( 'Untitled Article', 'apple-news' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure this is a valid concern, but seeing that WP is backward compat to php 5.2.x, this might be an issue (though highly unlikely). Support for this shorthand syntax for ternary operations was introduced in 5.3.
Not sure this is a risk, just thought I'd flag it since this is a plugin.
*/ | ||
protected function get_setting( $name ) { | ||
return $this->settings->get( $name ); | ||
protected function set_content_property( $name, $value ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing @param
for these guys
Fixes #233.