? Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
23 Jun 2017

Pull Request for Improvement.

Summary of Changes

Small change.
In 4.0 html5 is the default rendering engine (see https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/joomla/document/html.php#L101) so default templates don't need to set them as html5.

Remove that code from the the remaning template files (component and offline template files) and installation index.php.

Testing Instructions

Mainly code review, but you can test as this:

  1. Apply patch
  2. Component (ex: article e-mail button) and offline (site offline) site/admin templates render as before.
  3. Installation template render as before.

Documentation Changes Required

None.

avatar andrepereiradasilva andrepereiradasilva - open - 23 Jun 2017
avatar andrepereiradasilva andrepereiradasilva - change - 23 Jun 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Jun 2017
Category Administration Templates (admin) Installation Front End Templates (site)
avatar franz-wohlkoenig franz-wohlkoenig - change - 23 Jun 2017
Title
[4.0] Tempaltes are already html5 (default), so remove unused setHtml5 code
[4.0] Templates are already html5 (default), so remove unused setHtml5 code
avatar joomla-cms-bot joomla-cms-bot - edited - 23 Jun 2017
avatar andrepereiradasilva
andrepereiradasilva - comment - 23 Jun 2017

there is a failure in appveyor that doesn't seem related to this

There was 1 failure:

  1. JFormTest::testAddFieldPath
    Line:104 The libraries fields path should be included by default.
    Failed asserting that false is true.
    C:\projects\joomla-cms\tests\unit\suites\libraries\joomla\form\JFormTest.php:105
avatar wilsonge wilsonge - change - 23 Jun 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-06-23 10:37:18
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 23 Jun 2017
avatar wilsonge wilsonge - merge - 23 Jun 2017

Add a Comment

Login with GitHub to post a comment