Showing 9,653 of 9,653 total issues
The method admin_process is not named in camelCase. Open
public function admin_process()
{
// this function should only ever be called from the Meta Slider admin page.
if (!is_admin()) {
return;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method render_admin_page is not named in camelCase. Open
public function render_admin_page()
{
$this->admin_process();
$this->go_pro_cta();
$this->system_check();
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method insert_metaslider_button is not named in camelCase. Open
public function insert_metaslider_button($context)
{
global $pagenow;
if (in_array($pagenow, ['post.php', 'page.php', 'post-new.php', 'post-edit.php'])) {
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_default_parameters is not named in camelCase. Open
public function get_default_parameters()
{
$params = [
'type' => 'flex',
'random' => false,
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method set_autoplay_parameter is not named in camelCase. Open
public function set_autoplay_parameter($options, $slider_id, $settings)
{
global $wp_filter;
if (isset($options['autoPlay'])) {
if ('true' === $options['autoPlay']) {
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method add_slider is not named in camelCase. Open
private function add_slider()
{
// check nonce
check_admin_referer('metaslider_add_slider');
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method find_slider is not named in camelCase. Open
private function find_slider($orderby, $order)
{
$args = [
'force_no_custom_order' => true,
'post_type' => 'ml-slider',
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method enable_carousel_mode is not named in camelCase. Open
public function enable_carousel_mode($options, $slider_id)
{
if (isset($options['carouselMode'])) {
if ('true' === $options['carouselMode']) {
$options['itemWidth'] = $this->get_setting('width');
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method remove_bottom_margin is not named in camelCase. Open
public function remove_bottom_margin($class, $id, $settings)
{
if (isset($settings['navigation']) && 'false' === $settings['navigation']) {
return $class .= ' nav-hidden';
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_param is not named in camelCase. Open
protected function get_param($param)
{
$params = [
'prevText' => 'prevText',
'nextText' => 'nextText',
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method enqueue_scripts is not named in camelCase. Open
public function enqueue_scripts()
{
parent::enqueue_scripts();
if ('true' === $this->get_setting('printJs')) {
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method go_pro_cta is not named in camelCase. Open
public function go_pro_cta()
{
if (function_exists('is_plugin_active') && !is_plugin_active('ml-slider-pro/ml-slider-pro.php')) {
$link = apply_filters('metaslider_hoplink', 'http://www.metaslider.com/upgrade/');
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method enqueue_scripts is not named in camelCase. Open
public function enqueue_scripts()
{
parent::enqueue_scripts();
if ('true' === $this->get_setting('printCss')) {
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method system_check is not named in camelCase. Open
public function system_check()
{
$systemCheck = new MetaSliderSystemCheck();
$systemCheck->check();
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method compare_elems is not named in camelCase. Open
private function compare_elems($elem1, $elem2)
{
return $elem1['priority'] > $elem2['priority'];
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method Mask is not named in camelCase. Open
public function Mask($sText)
{
$iLength = mb_strlen($sText);
// loop through characters in code and format
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_easing_options is not named in camelCase. Open
private function get_easing_options()
{
$options = [
'linear',
'swing',
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_identifier is not named in camelCase. Open
protected function get_identifier()
{
return $this->identifier;
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_container_class is not named in camelCase. Open
private function get_container_class()
{
$class = "metaslider metaslider-{$this->get_setting('type')} metaslider-{$this->id} ml-slider";
// apply the css class setting
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _generateTreeData is not named in camelCase. Open
public function _generateTreeData(&$arr, $id, $level, &$n)
{
$arr[$id]['nlevel'] = $level;
$arr[$id]['nleft'] = ++$n;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}