WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/16/2015 04:15:52 AM (7 years ago)
Author:
wonderboymusic
Message:

In HTML5, the action attribute is no longer required. Remove this attribute when empty.

The admin HTML is served with the HTML5 doctype.

"The action and formaction content attributes, if specified, must have a value that is a valid non-empty URL potentially surrounded by spaces."
http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-fs-action

Props voldemortensen.
Fixes #30126.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-terms-list-table.php

    r31181 r31200  
    464464?>
    465465
    466     <form method="get" action=""><table style="display: none"><tbody id="inlineedit">
     466    <form method="get"><table style="display: none"><tbody id="inlineedit">
    467467        <tr id="inline-edit" class="inline-edit-row" style="display: none"><td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange">
    468468
Note: See TracChangeset for help on using the changeset viewer.