WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using a plugin that adds a style with wp_enqueue_style().

When I look at the page source I find this line:

<link rel='stylesheet' id='ai1ec_style-css'  href='http://heseg.com/' type='text/css' media='all' />

After looking at the plugin code I found the wp_enqueue_style method and printed the values that it sends and I find that the URL is:


It looks like the URL is trimmed to 'http://heseg.com/'

What can cause this?

share|improve this question

Based on the ID attribute id='ai1ec_style-css' that stylesheet is for All-in-One Event Calendar plugin.

If you just updated the All_in-One Event Calendar (the most recent update was yesterday 2013-8-16) try re-saving the calendar theme options in Events->Theme Options.

This answer is based on this support topic. http://wordpress.org/support/topic/broken-links-inside-plugin-after-updating-to-196

share|improve this answer
I am in the latest version 1.11.2, thanks – shannoga Aug 18 '13 at 6:32
You may want to look at other plugins you have installed. In particular any plugin that might alter the output of scripts in the header. The script URL includes a ? and it is possible that another plugin removes anything starting at the ?. Plugins that minify scripts or alter version numbers at the end of script URLs would be a possible cause. – epilektric Aug 18 '13 at 7:59
thanks, that was it. There was a code in the functions.php that trimmed the string after the '?'. – shannoga Aug 18 '13 at 12:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.