The plugin calling load_plugin_textdomain()
the wrong way:
load_plugin_textdomain(
'custom_smilies',
PLUGINDIR . "https://wordpress.stackexchange.com/" . dirname(plugin_basename(__FILE__)) . '/lang'
);
You have to change the code to:
load_plugin_textdomain(
'custom_smilies',
false,
plugin_dir_path(__FILE__) . '/lang'
);
Related Posts:
- Disable plugin / plugin action via theme
- How do I replace a function, declared inside a plugin’s class, in functions.php?
- Shared functionality in plugins and themes
- Prevent publishing the post before setting a featured image?
- Need to create a Theme demo site that features multiple themes
- How to Loop Plugin Option Field Set?
- Can we completely remove the WordPress Sitemaps (WordPress 5.5)?
- Adding New Role
- How to load plugin before the wordpress jquery?
- Disabling post images for not logged in users
- wordpress custom login successful redirect hook
- Extend Elementor Archive Posts widget with a custom skin in order to show multiple badges
- HELP: Integrating WP with raw PHP code once published button is hit
- Display All Non-Used Plugins
- How to redirect Old Post URL to new Post and keep Old post Comments?
- Modifying Footnote Plugin for Descriptive Title Attributes
- I would like to use create a function in my custom plugin to tell WP to use a different header
- New Plugin: Post update pushes a copy as a revision
- bulk change of image setting “link to” to “link to: image url “
- Placement of Code in Plugin for hooking `save_post`
- Limit the number of plugins that can be installed in a WordPress installation
- How to get variables from fucntion.php to my plugin files
- PHP Fatal error: Call to undefined function plugin_basename
- Executing my function once on a specific time
- How to stop or remove an action being called inside a function of an extended class
- Missing Argument
- Adding Shortcode to Text Widget
- Does WordPress validate inputs to all functions? (such as get_user_meta and insert_user_meta)
- Using a function to change favorites listing
- How to use a class from another plugin
- WP Query. Is there a maximum size?
- Ajax : Call undefined function plugin_function() … can’t call any plugin function
- Difference and examples of esc_attr__() and esc_attr_e()
- How to over-ride a file in a plugin? [closed]
- Overwrite category head title
- How to prevent additional code in functions.php to be removed once there is an update?
- execute function after one completed
- Proper way to use plugin functions in functions.php
- How to get specific string/value from an array? php [closed]
- WordPress Stock Update Programatically
- Woocommerce singe product custom gallery output works just on the first slide
- Getting a ressource ID, from a WC_Order_Item_Product/Order
- How to translate wordpress error message
- strange shortcode error: does shortcodes requires any dependency?
- All custom widgets are not showing in widget area at the same time
- same user role or copy the user role to be same as the other role
- How can i listing current category and Featured Category post list?
- More gentle way to hook WordPress custom url
- How to add custom function to pluggable.php
- grab or load text on demand
- Removing the custom_image_header from wp_head
- sliding/fading header plugin or approach suggestion
- auto activate plugin when theme is active
- Build a must-use plugin that tracks when other plugins are activated or deactivated
- Checkbox show / hide output result
- How to keep plugin (media-sync) running even the tab is closed?
- Load CSS before Theme CSS
- Custom Logo Link WordPress
- Where do I put the code snippets I found here or somewhere else on the web?
- How to convert Currency from USD to other IP Based currency in Php function
- How would I get the new plugin version on this function?
- Attempting to list all product categories and the price range of all products within them
- the_posts_pagination() not working if I add wp_head() to header.php
- FPDF for creating pdf diplomas
- Creating an array from form inputs before it is posted to the options database
- function post to trash problem
- adding dynamic/multiple slug values in ‘option_none_value’
- How to assign a specific service to a specific provider based on location
- Conditional Homepage for logged in user
- Search in WordPress
- How to make the first letter of a post title uppercase, in a plugin?
- Compare Ajax Data Results
- EventON – Dequeue Styles
- How can I make the search bar in my wordpress site search all of the pages rather than just the blog posts?
- Nested DIV’s across functions in PHP, do not seem to work
- WordPress Add advertising ads befor and after content with periority [closed]
- Function in my plugin is called twice
- Searched & tried a lot: Is it Possible to Eliminate Render Blocking Manually
- Every time I use wp_get_current_user() my plugin breaks
- Can plugin automatically update if i hide the update notification?
- Code fails in plugin file but works in functions.php
- AJAX login without a plugin does not work. when add a action to function.php
- Cannot access variables within a widget
- WordPress plugin options need to delete after deactivate & uninstall
- WordPress function to add text
- Saving plugin data returns “You do not have sufficient permissions to access this page.”
- How to use scripts when header/footer are stripped out
- How to add a handler for a button in plugin?
- Custom Function for SEO by Yoast plugin
- Doing action based on input from options menu
- Call current post parameters inside a plugin
- How to list posts that appear in two categories
- Building custom pages with a video player
- Move related products after product summary? [closed]
- Adminimize Plugin — Is there an alternative to limiting Editor to ‘Appearance > Widgets’ only?
- Woocommerce – Product Description heading [closed]
- Woocommerce disable checkout on specific day
- Create WordPress category dynamically
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?