Issues (35)

includes/class-myslideshow-i18n.php (2 issues)

Languages
Labels
Severity
1
<?php
2
3
/**
4
 * Define the internationalization functionality
5
 *
6
 * Loads and defines the internationalization files for this plugin
7
 * so that it is ready for translation.
8
 *
9
 * @link       rahicodes.wordpress.com
10
 * @since      1.0.0
11
 *
12
 * @package    Myslideshow
13
 * @subpackage Myslideshow/includes
14
 */
15
16
/**
17
 * Define the internationalization functionality.
18
 *
19
 * Loads and defines the internationalization files for this plugin
20
 * so that it is ready for translation.
21
 *
22
 * @since      1.0.0
23
 * @package    Myslideshow
24
 * @subpackage Myslideshow/includes
25
 * @author     Rahi Prajapati <[email protected]>
26
 */
27
class Myslideshow_i18n {
28
29
30
	/**
31
	 * Load the plugin text domain for translation.
32
	 *
33
	 * @since    1.0.0
34
	 */
35
	public function load_plugin_textdomain() {
36
37
		load_plugin_textdomain(
0 ignored issues
show
The function load_plugin_textdomain was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

37
		/** @scrutinizer ignore-call */ 
38
  load_plugin_textdomain(
Loading history...
38
			'myslideshow',
39
			false,
40
			dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
0 ignored issues
show
The function plugin_basename was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

40
			dirname( dirname( /** @scrutinizer ignore-call */ plugin_basename( __FILE__ ) ) ) . '/languages/'
Loading history...
41
		);
42
43
	}
44
45
46
47
}
48