Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#15003 closed defect (bug) (fixed)

Upgraded WordPress, Code appearing

Reported by: astriker's profile astriker Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.1
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

I have changed my theme, deactivated all plugins and I have extra code showing on my blog now that I clicked update. It shows update core from nightly build and such, so i do believe related to the upgrade.

The link is -

http://astriker.com/blog/

Attachments (4)

WP 1.png (37.5 KB) - added by astriker 14 years ago.
WP 2.png (31.1 KB) - added by astriker 14 years ago.
wp 3.png (83.3 KB) - added by astriker 14 years ago.
15003.diff (397 bytes) - added by nacin 14 years ago.
esc_html() what is in the object cache.

Download all attachments as: .zip

Change History (23)

#1 @scribu
14 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Trac is for developing the next version of WordPress.

Please use the support forums instead:

http://wordpress.org/support/

#2 follow-up: @astriker
14 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

Hello, I am aware of Trac and support. You should note that with the new Firefox out, it appears with the code, while iExplorer does not show the code on the bottom. Something is wrong with how the new firefox is working with the code of Wordpress release I am on.

#3 in reply to: ↑ 2 @ChristianKopp
14 years ago

Replying to astriker:

Hello, I am aware of Trac and support. You should note that with the new Firefox out, it appears with the code, while iExplorer does not show the code on the bottom. Something is wrong with how the new firefox is working with the code of Wordpress release I am on.

I cannot see any extra Code on Firefox (latest Trunk) compared to IE or Chrome (Dev) on your Website. It`s something for the WordPress Forums (i think, too).

@astriker
14 years ago

@astriker
14 years ago

#4 @astriker
14 years ago

The extra coding appears in all page of the admin, post, dashboard, etc. Attached are screenshots of what I see now in IE and in Firefox. I have cleared cache, turned off all plugins, changed themes. I will try to have it install the latest beta again, but as you can see in the screenshots, it is appearing on my end. I have gone on 2 other computers and see it.

#5 @nacin
14 years ago

Check view-source for probably more. Regardless, if you log out, will it still appear on the frontend? If I had to guess, you have an issue with your core files. Try reinstalling.

@astriker
14 years ago

#6 @mrmist
14 years ago

Looks to me like file corruption has taken place. The code probably does appear in IE and other browsers in the source, just doesn't appear visably. This is why it would have been better to have raised this as a support issue, rather than on trac. 'cos we're now supporting it here. Check it after overwriting the core files. Also you have still got plugins active by the looks of it.

#7 @astriker
14 years ago

That is correct, I reactivated them since it is not the issue. I will go over to the support side, and work through, and determine how to manually do the core updates.

When I do upgrade, wordpress still tells me upgrades are available. I will download manually and install, is the 3.0 alpha, before I install manually, is You are using WordPress 3.1-alpha. the latest beta version?

thanks,

Douglas

#8 @scribu
14 years ago

  • Resolution set to invalid
  • Status changed from reopened to closed

Yes, 3.1-alpha is the latest development version.

Please re-open only when you are sure it's a bug in WordPress itself.

#9 @Denis-de-Bernardy
14 years ago

The screenshot and browser-specific symptoms look like a cache plugin that went very wrong.

#10 @actorjiml
14 years ago

I am seeing the same thing, as are others http://wordpress.org/support/topic/code-dump-at-bottom-of-every-page-after-upgrading-wp?replies=7

It appears to be related to the admin bar, as removing the bar using the fix described eliminates the exposed code.

#11 @astriker
14 years ago

Thank you for identifying the code issue and providing the fix. Hopefully fixed in a release soon.

#12 @actorjiml
14 years ago

  • Keywords Admin Bar added
  • Resolution invalid deleted
  • Status changed from closed to reopened
  • Version set to 3.1

I am reopening this simply to see if anyone else can confirm or disprove that the issue is related to the Admin Bar.

#13 @mrmist
14 years ago

I've checked trunk with four different browser (including firefox) and none show this issue.

If others are experiencing it then there's probably a common plugin that's causing it.

#14 @actorjiml
14 years ago

I am seeing it even with all plugins deactivated and the cache cleared. I'll continue to look into the issue and see if I can identify any common cause.

#15 @hakre
14 years ago

Please test with a fresh database as well.

#16 @nacin
14 years ago

  • Component changed from General to Administration
  • Milestone set to 3.1

It's the admin bar, with WP_DEBUG on, as it has a debugging feature. There's something going on there that is causing it to break out of an attribute or something.

Consider this confirmed; if someone can track it down, that'd be great.

#17 @nacin
14 years ago

  • Keywords has-patch added; Admin Bar removed

After literally XSS'ing myself accidentally, I was able to track this down.

Please try the attached patch.

@nacin
14 years ago

esc_html() what is in the object cache.

#18 @actorjiml
14 years ago

Patch works for me.

#19 @automattor
14 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [15767]) esc_html in WP_Object_Cache::stats(). fixes #15003.

Note: See TracTickets for help on using tickets.