Sem data · 15 versões
Novo- The browser's own bar goes dark with the page. On Android, Chrome and
- Your own scripts can follow dark mode. A map, a chart or a chat window
Corrigido- Colour buttons say their colour on every screen. On the Colours and
- The Colours preview follows the colour picker. Picking a colour left
- No more boxes round the icon and words of share buttons in dark mode.
Alterações- Samsung Internet colour the bar above the page, and so does a site installed
- as an app on a computer. While a page is dark that bar now takes the page's
- own dark background, from the first paint for a reader who chose dark, under
- every method, and your theme's colour comes back when the page goes light. A
- reader who leaves the page light gets nothing extra.
- can listen for the trasl-dark-mode:change event, fired once when the page
- loads and each time dark mode comes on or goes off, or ask
- window.trdm.isDark. The documentation has an example under For developers.
- Toggle Button screens, reached from another screen of the plugin or brought
- back by a save, every colour button said "Select Color". Each now says the
- colour it holds, and the new one as soon as you pick it.
- the preview as it was when the screen was opened directly, and showed the
- colour picked one click before when it was reached from another screen. It
- now shows the colour as soon as it is picked.
- Under the Automatic method, a part kept in its own colours
- Elements, and the brand-coloured buttons of our Social Share Buttons) had a
- border colour written on everything inside it, and WordPress's own block
- styles draw a border wherever one is written, so each button's icon and
- words sat in a box. A border colour is now kept only where there is a
- border, and a field keeps its own inset edge.
Melhoria- What each method costs, said where you choose it. The Colours
- Lighter admin screens. WordPress's colour picker now loads only on
- Faster pages on sites in Spanish or French. The translations now
- Opening the plugin's screens asks less of your server. To make
Corrigido- Printing a page under the Invert method gives a readable sheet. The
- Notes that should be hidden stay hidden. A hint or note a screen had
Alterações- mode on at once for visitors whose device is set to dark. On a new install a
- notice now says so, with Preview it and Switch it off until I'm ready, which
- turns it off until you switch it on again on the General screen. Dismissing
- it leaves dark mode on. Sites updating from an earlier version never see it.
- screen now says under the method choice that Automatic is the heaviest on
- phones and Basic the lightest. Measured, Automatic adds about 155 ms of work
- per dark page on a desktop and 475 ms on a mid-range phone. Nothing about
- the defaults changed.
- the Colours and Toggle Button screens, and the Media Library only on Images
- and Elements, where the dark logo is chosen. The other screens no longer
- carry their scripts, about 55 KB of templates or the query listing the
- months that have uploads.
- also ship as PHP files, which WordPress 6.5 and later reads from PHP's code
- cache instead of reading the translation file again on every page. Measured
- on a French site with all fifteen of our plugins: 6.3 ms and 0.8 MB of
- memory less on every request. Older WordPress reads the translations as
- switching tabs instant, the plugin loads its other screens in the background
- while you read the first one. It now loads at most four, the plugin's own
- tabs first, and none while the browser tab is in the background; a tab past
- the fourth loads as your pointer reaches it.
- inversion reached the printer too, so the print rules' white page came out
- as a solid black sheet. Invert now applies to the screen only, and parts you
- set to keep their colours are only turned back on screen as well.
- hidden could still show, because the style that lays hints out outranked the
- browser's own rule for hidden things. Hidden things on the plugin's screens
- now always stay hidden.
1.6.2
2 correções9 alterações
Corrigido- Switching the plugin off for a whole network no longer runs out of
- LiteSpeed Cache is asked to empty its pages only. With LiteSpeed
Alterações- time. It emptied every site's page cache one after another before WordPress
- could note it as off, so on a network of a few hundred sites the plugin
- stayed on. It now takes a few seconds, and each site still empties its
- cached pages on its first visit after you switch it back on.
- Cache, saving a change, the first visit after an update and switching the
- plugin off pressed its Purge All, which also deletes its combined CSS and JS
- files, empties the object cache and PHP's code cache, clears Cloudflare
- where LiteSpeed is set to, and leaves "Purged all caches successfully." on
- your next screen. It now empties LiteSpeed's cached pages only.
1.6.1
3 correções15 alterações
Corrigido- Saving a Dark Mode setting your visitors see now asks your page cache
- The Dashboard no longer says a page cache it found is unaffected by
- An address in another alphabet under Excluded addresses now leaves
Alterações- to empty
- other cache plugins it knows). Before, visitors kept the old starting mode
- dark hours, screen sizes and button until the cache expired, even after dark
- mode was switched off. Switching the plugin off or on, saving your styles in
- the Site Editor and deleting the dark logo image do the same, and the cache
- is emptied once after this update. A host's own cache or a CDN still needs
- emptying by hand.
- Dark Mode's settings; it now says that saving a change empties that cache.
- out that page, and nothing else. Pasted from the browser, an address such as
- /контакты/ was saved as //, which switched dark mode off on your
- front page instead, and a section such as /блог/* as //*, which switched
- it off on every page. Addresses are now kept as pasted and match however the
- browser writes their letters. A line saved before keeps doing what it did
- if Excluded addresses holds /, // or //* that you did not mean, delete it
- and paste the address again.
Novo- A way back to automatic. Visitor Preference has How long: with Until
- A Light, Auto and Dark switch for the block
Melhoria- On a network of sites in subfolders, each site remembers a reader's
Alterações- their device or your schedule next switches, a reader's choice ends at the
- next switch. On for new sites; existing sites are offered it once.
- style="choice"] and menus. Auto hands the choice back to your schedule or
- the reader's device.
- choice on its own, so readers of every site except the main one choose once
- more. Sync to user account keeps a signed-in reader's choice per site.
1.5.1
1 correção3 alterações
Corrigido- Your theme's dark style is kept when you try another theme. Saving
Alterações- the Colours screen on a theme that has no dark style of its own no longer
- replaces the style you chose for your other theme, so switching back to that
- theme uses your style again.
Novo- Use your theme's own dark style. On a block theme with a dark style of
Melhoria- The switch and Cookie Consent's button share a corner. The
Alterações- its own, such as Twenty Twenty-Five's Evening, dark mode can switch to it
- with no darkening script to download
- style). It uses the colours the style gives the page, its sections and its
- floating switch now stands above Cookie Consent's Cookie choices button when
- both are in the same bottom corner.
1.4.2
1 correção1 alteração
Corrigido- French counts zero in the singular. French writes "0 message", not "0
Alterações- messages", and the plugin's French now counts the way WordPress's own French
1.4.1
1 correção6 alterações
Corrigido- On servers that write addresses the IPv6 way, each visitor's presses
Alterações- count against their own limit. Some servers write a visitor's IPv4 address
- as ::ffff:203.0.113.7, and it is now read as 203.0.113.7 however it is
- written. On such a server behind Cloudflare or a proxy of your own, every
- visitor was taken for the proxy, so they all shared one limit on counting
- presses of the switch and, on a busy site, presses past it were left out of
- your usage statistics; each visitor now has their own.
Novo- Fix dark mode on the page itself, with no code to type. Signed in as an
Melhoria- A new item in your site's toolbar, for administrators. Fix dark
Alterações- administrator, choose Fix dark mode here in your site's toolbar, or Fix dark
- mode on site on the Colours screen, and click the part that looks wrong.
- Keep its own colours, invert it, or give a picture or your logo a dark
- version from your Media Library, as your dark mode method allows; the panel
- says first how many things on the page that will catch. The page shows the
- result at once, Undo is right beside it, and every choice goes into the
- lists on Images and Elements, where you can change it later.
- mode here now shows in the black toolbar on every page dark mode applies to
- on phones too, whether or not Show in admin toolbar is on under Toggle
- Button. Visitors and other signed-in users do not see it, and the picker
- loads only on a page you open with it.
1.3.20
5 alterações
Alterações- WordPress loads them in, with one exception: while the first of our plugins
- that WordPress loads (usually the alphabetically first) is on a release from
- before this one, its older code still serves all of them until that plugin
- is updated. An older plugin of ours on the same site can also no longer stop
- this plugin's admin screens loading.
Melhoria- change could make the window a day longer or a day shorter than it says. The
- A search you have just done is answered from the screen. On a site
Corrigido- Choices that were never counted. A visitor's choice is reported to
- The light and dark figures on the Dashboard cover thirty calendar
- A browser error on your pages when a visitor's choice could not be
- The search boxes on Display Rules work when you reach the screen by
- Display Rules no longer fights your scrolling. With a list of
Alterações- the site with a quiet background message, which some browsers refuse to
- take, and the plugin then gave up instead of falling back to the ordinary
- request written underneath it. Those choices never reached Switches to dark
- or Share choosing dark on the Dashboard. It falls back now.
- days. They were counted back in fixed twenty-four hour lumps, so a clock
- sixty days of history kept behind them are trimmed on the right day too
- which on a site west of Greenwich was a day late and left an extra day of
- rows in the database.
- saved. For a signed-in visitor the choice is also saved to their account
- and a request that did not get through, on a dropped connection or behind
- something blocking the site's API, came out as an uncaught error on the page
- and in whatever you watch front-end errors with. It is handled quietly now.
- its tab. Typing under Specific pages or Excluded pages brought up nothing at
- all until the page was reloaded. The Common exclusions ticks there also grey
- out again the places you have already chosen under Display on.
- you to go and find the key again. Only an answer from the server about the
- key itself changes what is stored now.
- no longer printed next to it.
- have it put right by support, and one press picks that up instead of waiting
- for the next automatic check. If the check cannot be made, the screen says
- why and nothing is changed.
- Neither of them reads that box, but pressing one was answered with "Enter
- whenever the browser had not left the focus on it.
- suggestions open under Specific pages or Excluded pages, pressing the
- browser's Back button left the page jumping to the top every time you tried
- to scroll. Screens you have moved away from now let go properly, so their
- search boxes and tick lists stop running in the background.
- with more content than the plugin keeps in the browser, going back to a
- search you ran a moment ago under Specific pages or Excluded pages asked the
- server for it again. The answer is kept now while you stay on that screen.
Melhoria- A long Excluded pages list no longer costs a query for each page
Corrigido- Your usage statistics cannot be padded by a stranger. The word a page
- Pressing "Check again" looks for a new version straight away. When
Alterações- carries so that a press can be counted is one per site and never changes, so
- anybody who opened a single page of your site could go on posting presses
- and leave Switches to dark and Share choosing dark saying whatever they
- wanted. One address may now count sixty presses a minute, and the rest are
- refused. Nothing about the visitor is written down: the counter behind that
- limit is named after a one-way hash of the address, holds a number and
- nothing else, and is gone a minute later.
- activated it on. On an installation running more than one network, switching
- the plugin on for one network also wrote its settings onto the other
- network's sites.
- the site could not reach our server, every one of our plugins stood down for
- fifteen minutes, and "Check again" on the Updates screen could not get past
- that wait. It now clears it, so the check happens when you ask for it.
- on every view. On sites running WPML, every page named under Excluded pages
- was read separately each time the plugin worked out whether dark mode
- belongs on the page being viewed. They are now read in one go.
1.3.17
2 correções7 alterações
Corrigido- Saving the Colours screen keeps your colour scheme in charge. The
- A schedule that runs past midnight keeps to its days. In the Schedule
Alterações- four colour boxes show your scheme's colours when you have not chosen your
- own, and saving the screen without changing them stored those as your own
- choices. A colour that matches the scheme is now kept as "follow the
- scheme".
- panel, a Friday window from 22:00 to 02:00 now stays on until 02:00 on
- Saturday. It used to stop at midnight, and to come on between midnight and
- 02:00 early on Friday instead.
1.3.16
1 melhoria5 alterações
Melhoria- Fewer database queries on every admin page. Each of our plugins
Alterações- with a query each. With the whole range installed that was thirty separate
- lookups on every admin page, most of them for rows that do not exist yet.
- They are now read together in one query (on WordPress 6.4 or later).
- Measured on a test site with all fifteen plugins: the WordPress Dashboard
- went from 41 queries of ours to 12.
Changelog publicado pelo desenvolvedor, no idioma original.