WordPress.org

Make WordPress Core

Ticket #6237: 1.r7315.diff

File 1.r7315.diff, 5.0 KB (added by hansengel, 10 years ago)
  • wp-admin/edit-link-categories.php

     
    9494<table class="widefat">
    9595        <thead>
    9696        <tr>
    97         <th scope="col" class="check-column"><input type="checkbox" onclick="checkAll(document.getElementById('posts-filter'));" /></th>
    98         <th scope="col"><?php _e('Name') ?></th>
    99         <th scope="col"><?php _e('Description') ?></th>
    100         <th scope="col" class="num" style="width: 90px;"><?php _e('Links') ?></th>
     97                <th scope="col" class="check-column"><input type="checkbox" onclick="checkAll(document.getElementById('posts-filter'));" /></th>
     98                <th scope="col"><?php _e('Name') ?></th>
     99                <th scope="col"><?php _e('Description') ?></th>
     100                <th scope="col" class="num" style="width: 90px;"><?php _e('Links') ?></th>
    101101        </tr>
    102102        </thead>
    103103        <tbody id="the-list" class="list:link-cat">
  • wp-admin/import/blogger.php

     
    468468        }
    469469
    470470        function convert_date( $date ) {
    471             preg_match('#([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:\.[0-9]+)?(Z|[\+|\-][0-9]{2,4}){0,1}#', $date, $date_bits);
    472             $offset = iso8601_timezone_to_offset( $date_bits[7] );
     471                preg_match('#([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:\.[0-9]+)?(Z|[\+|\-][0-9]{2,4}){0,1}#', $date, $date_bits);
     472                $offset = iso8601_timezone_to_offset( $date_bits[7] );
    473473                $timestamp = gmmktime($date_bits[4], $date_bits[5], $date_bits[6], $date_bits[2], $date_bits[3], $date_bits[1]);
    474474                $timestamp -= $offset; // Convert from Blogger local time to GMT
    475475                $timestamp += get_option('gmt_offset') * 3600; // Convert from GMT to WP local time
  • wp-admin/edit-form.php

     
    1919</script>
    2020
    2121<div id="poststuff">
    22     <fieldset id="titlediv">
    23       <legend><a href="http://wordpress.org/docs/reference/post/#title" title="<?php _e('Help on titles') ?>"><?php _e('Title') ?></a></legend>
    24           <div><input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape( $post->post_title ); ?>" id="title" /></div>
     22        <fieldset id="titlediv">
     23                <legend><a href="http://wordpress.org/docs/reference/post/#title" title="<?php _e('Help on titles') ?>"><?php _e('Title') ?></a></legend>
     24                <div><input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape( $post->post_title ); ?>" id="title" /></div>
    2525    </fieldset>
    2626
    27     <fieldset id="categorydiv">
    28       <legend><a href="http://wordpress.org/docs/reference/post/#category" title="<?php _e('Help on categories') ?>"><?php _e('Categories') ?></a></legend>
    29           <div><?php dropdown_categories($post->post_category); ?></div>
    30     </fieldset>
     27        <fieldset id="categorydiv">
     28        <legend><a href="http://wordpress.org/docs/reference/post/#category" title="<?php _e('Help on categories') ?>"><?php _e('Categories') ?></a></legend>
     29                <div><?php dropdown_categories($post->post_category); ?></div>
     30        </fieldset>
    3131
    3232<br />
    3333<fieldset id="postdiv">
    34     <legend><a href="http://wordpress.org/docs/reference/post/#post" title="<?php _e('Help with post field') ?>"><?php _e('Post') ?></a></legend>
     34        <legend><a href="http://wordpress.org/docs/reference/post/#post" title="<?php _e('Help with post field') ?>"><?php _e('Post') ?></a></legend>
    3535<?php
    3636 $rows = get_option('default_post_edit_rows');
    3737 if (($rows < 3) || ($rows > 100)) {
    38      $rows = 10;
     38        $rows = 10;
    3939 }
    4040?>
    4141<div><textarea rows="<?php echo $rows; ?>" cols="40" name="content" tabindex="4" id="content"><?php echo $post->post_content ?></textarea></div>
  • wp-admin/edit.php

     
    5555} else {
    5656        $post_status_label = _c('Manage Posts|manage posts header');
    5757        if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($post_stati) ) )
    58         $post_status_label = $post_stati[$_GET['post_status']][1];
     58                $post_status_label = $post_stati[$_GET['post_status']][1];
    5959        if ( $post_listing_pageable && !is_archive() && !is_search() )
    6060                $h2_noun = is_paged() ? sprintf(__( 'Previous %s' ), $post_status_label) : sprintf(__('Latest %s'), $post_status_label);
    6161        else
     
    211211<table class="widefat" style="margin-top: .5em">
    212212<thead>
    213213  <tr>
    214     <th scope="col"><?php _e('Comment') ?></th>
    215     <th scope="col"><?php _e('Date') ?></th>
    216     <th scope="col"><?php _e('Actions') ?></th>
     214        <th scope="col"><?php _e('Comment') ?></th>
     215        <th scope="col"><?php _e('Date') ?></th>
     216        <th scope="col"><?php _e('Actions') ?></th>
    217217  </tr>
    218218</thead>
    219219<tbody id="the-comment-list" class="list:comment">