It’s lines 396 – 398 in the smart youtube plugin’s smartyoutube.class.php
file:
function check($the_content, $side = 0)
{
if (strpos($the_content, "httpv") !== false )
{
$char_codes = array('×', '–'); // <-- 8211 is an en dash
$replacements = array("x", "--"); // <-- here's where it's swapping in --
$the_content = str_replace($char_codes, $replacements, $the_content); // <--
Related Posts:
- How to copy the all WordPress media items to another custom plugin folder?
- Cookie value changes back to previous value after changing
- FPDF for creating pdf diplomas
- RSS Feed on WordPress showing code (hypertext) in articles titles
- how to define a html folder to make it work with WordPress commands
- Alternative Hook to the_content for Changing Background Color
- Unpublished Pages Failing To Appear On Custom Path
- Creating an array from form inputs before it is posted to the options database
- add a hook of Woocommerce to a plugin but it only shows and doesn’t function properly
- Post source link plugin – small modification
- Is there any way to sync Facebook Comments and with comments on WordPress website?
- WordPress default post categories meta box widget
- Fatal error “Call to undefined function is_plugin_active” each time the plugin is activated
- function post to trash problem
- Share my WordPress plugin for updating how?
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- Overriding a function in a WordPress plugin
- How to add specific script to WordPress webpage that will working with user input and databases
- Displaying different content depending on variable
- Cannot pass value variable to WP AJAX functions
- The function called on the wp head hook becomes null
- adding dynamic/multiple slug values in ‘option_none_value’
- Sharing varible between two add_actions
- Hide Plugin Custom Post Type Menu Link
- How to create algorithm for ordering posts in WordPress?
- Submitting form to PHP
- ACF Fields are not showing up on Homepage
- Adding discount functionality to the cart
- How to assign a specific service to a specific provider based on location
- Precheck fields when I add a new post
- How can I add a custom Javascript snippet to display my feedback in footer?
- Conditional Homepage for logged in user
- How to detect 404 url and make this link underline or change background color?
- Make modification of add_to_cart button specific to single page
- front end editor creation for Restropress plug in – displaying information from a WP admin area, on a different URL
- Get Shortcode output to database for static post_content
- Tool to highlight text in WordPress page and provide additional text on hover
- Search in WordPress
- How can I change page content for good once a button is pressed?
- working code, not working – Plugin Dev
- Easiest way to load/fire a handful of functions, IF checkbox is checked?
- Use buddypress function outside of plugin
- Add external javascript to post template
- How use get_plugin_updates() function?
- how override a define
- how can export data in excel file custom plugin
- Block plugin update possibilities (but not by hiding notifications)
- Execute function activate/deactivate plugin in specific pages
- How to Unhook actions/filters in within Class in plugin
- Securing langugae folder
- Plugin function in child theme
- Content disappears when searching with Search & Filter plugin
- post id or permalink auto-incrementing number and reset everyday
- WPML – Hook when language is switched (change user language)
- Call function with button and return response
- Use action, filter, or hook to append HTML to WordPress plugin function
- Modify function output in a plugin
- Change custom rewrite rule when permalink is updated/changed
- How is it possible to create Multi part sections where people can answer or comment or vote on various parts of a page’s content as given example?
- How to disable/enable a plugin at a specific time
- Override filter variable not working
- WP_CRON issue with UTC and local time
- Is admin section completely customizable in terms of styling?
- Return function results within shortcode
- Copying content from my other websites
- Configuring default woo commerce login with modal popup
- How to wrap image tag into div for post only?
- How to make the first letter of a post title uppercase, in a plugin?
- Update User Meta Via Ajax
- Save Post Permalink In .txt File
- 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?
- Soflyy WP All Import Custom File Download Issue
- Dynamically Modify s2member Options
- Get a Taxonomy values in an array
- register_activation_hook doesn’t fire at all
- Run a function only once when logging into dashboard
- Event Made Easy – Block registration to two or more events that have the same category
- I want to allow certain file types on dokan upload files
- stop resize button for wordpress media
- Mixed results with is_page() WordPress function, when using $this, or self
- Read page- or post-content across different builder-plugins
- Remove posts that start with similar words (like a delete duplicate posts plugin)
- Secure way to add JS Script to WordPress filesystem
- add to cart linking to add to cart page
- How to call a logging function from a generic utility plugin from another plguin
- Add 2 links in between the navigation using the Breadcrumb Navxt plugin hook
- CPU Overloading due to some hooks
- WooCommerce Checkout – Validate User Role
- Woocommerce change image based on a single attribute
- How to disable hover zoom on woocommerce. None of the common methods work
- Import posts from a different database with the same old id
- Why nested REPLY not working in WP Comments?
- How to get next day date of a specific day
- Possible to overwrite load_template function in plugin using functions.php
- Simple ajax request with Vanilla JS keeps given 400 Bad Request
- How to access a function declared in child theme’s functions file in a plugin file?
- Re-use date format on different template
- Elementor: Exclude product categories when using “Source: Current Query”