WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/02/2017 09:51:09 PM (4 years ago)
Author:
afercia
Message:

Quick/Bulk Edit: Improve the inline error messages styling.

  • uses the core notice styles for the Quick Edit form inline error messages
  • adds missing periods at the end of a few error messages

Props ocean90, karmatosed, melchoyce, afercia.
Fixes #35496.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/xmlrpc/wp/editTerm.php

    r41575 r41684  
    6969        $this->assertIXRError( $result );
    7070        $this->assertEquals( 500, $result->code );
    71         $this->assertEquals( __('Empty Term'), $result->message );
     71        $this->assertEquals( __('Empty Term.'), $result->message );
    7272    }
    7373
     
    134134        $this->assertIXRError( $result );
    135135        $this->assertEquals( 500, $result->code );
    136         $this->assertEquals( htmlspecialchars( sprintf( __('The slug “%s” is already in use by another term'), $parent_term->slug ) ), $result->message );
     136        $this->assertEquals( htmlspecialchars( sprintf( __('The slug “%s” is already in use by another term.'), $parent_term->slug ) ), $result->message );
    137137    }
    138138
Note: See TracChangeset for help on using the changeset viewer.