Make WordPress Core

Changeset 9470


Ignore:
Timestamp:
11/02/2008 02:18:32 AM (15 years ago)
Author:
azaozz
Message:

Fix validation errors, add CDATA on inline JS, props Viper007Bond, fixes #8026

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r9464 r9470  
    28302830                <label class="hidden" for="find-posts-input"><?php _e( 'Search' ); ?></label>
    28312831                <input type="text" id="find-posts-input" class="search-input" name="ps" value="" />
    2832                 <input type="button" onClick="findPosts.send();" value="<?php _e( 'Search' ); ?>" class="button" /><br />
     2832                <input type="button" onclick="findPosts.send();" value="<?php _e( 'Search' ); ?>" class="button" /><br />
    28332833
    28342834                <input type="radio" name="find-posts-what" id="find-posts-posts" checked="checked" value="posts" />
     
    28402840        </div>
    28412841        <div class="find-box-buttons">
    2842             <input type="button" class="button" onClick="findPosts.close();" value="<?php _e('Close'); ?>" />
     2842            <input type="button" class="button" onclick="findPosts.close();" value="<?php _e('Close'); ?>" />
    28432843            <input id="find-posts-submit" type="submit" class="button" value="<?php _e('Select'); ?>" />
    28442844        </div>
    28452845    </div>
    28462846    <script type="text/javascript">
     2847    /* <![CDATA[ */
    28472848    (function($){
    28482849        findPosts = {
     
    29392940        });
    29402941    })(jQuery);
     2942    /* ]]> */
    29412943    </script>
    29422944<?php
Note: See TracChangeset for help on using the changeset viewer.