WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 4 years ago

#15003 closed defect (bug) (fixed)

Upgraded WordPress, Code appearing

Reported by: 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 4 years ago.
WP 2.png (31.1 KB) - added by astriker 4 years ago.
wp 3.png (83.3 KB) - added by astriker 4 years ago.
15003.diff (397 bytes) - added by nacin 4 years ago.
esc_html() what is in the object cache.

Download all attachments as: .zip

Change History (23)

comment:1 @scribu5 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/

comment:2 follow-up: @astriker4 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.

comment:3 in reply to: ↑ 2 @ChristianKopp4 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).

@astriker4 years ago

@astriker4 years ago

comment:4 @astriker4 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.

comment:5 @nacin4 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.

@astriker4 years ago

comment:6 @mrmist4 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.

comment:7 @astriker4 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

comment:8 @scribu4 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.

comment:9 @Denis-de-Bernardy4 years ago

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

comment:10 @actorjiml4 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.

comment:11 @astriker4 years ago

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

comment:12 @actorjiml4 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.

comment:13 @mrmist4 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.

comment:14 @actorjiml4 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.

comment:15 @hakre4 years ago

Please test with a fresh database as well.

comment:16 @nacin4 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.

comment:17 @nacin4 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.

@nacin4 years ago

esc_html() what is in the object cache.

comment:18 @actorjiml4 years ago

Patch works for me.

comment:19 @automattor4 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.