Make WordPress Core

Ticket #12186: load_farbtastic_at_step2.diff

File load_farbtastic_at_step2.diff, 645 bytes (added by eddieringle, 15 years ago)

Fixes bug where farbtastic doesn't load; applied against rev 13758

  • wp-admin/custom-background.php

     
    383383         */
    384384        function finished() {
    385385                $_GET['updated'] = 1;
    386           $this->step_1();
     386                $_GET['step'] = 1;
     387                ?>
     388                <script type="text/javascript" rel="javascript" src="<?php echo get_option('siteurl'),'/wp-admin/js/farbtastic.js'; ?>"></script>
     389                <link rel="stylesheet" href="<?php echo get_option('siteurl'),'/wp-admin/css/farbtastic.css'; ?>" type="text/css" />
     390                <?php
     391                $this->js_1();
     392                $this->step_1();
    387393        }
    388394
    389395        /**