PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 2.2.10
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v2.2.10
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
← All changes | includes/class-smart-post-show-i18n.php +16 -12 4.0.8 → 2.2.10 View file →
@@ -4,9 +4,9 @@
4 4 *
5 5 * Loads and defines the internationalization files for this plugin
6 6 * so that it is ready for translation.
7 7 *
8 - * @link https://wpsmartpost.com/
8 + * @link https://smartpostshow.com/
9 9 * @since 2.2.0
10 10 *
11 11 * @package Smart_Post_Show
12 12 * @subpackage Smart_Post_Show/includes
@@ -11,30 +11,34 @@
11 11 * @package Smart_Post_Show
12 12 * @subpackage Smart_Post_Show/includes
13 13 */
14 14
15 -if ( ! defined( 'ABSPATH' ) ) {
16 - exit; // Exit if accessed directly.
17 -}
18 -
19 15 /**
20 16 * Define the internationalization functionality.
21 17 *
22 18 * Loads and defines the internationalization files for this plugin
23 19 * so that it is ready for translation.
20 + *
21 + * @since 2.2.0
22 + * @package Smart_Post_Show
23 + * @subpackage Smart_Post_Show/includes
24 + * @author ShapedPlugin <[email protected]>
24 25 */
25 26 class Smart_Post_Show_i18n {
26 27
28 +
27 29 /**
28 - * No longer needed for WordPress.org hosted plugins.
30 + * Load the plugin text domain for translation.
29 31 *
30 32 * @since 2.2.0
31 33 */
32 34 public function load_plugin_textdomain() {
33 - // Deprecated: WordPress automatically loads plugin translations.
34 - // load_plugin_textdomain(
35 - // 'post-carousel',
36 - // false,
37 - // dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
38 - // );
35 +
36 + load_plugin_textdomain(
37 + 'smart-post-show',
38 + false,
39 + dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
40 + );
41 +
39 42 }
43 +
40 44 }