Using a filter in php that includes Variable injection - issue (wordpress) -


I need to add a category that generates WordPress and found the following filter:

  add_filter ('previous_post_link', 'post_link_attributes'); Add_filter ('next_post_link', 'post_link_attributes'); Function post_link_attributes ($ output) {$ injection = 'class = "btn btn-default btnpu"; return str_replace (' & lt; a href = ',' & lt; a '. $ Injection.' Href = ', $ Output);}  

Will the $ injection portion cause problems with my service provider, as I have read that 'injection' is associated with malware injection, it is poor practice and This may result in suspension of service - sorry for the irony!

Many thanks


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -