WordPress.org

Ready to get started?Download WordPress

Forums

Code Corruption (7 posts)

  1. on_edge
    Member
    Posted 6 years ago #

    Very frustrating. Just upgraded 1.5 to 2.5.1. In the process of backing up, restoring, and upgrading the database, one page has altered PHP code. This: <?php bloginfo('url'); ?> appears as this: %3C?php bloginfo('url'); ?>

    Every time I correct it, it reverts to the incorrect code. I've even deleted the page and recreated it. Any ideas?

  2. Eric Amundson
    Volunteer Moderator
    Posted 6 years ago #

    Is this code in a page's content, or in a template?

  3. on_edge
    Member
    Posted 6 years ago #

    Page content.

  4. iridiax
    Member
    Posted 6 years ago #

    You need a plugin to use php in the page content. Which plugin are you using?

  5. Eric Amundson
    Volunteer Moderator
    Posted 6 years ago #

    Never used it, but you might try:

    http://wordpress.org/extend/plugins/exec-php/

  6. palamedes
    Member
    Posted 6 years ago #

    I used to use it.. It works and is likely the problem you're seeing on_edge.

  7. on_edge
    Member
    Posted 6 years ago #

    I bet you're right. Thanks all. I haven't re-installed plugins yet after moving and updgrading the site. Appreciate it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.