5.5.3
This commit is contained in:
parent
bd3921743d
commit
574dc78514
|
|
@ -0,0 +1,384 @@
|
|||
WordPress - Web publishing software
|
||||
|
||||
Copyright 2011-2020 by the contributors
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
This program incorporates work covered by the following copyright and
|
||||
permission notices:
|
||||
|
||||
b2 is (c) 2001, 2002 Michel Valdrighi - https://cafelog.com
|
||||
|
||||
Wherever third party code has been used, credit has been given in the code's
|
||||
comments.
|
||||
|
||||
b2 is released under the GPL
|
||||
|
||||
and
|
||||
|
||||
WordPress - Web publishing software
|
||||
|
||||
Copyright 2003-2010 by the contributors
|
||||
|
||||
WordPress is released under the GPL
|
||||
|
||||
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
||||
|
||||
WRITTEN OFFER
|
||||
|
||||
The source code for any program binaries or compressed scripts that are
|
||||
included with WordPress can be freely obtained at the following URL:
|
||||
|
||||
https://wordpress.org/download/source/
|
||||
|
|
@ -0,0 +1,102 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="sv">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>WordPress › ReadMe</title>
|
||||
<link rel="stylesheet" href="wp-admin/css/install.css?ver=20100228" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="logo">
|
||||
<a href="https://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a>
|
||||
</h1>
|
||||
<p style="text-align: center">Semantisk personlig publiceringsplattform</p>
|
||||
|
||||
<h2>Först och främst</h2>
|
||||
<p>Välkommen. För mig är WordPress ett mycket speciellt projekt. Varje utvecklare och bidragsgivare bidrar med något unikt i det hela och tillsammans skapar vi något mycket vackert, som jag är stolt att delta i. WordPress är resultatet av många tusentals timmars arbete, och vi försöker att göra det ännu bättre för var dag. Tack för att du låter det bli en del av din värld.</p>
|
||||
<p style="text-align: right">— Matt Mullenweg</p>
|
||||
|
||||
<h2>Installation: Den berömda 5-minutersinstallationen</h2>
|
||||
<ol>
|
||||
<li>Packa upp zip-filen i en tom katalog och ladda upp hela filstrukturen till din webb-server.</li>
|
||||
<li>Öppna sidan <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> i webbläsaren. Detta kommer att ta dig genom processen för att skapa filen <code>wp-config.php</code> som innehåller den nödvändiga informationen för anslutning till webbplatsens underliggande databas.
|
||||
<ol>
|
||||
<li>Var inte orolig om den automatiska installationen av någon anledning inte fungerar. Sånt kan hända på vissa webbhotell. Öppna filen <code>wp-config-sample.php</code> i ett textredigeringsprogram, t.ex. WordPad eller liknande, och fyll i informationen om din databasanslutning.</li>
|
||||
<li>Spara sedan filen under namnet <code>wp-config.php</code> och ladda upp den till webbhotellet.</li>
|
||||
<li>Öppna <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> i webbläsaren.</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>När konfigurationsfilen är färdig kommer installationsproceduren att bygga de databastabeller som din blogg behöver. Om något blir fel bör du kontrollera filen <code>wp-config.php</code> en extra gång och försöka igen. Om det fortfarande inte skulle fungera är du välkommen att besöka <a href="https://sv.wordpress.org/support/" title="WordPress-supporten">support-forumet</a> och berätta om ditt problem. Förbered all information som kan vara till hjälp.</li>
|
||||
<li><strong>Om du inte angav något lösenord kommer systemet att ge dig ett. Se till att spara det.</strong> Om du inte angav något användarnamn, kommer det att vara <code>admin</code>.</li>
|
||||
<li>När allt är klart bör installationsprogrammet skicka dig vidare till <a href="wp-login.php">inloggningssidan</a>. Logga in med ditt användarnamn och lösenord som du skapade under installationen. Om systemet skapade ett lösenord åt dig kan du klicka på Användare – Din profil för att ändra lösenordet.</li>
|
||||
</ol>
|
||||
|
||||
<h2>Uppdateringar</h2>
|
||||
<h3>Användning av den automatiska uppdateringen</h3>
|
||||
<p>Om du uppdaterar från version 2.7 eller senare kan du använda den automatiska uppdateringen:</p>
|
||||
<ol>
|
||||
<li>Öppna <span class="file"><a href="wp-admin/update-core.php">wp-admin/update-core.php</a></span> i din webbläsare och följ instruktionerna.</li>
|
||||
<li>Svårare än så är det inte!</li>
|
||||
</ol>
|
||||
|
||||
<h3>Manuell uppdatering</h3>
|
||||
<ol>
|
||||
<li>Se först till att du har säkerhetskopior på alla filer som du eventuellt kan ha ändrat, t.ex. <code>index.php</code>.</li>
|
||||
<li>Radera dina gamla WordPress-filer, men spara de du gjort ändringar i.</li>
|
||||
<li>Ladda upp de nya filerna.</li>
|
||||
<li>Öppna webbläsaren och gå till <span class="file"><a href="wp-admin/upgrade.php">/wp-admin/upgrade.php</a>.</span></li>
|
||||
</ol>
|
||||
|
||||
<h2>Att flytta till WordPress från andra system</h2>
|
||||
<p>WordPress kan <a href="https://codex.wordpress.org/Importing_Content">importera innehåll från en rad olika system</a>. Börja med att installera och konfigurera WordPress enligt beskrivningen ovan. Sedan kan du använda <a href="wp-admin/import.php" title="Import to WordPress">våra importverktyg</a>.</p>
|
||||
|
||||
<h2>Systemkrav</h2>
|
||||
<ul>
|
||||
<li><a href="https://secure.php.net/">PHP</a> version <strong>5.6.20</strong> eller senare.</li>
|
||||
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.0</strong> eller senare.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Rekommenderas</h3>
|
||||
<ul>
|
||||
<li><a href="https://secure.php.net/">PHP</a> version <strong>7.3</strong> eller senare.</li>
|
||||
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.6</strong> eller senare.</li>
|
||||
<li>Apache-modulen <a href="https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a>.</li>
|
||||
<li>Stöd för <a href="https://wordpress.org/news/2016/12/moving-toward-ssl/">HTTPS</a>.</li>
|
||||
<li>Länka gärna till <a href="https://wordpress.org/">wordpress.org</a> från din webbplats.</li>
|
||||
</ul>
|
||||
|
||||
<h2>Online-resurser</h2>
|
||||
<p>Om du undrar över något som inte besvaras i det här dokumentet kan du söka bland all online-information som finns för WordPress:</p>
|
||||
<dl>
|
||||
<dt><a href="https://codex.wordpress.org/">WordPress Codex</a></dt>
|
||||
<dd>Codex är encyklopedin för allt som rör WordPress. Det är den mest omfattande informationskällan som finns för WordPress.</dd>
|
||||
<dt><a href="https://sv.wordpress.org/news/">WordPress svenska blogg</a></dt>
|
||||
<dd>Här publiceras bl.a. information om nya versioner av WordPress. Om du använder WordPress på svenska kan du hitta länkar hit från admin-panelen för din WordPress-webbplats.</dd>
|
||||
<dt><a href="https://wpsv.se/">WPSV</a></dt>
|
||||
<dd>WPSV är hemmabasen för den svenska communityn kring WordPress. Vi underhåller den svenska versionen av WordPress, ordnar WordPress-träffar, hjälper varandra med support o.s.v. Allt arbete sker på frivillig väg, och du är välkommen att också hjälpa till.</dd>
|
||||
<dt><a href="https://wordpress.org/news/">Den officiella WordPress-bloggen</a></dt>
|
||||
<dd>Här hittar du den senaste officiella informationen om WordPress och dess uppdateringar (på engelska). Om du använder WordPress på engelska kan du hitta denna information i din egen admin-panel.</dd>
|
||||
<dt><a href="https://planet.wordpress.org/">WordPress Planet</a></dt>
|
||||
<dd>WordPress Planet är en webbplats som samlar artiklar och inlägg om WordPress från en rad olika bloggar runtom i världen (på engelska).</dd>
|
||||
<dt><a href="https://sv.wordpress.org/support/">WordPress Supportforum</a></dt>
|
||||
<dd>Om du letat överallt men ändå inte hittat svar på din fråga kan du ställa din fråga till andra WordPress-användare i forumet. Du har störst chans att få hjälp om du ser till att sätta en tydlig, beskrivande rubrik på din fråga och inkludera så detaljerad information som möjligt och om vad du redan har provat. Länken ovan går till det svenska forumet. Det internationella forumet hittar du på <a href="https://wordpress.org/support/">https://wordpress.org/support/</a>.</dd>
|
||||
<dt><a href="https://codex.wordpress.org/IRC">WordPress <abbr title="Internet Relay Chat">IRC</abbr>-kanal</a></dt>
|
||||
<dd>Det finns även en chatt-kanal för diskussioner kring WordPress, där man ibland tar upp supportärenden. Länken här ovan leder till en sida med mer information om detta. (<a href="irc://irc.freenode.net/wordpress">irc.freenode.net #wordpress</a>)</dd>
|
||||
</dl>
|
||||
|
||||
<h2>Några ord på vägen</h2>
|
||||
<ul>
|
||||
<li>Om du har några förslag, idéer eller kommentarer eller (Ajdå!) har hittat något fel är du välkommen till <a href="https://wordpress.org/support/">support-forumet</a>.</li>
|
||||
<li>WordPress har ett rejält <abbr title="application programming interface">API</abbr> för tillägg, vilket gör det enkelt att utöka koden med nya funktioner. Om du är utvecklare och funderar på att använda detta rekommenderar vi att du läser <a href="https://developer.wordpress.org/plugins/">Plugin Developer Handbook</a>. Undvik att göra ändringar direkt i filerna i WordPress-kärnan.</li>
|
||||
</ul>
|
||||
|
||||
<h2>Dela med dig</h2>
|
||||
<p>WordPress har inga dollarmiljoner att spendera på reklam och marknadsföring, men det finns något ännu bättre, nämligen DU. Om du tycker om WordPress, berätta gärna om det för dina vänner. Hjälp någon att komma igång, om de inte klarar det på egen hand.</p>
|
||||
|
||||
<p>WordPress är den officiella uppföljaren till <a href="http://cafelog.com/">b2/cafélog</a> som skapades av Michel V. Arbetet har fortsatts av <a href="https://wordpress.org/about/">WordPress-utvecklarna</a>. Om du vill stödja WordPress är du välkommen att göra en <a href="https://wordpress.org/donate/" title="Donera till WordPress">donation</a>.</p>
|
||||
|
||||
<h2>Licens</h2>
|
||||
<p>WordPress är fri programvara som gjorts tillgänglig under villkoren i licensen <abbr title="GNU General Public License">GPL</abbr> version 2 eller (om du så önskar) någon senare version. Se <a href="license.txt">license.txt</a>.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -64,6 +64,56 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
|||
<div class="about__section has-subtle-background-color">
|
||||
<div class="column">
|
||||
<h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: Plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.',
|
||||
1
|
||||
),
|
||||
'5.5.3',
|
||||
number_format_i18n( 1 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL. */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version. */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.5.3' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
|
||||
14
|
||||
),
|
||||
'5.5.2',
|
||||
number_format_i18n( 14 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.5.2' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
|
|
|
|||
|
|
@ -82,12 +82,12 @@ $admin_body_class = preg_replace( '/[^a-z0-9_-]+/i', '-', $hook_suffix );
|
|||
?>
|
||||
<script type="text/javascript">
|
||||
addLoadEvent = function(func){if(typeof jQuery!=='undefined')jQuery(document).ready(func);else if(typeof wpOnload!=='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
|
||||
var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>',
|
||||
pagenow = '<?php echo $current_screen->id; ?>',
|
||||
typenow = '<?php echo $current_screen->post_type; ?>',
|
||||
adminpage = '<?php echo $admin_body_class; ?>',
|
||||
thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>',
|
||||
decimalPoint = '<?php echo addslashes( $wp_locale->number_format['decimal_point'] ); ?>',
|
||||
var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>',
|
||||
pagenow = '<?php echo esc_js( $current_screen->id ); ?>',
|
||||
typenow = '<?php echo esc_js( $current_screen->post_type ); ?>',
|
||||
adminpage = '<?php echo esc_js( $admin_body_class ); ?>',
|
||||
thousandsSeparator = '<?php echo esc_js( $wp_locale->number_format['thousands_sep'] ); ?>',
|
||||
decimalPoint = '<?php echo esc_js( $wp_locale->number_format['decimal_point'] ); ?>',
|
||||
isRtl = <?php echo (int) is_rtl(); ?>;
|
||||
</script>
|
||||
<?php
|
||||
|
|
@ -198,18 +198,18 @@ if ( $current_screen->is_block_editor() ) {
|
|||
}
|
||||
}
|
||||
|
||||
$error = error_get_last();
|
||||
$error_get_last = error_get_last();
|
||||
|
||||
// Print a CSS class to make PHP errors visible.
|
||||
if ( $error && WP_DEBUG && WP_DEBUG_DISPLAY && ini_get( 'display_errors' )
|
||||
if ( $error_get_last && WP_DEBUG && WP_DEBUG_DISPLAY && ini_get( 'display_errors' )
|
||||
// Don't print the class for PHP notices in wp-config.php, as they happen before WP_DEBUG takes effect,
|
||||
// and should not be displayed with the `error_reporting` level previously set in wp-load.php.
|
||||
&& ( E_NOTICE !== $error['type'] || 'wp-config.php' !== wp_basename( $error['file'] ) )
|
||||
&& ( E_NOTICE !== $error_get_last['type'] || 'wp-config.php' !== wp_basename( $error_get_last['file'] ) )
|
||||
) {
|
||||
$admin_body_class .= ' php-error';
|
||||
}
|
||||
|
||||
unset( $error );
|
||||
unset( $error_get_last );
|
||||
|
||||
?>
|
||||
</head>
|
||||
|
|
|
|||
|
|
@ -36,14 +36,18 @@ if ( isset( $_GET['dt'] ) ) {
|
|||
}
|
||||
}
|
||||
|
||||
$comment_id = absint( $_GET['c'] );
|
||||
$comment = get_comment( $comment_id );
|
||||
if ( isset( $_REQUEST['c'] ) ) {
|
||||
$comment_id = absint( $_REQUEST['c'] );
|
||||
$comment = get_comment( $comment_id );
|
||||
|
||||
// Prevent actions on a comment associated with a trashed post.
|
||||
if ( 'trash' === get_post_status( $comment->comment_post_ID ) ) {
|
||||
wp_die(
|
||||
__( 'You can’t edit this comment because the associated post is in the Trash. Please restore the post first, then try again.' )
|
||||
);
|
||||
// Prevent actions on a comment associated with a trashed post.
|
||||
if ( $comment && 'trash' === get_post_status( $comment->comment_post_ID ) ) {
|
||||
wp_die(
|
||||
__( 'You can’t edit this comment because the associated post is in the Trash. Please restore the post first, then try again.' )
|
||||
);
|
||||
}
|
||||
} else {
|
||||
$comment = null;
|
||||
}
|
||||
|
||||
switch ( $action ) {
|
||||
|
|
|
|||
|
|
@ -2604,10 +2604,11 @@ function wp_ajax_image_editor() {
|
|||
include_once ABSPATH . 'wp-admin/includes/image-edit.php';
|
||||
|
||||
$msg = false;
|
||||
|
||||
switch ( $_POST['do'] ) {
|
||||
case 'save':
|
||||
$msg = wp_save_image( $attachment_id );
|
||||
if ( $msg->error ) {
|
||||
if ( ! empty( $msg->error ) ) {
|
||||
wp_send_json_error( $msg );
|
||||
}
|
||||
|
||||
|
|
@ -2625,7 +2626,7 @@ function wp_ajax_image_editor() {
|
|||
wp_image_editor( $attachment_id, $msg );
|
||||
$html = ob_get_clean();
|
||||
|
||||
if ( $msg->error ) {
|
||||
if ( ! empty( $msg->error ) ) {
|
||||
wp_send_json_error(
|
||||
array(
|
||||
'message' => $msg,
|
||||
|
|
|
|||
|
|
@ -581,6 +581,8 @@ class Custom_Background {
|
|||
* @deprecated 3.5.0
|
||||
*/
|
||||
public function wp_set_background_image() {
|
||||
check_ajax_referer( 'custom-background' );
|
||||
|
||||
if ( ! current_user_can( 'edit_theme_options' ) || ! isset( $_POST['attachment_id'] ) ) {
|
||||
exit;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -343,7 +343,7 @@ class Custom_Image_Header {
|
|||
?>
|
||||
<script type="text/javascript">
|
||||
(function($){
|
||||
var default_color = '<?php echo $default_color; ?>',
|
||||
var default_color = '<?php echo esc_js( $default_color ); ?>',
|
||||
header_text_fields;
|
||||
|
||||
function pickColor(color) {
|
||||
|
|
|
|||
|
|
@ -887,44 +887,48 @@ class WP_Automatic_Updater {
|
|||
$successful_updates = array();
|
||||
$failed_updates = array();
|
||||
|
||||
/**
|
||||
* Filters whether to send an email following an automatic background plugin update.
|
||||
*
|
||||
* @since 5.5.0
|
||||
* @since 5.5.1 Added the $update_results parameter.
|
||||
*
|
||||
* @param bool $enabled True if plugins notifications are enabled, false otherwise.
|
||||
* @param array $update_results The results of plugins update tasks.
|
||||
*/
|
||||
$notifications_enabled = apply_filters( 'auto_plugin_update_send_email', true, $update_results['plugin'] );
|
||||
if ( ! empty( $update_results['plugin'] ) ) {
|
||||
/**
|
||||
* Filters whether to send an email following an automatic background plugin update.
|
||||
*
|
||||
* @since 5.5.0
|
||||
* @since 5.5.1 Added the `$update_results` parameter.
|
||||
*
|
||||
* @param bool $enabled True if plugin update notifications are enabled, false otherwise.
|
||||
* @param array $update_results The results of plugins update tasks.
|
||||
*/
|
||||
$notifications_enabled = apply_filters( 'auto_plugin_update_send_email', true, $update_results['plugin'] );
|
||||
|
||||
if ( ! empty( $update_results['plugin'] ) && $notifications_enabled ) {
|
||||
foreach ( $update_results['plugin'] as $update_result ) {
|
||||
if ( true === $update_result->result ) {
|
||||
$successful_updates['plugin'][] = $update_result;
|
||||
} else {
|
||||
$failed_updates['plugin'][] = $update_result;
|
||||
if ( $notifications_enabled ) {
|
||||
foreach ( $update_results['plugin'] as $update_result ) {
|
||||
if ( true === $update_result->result ) {
|
||||
$successful_updates['plugin'][] = $update_result;
|
||||
} else {
|
||||
$failed_updates['plugin'][] = $update_result;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters whether to send an email following an automatic background theme update.
|
||||
*
|
||||
* @since 5.5.0
|
||||
* @since 5.5.1 Added the $update_results parameter.
|
||||
*
|
||||
* @param bool $enabled True if notifications are enabled, false otherwise.
|
||||
* @param array $update_results The results of theme update tasks.
|
||||
*/
|
||||
$notifications_enabled = apply_filters( 'auto_theme_update_send_email', true, $update_results['theme'] );
|
||||
if ( ! empty( $update_results['theme'] ) ) {
|
||||
/**
|
||||
* Filters whether to send an email following an automatic background theme update.
|
||||
*
|
||||
* @since 5.5.0
|
||||
* @since 5.5.1 Added the `$update_results` parameter.
|
||||
*
|
||||
* @param bool $enabled True if theme update notifications are enabled, false otherwise.
|
||||
* @param array $update_results The results of theme update tasks.
|
||||
*/
|
||||
$notifications_enabled = apply_filters( 'auto_theme_update_send_email', true, $update_results['theme'] );
|
||||
|
||||
if ( ! empty( $update_results['theme'] ) && $notifications_enabled ) {
|
||||
foreach ( $update_results['theme'] as $update_result ) {
|
||||
if ( true === $update_result->result ) {
|
||||
$successful_updates['theme'][] = $update_result;
|
||||
} else {
|
||||
$failed_updates['theme'][] = $update_result;
|
||||
if ( $notifications_enabled ) {
|
||||
foreach ( $update_results['theme'] as $update_result ) {
|
||||
if ( true === $update_result->result ) {
|
||||
$successful_updates['theme'][] = $update_result;
|
||||
} else {
|
||||
$failed_updates['theme'][] = $update_result;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -77,6 +77,8 @@ class WP_Community_Events {
|
|||
* mitigates possible privacy concerns.
|
||||
*
|
||||
* @since 4.8.0
|
||||
* @since 5.5.2 Response no longer contains formatted date field. They're added
|
||||
* in `wp.communityEvents.populateDynamicEventFields()` now.
|
||||
*
|
||||
* @param string $location_search Optional. City name to help determine the location.
|
||||
* e.g., "Seattle". Default empty string.
|
||||
|
|
@ -158,10 +160,13 @@ class WP_Community_Events {
|
|||
$response_body['location']['description'] = $this->user_location['description'];
|
||||
}
|
||||
|
||||
/*
|
||||
* Store the raw response, because events will expire before the cache does.
|
||||
* The response will need to be processed every page load.
|
||||
*/
|
||||
$this->cache_events( $response_body, $expiration );
|
||||
|
||||
$response_body = $this->trim_events( $response_body );
|
||||
$response_body = $this->format_event_data_time( $response_body );
|
||||
$response_body['events'] = $this->trim_events( $response_body['events'] );
|
||||
|
||||
return $response_body;
|
||||
}
|
||||
|
|
@ -340,15 +345,20 @@ class WP_Community_Events {
|
|||
* Gets cached events.
|
||||
*
|
||||
* @since 4.8.0
|
||||
* @since 5.5.2 Response no longer contains formatted date field. They're added
|
||||
* in `wp.communityEvents.populateDynamicEventFields()` now.
|
||||
*
|
||||
* @return array|false An array containing `location` and `events` items
|
||||
* on success, false on failure.
|
||||
*/
|
||||
public function get_cached_events() {
|
||||
$cached_response = get_site_transient( $this->get_events_transient_key( $this->user_location ) );
|
||||
$cached_response = $this->trim_events( $cached_response );
|
||||
|
||||
return $this->format_event_data_time( $cached_response );
|
||||
if ( isset( $cached_response['events'] ) ) {
|
||||
$cached_response['events'] = $this->trim_events( $cached_response['events'] );
|
||||
}
|
||||
|
||||
return $cached_response;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -360,11 +370,18 @@ class WP_Community_Events {
|
|||
* of the user who triggered the cache refresh, rather than their own.
|
||||
*
|
||||
* @since 4.8.0
|
||||
* @deprecated 5.6.0 No longer used in core.
|
||||
*
|
||||
* @param array $response_body The response which contains the events.
|
||||
* @return array The response with dates and times formatted.
|
||||
*/
|
||||
protected function format_event_data_time( $response_body ) {
|
||||
_deprecated_function(
|
||||
__METHOD__,
|
||||
'5.5.2',
|
||||
'This is no longer used by core, and only kept for backward compatibility.'
|
||||
);
|
||||
|
||||
if ( isset( $response_body['events'] ) ) {
|
||||
foreach ( $response_body['events'] as $key => $event ) {
|
||||
$timestamp = strtotime( $event['date'] );
|
||||
|
|
@ -435,44 +452,44 @@ class WP_Community_Events {
|
|||
*
|
||||
* @since 4.8.0
|
||||
* @since 4.9.7 Stick a WordCamp to the final list.
|
||||
* @since 5.5.2 Accepts and returns only the events, rather than an entire HTTP response.
|
||||
*
|
||||
* @param array $response_body The response body which contains the events.
|
||||
* @param array $events The events that will be prepared.
|
||||
* @return array The response body with events trimmed.
|
||||
*/
|
||||
protected function trim_events( $response_body ) {
|
||||
if ( isset( $response_body['events'] ) ) {
|
||||
$wordcamps = array();
|
||||
$today = current_time( 'Y-m-d' );
|
||||
protected function trim_events( array $events ) {
|
||||
$future_events = array();
|
||||
|
||||
foreach ( $response_body['events'] as $key => $event ) {
|
||||
/*
|
||||
* Skip WordCamps, because they might be multi-day events.
|
||||
* Save a copy so they can be pinned later.
|
||||
*/
|
||||
if ( 'wordcamp' === $event['type'] ) {
|
||||
$wordcamps[] = $event;
|
||||
continue;
|
||||
}
|
||||
foreach ( $events as $event ) {
|
||||
/*
|
||||
* The API's `date` and `end_date` fields are in the _event's_ local timezone, but UTC is needed so
|
||||
* it can be converted to the _user's_ local time.
|
||||
*/
|
||||
$end_time = (int) $event['end_unix_timestamp'];
|
||||
|
||||
// We don't get accurate time with timezone from API, so we only take the date part (Y-m-d).
|
||||
$event_date = substr( $event['date'], 0, 10 );
|
||||
|
||||
if ( $today > $event_date ) {
|
||||
unset( $response_body['events'][ $key ] );
|
||||
}
|
||||
}
|
||||
|
||||
$response_body['events'] = array_slice( $response_body['events'], 0, 3 );
|
||||
$trimmed_event_types = wp_list_pluck( $response_body['events'], 'type' );
|
||||
|
||||
// Make sure the soonest upcoming WordCamp is pinned in the list.
|
||||
if ( ! in_array( 'wordcamp', $trimmed_event_types, true ) && $wordcamps ) {
|
||||
array_pop( $response_body['events'] );
|
||||
array_push( $response_body['events'], $wordcamps[0] );
|
||||
if ( time() < $end_time ) {
|
||||
array_push( $future_events, $event );
|
||||
}
|
||||
}
|
||||
|
||||
return $response_body;
|
||||
$future_wordcamps = array_filter(
|
||||
$future_events,
|
||||
function( $wordcamp ) {
|
||||
return 'wordcamp' === $wordcamp['type'];
|
||||
}
|
||||
);
|
||||
|
||||
$future_wordcamps = array_values( $future_wordcamps ); // Remove gaps in indices.
|
||||
$trimmed_events = array_slice( $future_events, 0, 3 );
|
||||
$trimmed_event_types = wp_list_pluck( $trimmed_events, 'type' );
|
||||
|
||||
// Make sure the soonest upcoming WordCamp is pinned in the list.
|
||||
if ( $future_wordcamps && ! in_array( 'wordcamp', $trimmed_event_types, true ) ) {
|
||||
array_pop( $trimmed_events );
|
||||
array_push( $trimmed_events, $future_wordcamps[0] );
|
||||
}
|
||||
|
||||
return $trimmed_events;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1379,9 +1379,11 @@ function wp_print_community_events_templates() {
|
|||
</div>
|
||||
|
||||
<div class="event-date-time">
|
||||
<span class="event-date">{{ event.formatted_date }}</span>
|
||||
<span class="event-date">{{ event.user_formatted_date }}</span>
|
||||
<# if ( 'meetup' === event.type ) { #>
|
||||
<span class="event-time">{{ event.formatted_time }}</span>
|
||||
<span class="event-time">
|
||||
{{ event.user_formatted_time }} {{ event.timeZoneAbbreviation }}
|
||||
</span>
|
||||
<# } #>
|
||||
</div>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -530,7 +530,7 @@ function wp_iframe( $content_func, ...$args ) {
|
|||
?>
|
||||
<script type="text/javascript">
|
||||
addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
|
||||
var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>', pagenow = 'media-upload-popup', adminpage = 'media-upload-popup',
|
||||
var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>', pagenow = 'media-upload-popup', adminpage = 'media-upload-popup',
|
||||
isRtl = <?php echo (int) is_rtl(); ?>;
|
||||
</script>
|
||||
<?php
|
||||
|
|
|
|||
|
|
@ -842,7 +842,7 @@ function can_edit_network( $network_id ) {
|
|||
function _thickbox_path_admin_subfolder() {
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
var tb_pathToImage = "<?php echo includes_url( 'js/thickbox/loadingAnimation.gif', 'relative' ); ?>";
|
||||
var tb_pathToImage = "<?php echo esc_js( includes_url( 'js/thickbox/loadingAnimation.gif', 'relative' ) ); ?>";
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2018,12 +2018,12 @@ function iframe_header( $title = '', $deprecated = false ) {
|
|||
<script type="text/javascript">
|
||||
addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
|
||||
function tb_close(){var win=window.dialogArguments||opener||parent||top;win.tb_remove();}
|
||||
var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>',
|
||||
pagenow = '<?php echo $current_screen->id; ?>',
|
||||
typenow = '<?php echo $current_screen->post_type; ?>',
|
||||
adminpage = '<?php echo $admin_body_class; ?>',
|
||||
thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>',
|
||||
decimalPoint = '<?php echo addslashes( $wp_locale->number_format['decimal_point'] ); ?>',
|
||||
var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>',
|
||||
pagenow = '<?php echo esc_js( $current_screen->id ); ?>',
|
||||
typenow = '<?php echo esc_js( $current_screen->post_type ); ?>',
|
||||
adminpage = '<?php echo esc_js( $admin_body_class ); ?>',
|
||||
thousandsSeparator = '<?php echo esc_js( $wp_locale->number_format['thousands_sep'] ); ?>',
|
||||
decimalPoint = '<?php echo esc_js( $wp_locale->number_format['decimal_point'] ); ?>',
|
||||
isRtl = <?php echo (int) is_rtl(); ?>;
|
||||
</script>
|
||||
<?php
|
||||
|
|
|
|||
|
|
@ -126,11 +126,13 @@
|
|||
frame.on( 'select', function() {
|
||||
// Grab the selected attachment.
|
||||
var attachment = frame.state().get('selection').first();
|
||||
var nonceValue = $( '#_wpnonce' ).val() || '';
|
||||
|
||||
// Run an Ajax request to set the background image.
|
||||
$.post( ajaxurl, {
|
||||
action: 'set-background-image',
|
||||
attachment_id: attachment.id,
|
||||
_ajax_nonce: nonceValue,
|
||||
size: 'full'
|
||||
}).done( function() {
|
||||
// When the request completes, reload the window.
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
/*! This file is auto-generated */
|
||||
!function(e){e(document).ready(function(){var o,t=e("#custom-background-image");e("#background-color").wpColorPicker({change:function(n,c){t.css("background-color",c.color.toString())},clear:function(){t.css("background-color","")}}),e('select[name="background-size"]').change(function(){t.css("background-size",e(this).val())}),e('input[name="background-position"]').change(function(){t.css("background-position",e(this).val())}),e('input[name="background-repeat"]').change(function(){t.css("background-repeat",e(this).is(":checked")?"repeat":"no-repeat")}),e('input[name="background-attachment"]').change(function(){t.css("background-attachment",e(this).is(":checked")?"scroll":"fixed")}),e("#choose-from-library-link").click(function(n){var c=e(this);n.preventDefault(),o||(o=wp.media.frames.customBackground=wp.media({title:c.data("choose"),library:{type:"image"},button:{text:c.data("update"),close:!1}})).on("select",function(){var n=o.state().get("selection").first();e.post(ajaxurl,{action:"set-background-image",attachment_id:n.id,size:"full"}).done(function(){window.location.reload()})}),o.open()})})}(jQuery);
|
||||
!function(e){e(document).ready(function(){var o,a=e("#custom-background-image");e("#background-color").wpColorPicker({change:function(n,c){a.css("background-color",c.color.toString())},clear:function(){a.css("background-color","")}}),e('select[name="background-size"]').change(function(){a.css("background-size",e(this).val())}),e('input[name="background-position"]').change(function(){a.css("background-position",e(this).val())}),e('input[name="background-repeat"]').change(function(){a.css("background-repeat",e(this).is(":checked")?"repeat":"no-repeat")}),e('input[name="background-attachment"]').change(function(){a.css("background-attachment",e(this).is(":checked")?"scroll":"fixed")}),e("#choose-from-library-link").click(function(n){var c=e(this);n.preventDefault(),o||(o=wp.media.frames.customBackground=wp.media({title:c.data("choose"),library:{type:"image"},button:{text:c.data("update"),close:!1}})).on("select",function(){var n=o.state().get("selection").first(),c=e("#_wpnonce").val()||"";e.post(ajaxurl,{action:"set-background-image",attachment_id:n.id,_ajax_nonce:c,size:"full"}).done(function(){window.location.reload()})}),o.open()})})}(jQuery);
|
||||
|
|
@ -266,6 +266,11 @@ jQuery( function( $ ) {
|
|||
'use strict';
|
||||
|
||||
var communityEventsData = window.communityEventsData || {},
|
||||
dateI18n = wp.date.dateI18n,
|
||||
format = wp.date.format,
|
||||
sprintf = wp.i18n.sprintf,
|
||||
__ = wp.i18n.__,
|
||||
_x = wp.i18n._x,
|
||||
app;
|
||||
|
||||
/**
|
||||
|
|
@ -441,6 +446,7 @@ jQuery( function( $ ) {
|
|||
.fail( function() {
|
||||
app.renderEventsTemplate({
|
||||
'location' : false,
|
||||
'events' : [],
|
||||
'error' : true
|
||||
}, initiatedBy );
|
||||
});
|
||||
|
|
@ -465,6 +471,11 @@ jQuery( function( $ ) {
|
|||
$locationMessage = $( '#community-events-location-message' ),
|
||||
$results = $( '.community-events-results' );
|
||||
|
||||
templateParams.events = app.populateDynamicEventFields(
|
||||
templateParams.events,
|
||||
communityEventsData.time_format
|
||||
);
|
||||
|
||||
/*
|
||||
* Hide all toggleable elements by default, to keep the logic simple.
|
||||
* Otherwise, each block below would have to turn hide everything that
|
||||
|
|
@ -576,6 +587,195 @@ jQuery( function( $ ) {
|
|||
} else {
|
||||
app.toggleLocationForm( 'show' );
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Populate event fields that have to be calculated on the fly.
|
||||
*
|
||||
* These can't be stored in the database, because they're dependent on
|
||||
* the user's current time zone, locale, etc.
|
||||
*
|
||||
* @since 5.5.2
|
||||
*
|
||||
* @param {Array} rawEvents The events that should have dynamic fields added to them.
|
||||
* @param {string} timeFormat A time format acceptable by `wp.date.dateI18n()`.
|
||||
*
|
||||
* @returns {Array}
|
||||
*/
|
||||
populateDynamicEventFields: function( rawEvents, timeFormat ) {
|
||||
// Clone the parameter to avoid mutating it, so that this can remain a pure function.
|
||||
var populatedEvents = JSON.parse( JSON.stringify( rawEvents ) );
|
||||
|
||||
$.each( populatedEvents, function( index, event ) {
|
||||
var timeZone = app.getTimeZone( event.start_unix_timestamp * 1000 );
|
||||
|
||||
event.user_formatted_date = app.getFormattedDate(
|
||||
event.start_unix_timestamp * 1000,
|
||||
event.end_unix_timestamp * 1000,
|
||||
timeZone
|
||||
);
|
||||
|
||||
event.user_formatted_time = dateI18n(
|
||||
timeFormat,
|
||||
event.start_unix_timestamp * 1000,
|
||||
timeZone
|
||||
);
|
||||
|
||||
event.timeZoneAbbreviation = app.getTimeZoneAbbreviation( event.start_unix_timestamp * 1000 );
|
||||
} );
|
||||
|
||||
return populatedEvents;
|
||||
},
|
||||
|
||||
/**
|
||||
* Returns the user's local/browser time zone, in a form suitable for `wp.date.i18n()`.
|
||||
*
|
||||
* @since 5.5.2
|
||||
*
|
||||
* @param startTimestamp
|
||||
*
|
||||
* @returns {string|number}
|
||||
*/
|
||||
getTimeZone: function( startTimestamp ) {
|
||||
/*
|
||||
* Prefer a name like `Europe/Helsinki`, since that automatically tracks daylight savings. This
|
||||
* doesn't need to take `startTimestamp` into account for that reason.
|
||||
*/
|
||||
var timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
||||
|
||||
/*
|
||||
* Fall back to an offset for IE11, which declares the property but doesn't assign a value.
|
||||
*/
|
||||
if ( 'undefined' === typeof timeZone ) {
|
||||
/*
|
||||
* It's important to use the _event_ time, not the _current_
|
||||
* time, so that daylight savings time is accounted for.
|
||||
*/
|
||||
timeZone = app.getFlippedTimeZoneOffset( startTimestamp );
|
||||
}
|
||||
|
||||
return timeZone;
|
||||
},
|
||||
|
||||
/**
|
||||
* Get intuitive time zone offset.
|
||||
*
|
||||
* `Data.prototype.getTimezoneOffset()` returns a positive value for time zones
|
||||
* that are _behind_ UTC, and a _negative_ value for ones that are ahead.
|
||||
*
|
||||
* See https://stackoverflow.com/questions/21102435/why-does-javascript-date-gettimezoneoffset-consider-0500-as-a-positive-off.
|
||||
*
|
||||
* @since 5.5.2
|
||||
*
|
||||
* @param {number} startTimestamp
|
||||
*
|
||||
* @returns {number}
|
||||
*/
|
||||
getFlippedTimeZoneOffset: function( startTimestamp ) {
|
||||
return new Date( startTimestamp ).getTimezoneOffset() * -1;
|
||||
},
|
||||
|
||||
/**
|
||||
* Get a short time zone name, like `PST`.
|
||||
*
|
||||
* @since 5.5.2
|
||||
*
|
||||
* @param {number} startTimestamp
|
||||
*
|
||||
* @returns {string}
|
||||
*/
|
||||
getTimeZoneAbbreviation: function( startTimestamp ) {
|
||||
var timeZoneAbbreviation,
|
||||
eventDateTime = new Date( startTimestamp );
|
||||
|
||||
/*
|
||||
* Leaving the `locales` argument undefined is important, so that the browser
|
||||
* displays the abbreviation that's most appropriate for the current locale. For
|
||||
* some that will be `UTC{+|-}{n}`, and for others it will be a code like `PST`.
|
||||
*
|
||||
* This doesn't need to take `startTimestamp` into account, because a name like
|
||||
* `America/Chicago` automatically tracks daylight savings.
|
||||
*/
|
||||
var shortTimeStringParts = eventDateTime.toLocaleTimeString( undefined, { timeZoneName : 'short' } ).split( ' ' );
|
||||
|
||||
if ( 3 === shortTimeStringParts.length ) {
|
||||
timeZoneAbbreviation = shortTimeStringParts[2];
|
||||
}
|
||||
|
||||
if ( 'undefined' === typeof timeZoneAbbreviation ) {
|
||||
/*
|
||||
* It's important to use the _event_ time, not the _current_
|
||||
* time, so that daylight savings time is accounted for.
|
||||
*/
|
||||
var timeZoneOffset = app.getFlippedTimeZoneOffset( startTimestamp ),
|
||||
sign = -1 === Math.sign( timeZoneOffset ) ? '' : '+';
|
||||
|
||||
// translators: Used as part of a string like `GMT+5` in the Events Widget.
|
||||
timeZoneAbbreviation = _x( 'GMT', 'Events widget offset prefix' ) + sign + ( timeZoneOffset / 60 );
|
||||
}
|
||||
|
||||
return timeZoneAbbreviation;
|
||||
},
|
||||
|
||||
/**
|
||||
* Format a start/end date in the user's local time zone and locale.
|
||||
*
|
||||
* @since 5.5.2
|
||||
*
|
||||
* @param {int} startDate The Unix timestamp in milliseconds when the the event starts.
|
||||
* @param {int} endDate The Unix timestamp in milliseconds when the the event ends.
|
||||
* @param {string} timeZone A time zone string or offset which is parsable by `wp.date.i18n()`.
|
||||
*
|
||||
* @returns {string}
|
||||
*/
|
||||
getFormattedDate: function( startDate, endDate, timeZone ) {
|
||||
var formattedDate;
|
||||
|
||||
/*
|
||||
* The `date_format` option is not used because it's important
|
||||
* in this context to keep the day of the week in the displayed date,
|
||||
* so that users can tell at a glance if the event is on a day they
|
||||
* are available, without having to open the link.
|
||||
*
|
||||
* The case of crossing a year boundary is intentionally not handled.
|
||||
* It's so rare in practice that it's not worth the complexity
|
||||
* tradeoff. The _ending_ year should be passed to
|
||||
* `multiple_month_event`, though, just in case.
|
||||
*/
|
||||
/* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://www.php.net/manual/datetime.format.php */
|
||||
var singleDayEvent = __( 'l, M j, Y' ),
|
||||
/* translators: Date string for upcoming events. 1: Month, 2: Starting day, 3: Ending day, 4: Year. */
|
||||
multipleDayEvent = __( '%1$s %2$d–%3$d, %4$d' ),
|
||||
/* translators: Date string for upcoming events. 1: Starting month, 2: Starting day, 3: Ending month, 4: Ending day, 5: Ending year. */
|
||||
multipleMonthEvent = __( '%1$s %2$d – %3$s %4$d, %5$d' );
|
||||
|
||||
// Detect single-day events.
|
||||
if ( ! endDate || format( 'Y-m-d', startDate ) === format( 'Y-m-d', endDate ) ) {
|
||||
formattedDate = dateI18n( singleDayEvent, startDate, timeZone );
|
||||
|
||||
// Multiple day events.
|
||||
} else if ( format( 'Y-m', startDate ) === format( 'Y-m', endDate ) ) {
|
||||
formattedDate = sprintf(
|
||||
multipleDayEvent,
|
||||
dateI18n( _x( 'F', 'upcoming events month format' ), startDate, timeZone ),
|
||||
dateI18n( _x( 'j', 'upcoming events day format' ), startDate, timeZone ),
|
||||
dateI18n( _x( 'j', 'upcoming events day format' ), endDate, timeZone ),
|
||||
dateI18n( _x( 'Y', 'upcoming events year format' ), endDate, timeZone )
|
||||
);
|
||||
|
||||
// Multi-day events that cross a month boundary.
|
||||
} else {
|
||||
formattedDate = sprintf(
|
||||
multipleMonthEvent,
|
||||
dateI18n( _x( 'F', 'upcoming events month format' ), startDate, timeZone ),
|
||||
dateI18n( _x( 'j', 'upcoming events day format' ), startDate, timeZone ),
|
||||
dateI18n( _x( 'F', 'upcoming events month format' ), endDate, timeZone ),
|
||||
dateI18n( _x( 'j', 'upcoming events day format' ), endDate, timeZone ),
|
||||
dateI18n( _x( 'Y', 'upcoming events year format' ), endDate, timeZone )
|
||||
);
|
||||
}
|
||||
|
||||
return formattedDate;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -11,7 +11,7 @@ jQuery(function($) {
|
|||
* Adds a click event handler to the element with a 'wp-gallery' class.
|
||||
*/
|
||||
$( 'body' ).bind( 'click.wp-gallery', function(e) {
|
||||
var target = $( e.target ), id, img_size;
|
||||
var target = $( e.target ), id, img_size, nonceValue;
|
||||
|
||||
if ( target.hasClass( 'wp-set-header' ) ) {
|
||||
// Opens the image to preview it full size.
|
||||
|
|
@ -21,6 +21,7 @@ jQuery(function($) {
|
|||
// Sets the image as background of the theme.
|
||||
id = target.data( 'attachment-id' );
|
||||
img_size = $( 'input[name="attachments[' + id + '][image-size]"]:checked').val();
|
||||
nonceValue = $( '#_wpnonce' ).val() && '';
|
||||
|
||||
/**
|
||||
* This Ajax action has been deprecated since 3.5.0, see custom-background.php
|
||||
|
|
@ -28,6 +29,7 @@ jQuery(function($) {
|
|||
jQuery.post(ajaxurl, {
|
||||
action: 'set-background-image',
|
||||
attachment_id: id,
|
||||
_ajax_nonce: nonceValue,
|
||||
size: img_size
|
||||
}, function() {
|
||||
var win = window.dialogArguments || opener || parent || top;
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
/*! This file is auto-generated */
|
||||
jQuery(function(o){o("body").bind("click.wp-gallery",function(a){var e,t,n=o(a.target);n.hasClass("wp-set-header")?((window.dialogArguments||opener||parent||top).location.href=n.data("location"),a.preventDefault()):n.hasClass("wp-set-background")&&(e=n.data("attachment-id"),t=o('input[name="attachments['+e+'][image-size]"]:checked').val(),jQuery.post(ajaxurl,{action:"set-background-image",attachment_id:e,size:t},function(){var a=window.dialogArguments||opener||parent||top;a.tb_remove(),a.location.reload()}),a.preventDefault())})});
|
||||
jQuery(function(r){r("body").bind("click.wp-gallery",function(a){var e,t,n,o=r(a.target);o.hasClass("wp-set-header")?((window.dialogArguments||opener||parent||top).location.href=o.data("location"),a.preventDefault()):o.hasClass("wp-set-background")&&(e=o.data("attachment-id"),t=r('input[name="attachments['+e+'][image-size]"]:checked').val(),n=r("#_wpnonce").val()&&"",jQuery.post(ajaxurl,{action:"set-background-image",attachment_id:e,_ajax_nonce:n,size:t},function(){var a=window.dialogArguments||opener||parent||top;a.tb_remove(),a.location.reload()}),a.preventDefault())})});
|
||||
|
|
@ -77,9 +77,9 @@ if ( get_user_setting( 'uploader' ) || isset( $_GET['browser-uploader'] ) ) {
|
|||
<?php media_upload_form(); ?>
|
||||
|
||||
<script type="text/javascript">
|
||||
var post_id = <?php echo $post_id; ?>, shortform = 3;
|
||||
var post_id = <?php echo absint( $post_id ); ?>, shortform = 3;
|
||||
</script>
|
||||
<input type="hidden" name="post_id" id="post_id" value="<?php echo $post_id; ?>" />
|
||||
<input type="hidden" name="post_id" id="post_id" value="<?php echo absint( $post_id ); ?>" />
|
||||
<?php wp_nonce_field( 'media-form' ); ?>
|
||||
<div id="media-items" class="hide-if-no-js"></div>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -220,7 +220,7 @@ if ( ! wp_is_large_network( 'users' ) && apply_filters( 'show_network_site_users
|
|||
require_once ABSPATH . 'wp-admin/admin-header.php'; ?>
|
||||
|
||||
<script type="text/javascript">
|
||||
var current_site_id = <?php echo $id; ?>;
|
||||
var current_site_id = <?php echo absint( $id ); ?>;
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
|||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
|
@ -1,15 +1,19 @@
|
|||
# Translation of Plugins - Akismet Anti-Spam - Stable (latest release) in Swedish
|
||||
# This file is distributed under the same license as the Plugins - Akismet Anti-Spam - Stable (latest release) package.
|
||||
# Translation of Plugins - Akismet Spam Protection - Stable (latest release) in Swedish
|
||||
# This file is distributed under the same license as the Plugins - Akismet Spam Protection - Stable (latest release) package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"PO-Revision-Date: 2020-10-06 14:36:32+0000\n"
|
||||
"PO-Revision-Date: 2020-10-22 19:39:17+0000\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: GlotPress/3.0.0-alpha.2\n"
|
||||
"Language: sv_SE\n"
|
||||
"Project-Id-Version: Plugins - Akismet Anti-Spam - Stable (latest release)\n"
|
||||
"Project-Id-Version: Plugins - Akismet Spam Protection - Stable (latest release)\n"
|
||||
|
||||
#: views/stats.php:4
|
||||
msgid "Anti-Spam Settings"
|
||||
msgstr "Inställningar för Anti-Spam"
|
||||
|
||||
#. translators: The placeholder is for showing how much of the process has
|
||||
#. completed, as a percent. e.g., "Checking for Spam (40%)"
|
||||
|
|
@ -17,23 +21,24 @@ msgstr ""
|
|||
msgid "Checking for Spam (%1$s%)"
|
||||
msgstr "Söker efter skräppost (%1$s %)"
|
||||
|
||||
#: class.akismet-admin.php:684
|
||||
#: class.akismet-admin.php:689
|
||||
msgid "No comment history."
|
||||
msgstr "Ingen kommentarhistorik."
|
||||
|
||||
#: class.akismet-admin.php:652
|
||||
#: class.akismet-admin.php:657
|
||||
msgid "Akismet was unable to recheck this comment."
|
||||
msgstr "Akismet kunde inte kontrollera denna kommentar igen."
|
||||
|
||||
#: class.akismet-admin.php:644
|
||||
#: class.akismet-admin.php:649
|
||||
msgid "Akismet was unable to check this comment but will automatically retry later."
|
||||
msgstr "Akismet kunde inte kontrollera den här kommentaren men kommer automatiskt att försöka igen senare."
|
||||
|
||||
#: class.akismet-admin.php:615
|
||||
#. translators: The placeholder is a WordPress PHP function name.
|
||||
#: class.akismet-admin.php:618
|
||||
msgid "Comment was caught by %s."
|
||||
msgstr "Kommentaren stoppades av %s."
|
||||
|
||||
#: class.akismet.php:552
|
||||
#: class.akismet.php:561
|
||||
msgid "Akismet is not configured. Please enter an API key."
|
||||
msgstr "Akismet är inte konfigurerad. Ange en API-nyckel."
|
||||
|
||||
|
|
@ -49,7 +54,7 @@ msgstr "Ställ in ett annat konto"
|
|||
msgid "Set up your Akismet account to enable spam filtering on this site."
|
||||
msgstr "Ställ in ditt Akismetkonto för att aktivera skräppostfiltrering på denna webbplats."
|
||||
|
||||
#: class.akismet-admin.php:1087
|
||||
#: class.akismet-admin.php:1093
|
||||
msgid "Akismet could not recheck your comments for spam."
|
||||
msgstr "Akismet kunde inte kontrollera dina kommentarer igen efter skräppost."
|
||||
|
||||
|
|
@ -89,7 +94,7 @@ msgstr "Akismet integritetsmeddelande"
|
|||
msgid "Privacy"
|
||||
msgstr "Integritet"
|
||||
|
||||
#: class.akismet.php:1491
|
||||
#: class.akismet.php:1500
|
||||
msgid "This site uses Akismet to reduce spam. <a href=\"%s\" target=\"_blank\" rel=\"nofollow noopener\">Learn how your comment data is processed</a>."
|
||||
msgstr "Denna webbplats använder Akismet för att minska skräppost. <a href=\"%s\" target=\"_blank\" rel=\"nofollow noopener\">Lär dig hur din kommentardata bearbetas</a>."
|
||||
|
||||
|
|
@ -156,10 +161,6 @@ msgstr "Akismet används av miljoner personer och är kanske världens bästa s
|
|||
msgid "Akismet Anti-Spam"
|
||||
msgstr "Akismet Anti-Spam"
|
||||
|
||||
#: views/stats.php:4
|
||||
msgid "Akismet Settings"
|
||||
msgstr "Akismet-inställningar"
|
||||
|
||||
#: views/enter.php:9
|
||||
msgid "Connect with API key"
|
||||
msgstr "Anslut med hjälp av API-nyckel"
|
||||
|
|
@ -190,7 +191,7 @@ msgstr "Vill du <a href=\"%s\">kolla väntande kommentarer</a>?"
|
|||
msgid "Akismet is now protecting your site from spam. Happy blogging!"
|
||||
msgstr "Nu skyddar Akismet din webbplats från skräppost. Lycka till med bloggandet!"
|
||||
|
||||
#: views/setup.php:3 views/notice.php:14
|
||||
#: views/notice.php:14 views/setup.php:3
|
||||
msgid "Set up your Akismet account"
|
||||
msgstr "Konfigurera ditt Akismet-konto"
|
||||
|
||||
|
|
@ -202,35 +203,35 @@ msgstr "Detaljerad statistik"
|
|||
msgid "Statistics"
|
||||
msgstr "Statistik"
|
||||
|
||||
#: class.akismet-admin.php:1191
|
||||
#: class.akismet-admin.php:1197
|
||||
msgid "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started, just go to <a href=\"admin.php?page=akismet-key-config\">your Akismet Settings page</a> to set up your API key."
|
||||
msgstr "Akismet, som används av miljoner personer, är kanske världens bästa sätt att <strong>skydda din blogg från skräppost</strong>. Det skyddar din webbplats t.o.m. medan du sover. För att komma igång behöver du bara gå till <a href=\"admin.php?page=akismet-key-config\">din inställningssida för Akismet</a> för att konfigurera din API-nyckel."
|
||||
|
||||
#: class.akismet-admin.php:1188
|
||||
#: class.akismet-admin.php:1194
|
||||
msgid "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. Your site is fully configured and being protected, even while you sleep."
|
||||
msgstr "Akismet, som används av miljoner personer, är kanske världens bästa sätt att <strong>skydda din blogg från skräppost</strong>. Din webbplats är färdigkonfigurerad och skyddar din webbplats t.o.m. medan du sover. "
|
||||
|
||||
#: class.akismet-admin.php:1080
|
||||
#: class.akismet-admin.php:1086
|
||||
msgid "%s comment was caught as spam."
|
||||
msgid_plural "%s comments were caught as spam."
|
||||
msgstr[0] "%s kommentar bedömdes som skräppost."
|
||||
msgstr[1] "%s kommentarer bedömdes som skräppost."
|
||||
|
||||
#: class.akismet-admin.php:1077
|
||||
#: class.akismet-admin.php:1083
|
||||
msgid "No comments were caught as spam."
|
||||
msgstr "Inga kommentarer bedömdes som skräppost."
|
||||
|
||||
#: class.akismet-admin.php:1073
|
||||
#: class.akismet-admin.php:1079
|
||||
msgid "Akismet checked %s comment."
|
||||
msgid_plural "Akismet checked %s comments."
|
||||
msgstr[0] "Akismet har kontrollerat %s kommentar."
|
||||
msgstr[1] "Akismet har kontrollerat %s kommentarer."
|
||||
|
||||
#: class.akismet-admin.php:1070
|
||||
#: class.akismet-admin.php:1076
|
||||
msgid "There were no comments to check. Akismet will only check comments awaiting moderation."
|
||||
msgstr "Det finns inga kommentarer att kontrollera. Akismet kommer endast att kontrollera kommentarer som inväntar granskning."
|
||||
|
||||
#: class.akismet.php:558
|
||||
#: class.akismet.php:567
|
||||
msgid "Comment not found."
|
||||
msgstr "Kommentaren kunde inte hittas."
|
||||
|
||||
|
|
@ -304,19 +305,19 @@ msgstr "Uppdatera din betalningsinformation."
|
|||
msgid "<strong>Almost done</strong> - configure Akismet and say goodbye to spam"
|
||||
msgstr "<strong>Nästan klart</strong> – konfigurera Akismet och vinka adjö till skräppost"
|
||||
|
||||
#: class.akismet-admin.php:1004
|
||||
#: class.akismet-admin.php:1009
|
||||
msgid "Akismet has saved you %d minute!"
|
||||
msgid_plural "Akismet has saved you %d minutes!"
|
||||
msgstr[0] "Akismet har sparat dig %d minut!"
|
||||
msgstr[1] "Akismet har sparat dig %d minuter!"
|
||||
|
||||
#: class.akismet-admin.php:1002
|
||||
#: class.akismet-admin.php:1007
|
||||
msgid "Akismet has saved you %d hour!"
|
||||
msgid_plural "Akismet has saved you %d hours!"
|
||||
msgstr[0] "Akismet har sparat dig %d timme!"
|
||||
msgstr[1] "Akismet har sparat dig %d timmar!"
|
||||
|
||||
#: class.akismet-admin.php:1000
|
||||
#: class.akismet-admin.php:1005
|
||||
msgid "Akismet has saved you %s day!"
|
||||
msgid_plural "Akismet has saved you %s days!"
|
||||
msgstr[0] "Akismet har sparat dig %s dag!"
|
||||
|
|
@ -383,11 +384,11 @@ msgstr "Inaktiverat."
|
|||
msgid "SSL Status"
|
||||
msgstr "SSL-status"
|
||||
|
||||
#: class.akismet-admin.php:630
|
||||
#: class.akismet-admin.php:635
|
||||
msgid "This comment was reported as not spam."
|
||||
msgstr "Denna kommentar rapporterades som ”inte skräppost”."
|
||||
|
||||
#: class.akismet-admin.php:622
|
||||
#: class.akismet-admin.php:627
|
||||
msgid "This comment was reported as spam."
|
||||
msgstr "Denna kommentar rapporterades som skräppost."
|
||||
|
||||
|
|
@ -571,35 +572,35 @@ msgstr[1] ""
|
|||
msgid "Past six months"
|
||||
msgstr "Senaste sex månaderna"
|
||||
|
||||
#: class.akismet.php:1348
|
||||
#: class.akismet.php:1357
|
||||
msgid "Please <a href=\"%1$s\">upgrade WordPress</a> to a current version, or <a href=\"%2$s\">downgrade to version 2.4 of the Akismet plugin</a>."
|
||||
msgstr "<a href=\"%1$s\">Uppgradera WordPress</a> till en aktuell version eller <a href=\"%2$s\">nedgradera till version 2.4 av tillägget Akismet</a>."
|
||||
|
||||
#: class.akismet.php:1348
|
||||
#: class.akismet.php:1357
|
||||
msgid "Akismet %s requires WordPress %s or higher."
|
||||
msgstr "Akismet %s kräver WordPress %s eller senare."
|
||||
|
||||
#: class.akismet-admin.php:637
|
||||
#: class.akismet-admin.php:642
|
||||
msgid "Akismet cleared this comment during an automatic retry."
|
||||
msgstr "Akismet godkände den här kommentaren under en automatisk skanning."
|
||||
|
||||
#: class.akismet-admin.php:634
|
||||
#: class.akismet-admin.php:639
|
||||
msgid "Akismet caught this comment as spam during an automatic retry."
|
||||
msgstr "Akismet fångade den här kommentaren som skräpport under en automatisk körning."
|
||||
|
||||
#: class.akismet-admin.php:627
|
||||
#: class.akismet-admin.php:632
|
||||
msgid "%s reported this comment as not spam."
|
||||
msgstr "%s rapporterade denna kommentar som ”inte skräppost”."
|
||||
|
||||
#: class.akismet-admin.php:619
|
||||
#: class.akismet-admin.php:624
|
||||
msgid "%s reported this comment as spam."
|
||||
msgstr "%s rapporterade denna kommentar som skräppost."
|
||||
|
||||
#: class.akismet-admin.php:666
|
||||
#: class.akismet-admin.php:671
|
||||
msgid "%1$s changed the comment status to %2$s."
|
||||
msgstr "%1$s ändrade status för kommentaren till %2$s."
|
||||
|
||||
#: class.akismet-admin.php:641
|
||||
#: class.akismet-admin.php:646
|
||||
msgid "Akismet was unable to check this comment (response: %s) but will automatically retry later."
|
||||
msgstr "Akismet kunde inte kontrollera denna kommentar (svar: %s) men kommer automatiskt att försök igen senare."
|
||||
|
||||
|
|
@ -607,7 +608,7 @@ msgstr "Akismet kunde inte kontrollera denna kommentar (svar: %s) men kommer aut
|
|||
msgid "Akismet cleared this comment."
|
||||
msgstr "Akismet godkände denna kommentar."
|
||||
|
||||
#: class.akismet-admin.php:660
|
||||
#: class.akismet-admin.php:665
|
||||
msgid "Comment status was changed to %s"
|
||||
msgstr "Kommentarsstatus ändrades till %s"
|
||||
|
||||
|
|
@ -637,15 +638,15 @@ msgstr "Visa antalet skräpkommentarer som Akismet har fångat"
|
|||
msgid "Akismet Widget"
|
||||
msgstr "Akismet widget"
|
||||
|
||||
#: class.akismet-admin.php:997
|
||||
#: class.akismet-admin.php:1002
|
||||
msgid "Cleaning up spam takes time."
|
||||
msgstr "Att rensa upp skräppost tar tid."
|
||||
|
||||
#: class.akismet-admin.php:890
|
||||
#: class.akismet-admin.php:895
|
||||
msgid "Please check your <a href=\"%s\">Akismet configuration</a> and contact your web host if problems persist."
|
||||
msgstr "Kontrollera din <a href=\"%s\">konfiguration av Akismet</a> och kontakta ditt webbhotell om problemen kvarstår."
|
||||
|
||||
#: class.akismet-admin.php:675
|
||||
#: class.akismet-admin.php:680
|
||||
msgid "%s ago"
|
||||
msgstr "%s sedan"
|
||||
|
||||
|
|
@ -683,7 +684,7 @@ msgstr "Flaggat som skräppost av Akismet"
|
|||
msgid "Awaiting spam check"
|
||||
msgstr "Inväntar skräppostkontroll"
|
||||
|
||||
#: class.akismet-admin.php:649
|
||||
#: class.akismet-admin.php:654
|
||||
msgid "Akismet was unable to recheck this comment (response: %s)."
|
||||
msgstr "Akismet kunde inte kontrollera denna kommentar igen (svar: %s)."
|
||||
|
||||
|
|
@ -750,7 +751,7 @@ msgstr "För mer information:"
|
|||
msgid "The subscription status - active, cancelled or suspended"
|
||||
msgstr "Prenumerationsstatus – aktiv, avslutad eller avstängd"
|
||||
|
||||
#: class.akismet-admin.php:258 views/config.php:203
|
||||
#: views/config.php:203 class.akismet-admin.php:258
|
||||
msgid "Status"
|
||||
msgstr "Status"
|
||||
|
||||
|
|
@ -758,11 +759,11 @@ msgstr "Status"
|
|||
msgid "The Akismet subscription plan"
|
||||
msgstr "Akismets prenumerationsplan"
|
||||
|
||||
#: class.akismet-admin.php:257 views/config.php:196
|
||||
#: views/config.php:196 class.akismet-admin.php:257
|
||||
msgid "Subscription Type"
|
||||
msgstr "Prenumerationstyp"
|
||||
|
||||
#: class.akismet-admin.php:254 views/config.php:188
|
||||
#: views/config.php:188 class.akismet-admin.php:254
|
||||
msgid "Account"
|
||||
msgstr "Konto"
|
||||
|
||||
|
|
@ -770,7 +771,7 @@ msgstr "Konto"
|
|||
msgid "Choose to either discard the worst spam automatically or to always put all spam in spam folder."
|
||||
msgstr "Välj att antingen ignorera den värsta skräpposten automatiskt eller att alltid placera all skräppost i skräppostmappen."
|
||||
|
||||
#: class.akismet-admin.php:246 views/config.php:128
|
||||
#: views/config.php:128 class.akismet-admin.php:246
|
||||
msgid "Strictness"
|
||||
msgstr "Strikthet"
|
||||
|
||||
|
|
@ -778,7 +779,7 @@ msgstr "Strikthet"
|
|||
msgid "Show the number of approved comments beside each comment author in the comments list page."
|
||||
msgstr "Visa antalet godkända kommentarer bredvid varje kommentarsförfattare på kommentarslistningssidan."
|
||||
|
||||
#: class.akismet-admin.php:245 views/config.php:105
|
||||
#: views/config.php:105 class.akismet-admin.php:245
|
||||
msgid "Comments"
|
||||
msgstr "Kommentarer"
|
||||
|
||||
|
|
@ -786,7 +787,7 @@ msgstr "Kommentarer"
|
|||
msgid "Enter/remove an API key."
|
||||
msgstr "Ange/ta bort en API-nyckel."
|
||||
|
||||
#: class.akismet-admin.php:244 views/config.php:70
|
||||
#: views/config.php:70 class.akismet-admin.php:244
|
||||
msgid "API Key"
|
||||
msgstr "API-nyckel"
|
||||
|
||||
|
|
@ -865,15 +866,15 @@ msgstr "Tar bort …"
|
|||
msgid "Remove this URL"
|
||||
msgstr "Ta bort denna URL"
|
||||
|
||||
#: class.akismet-admin.php:86 class.akismet-admin.php:1206
|
||||
#: class.akismet-admin.php:86 class.akismet-admin.php:1212
|
||||
msgid "Akismet"
|
||||
msgstr "Akismet"
|
||||
|
||||
#: class.akismet-admin.php:105 class.akismet-admin.php:241
|
||||
#: class.akismet-admin.php:691 views/config.php:60
|
||||
#: views/config.php:60 class.akismet-admin.php:105 class.akismet-admin.php:241
|
||||
#: class.akismet-admin.php:696
|
||||
msgid "Settings"
|
||||
msgstr "Inställningar"
|
||||
|
||||
#: class.akismet-admin.php:82
|
||||
msgid "Comment History"
|
||||
msgstr "Kommentarshistorik"
|
||||
msgstr "Kommentarshistorik"
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"The section has been copied to your clipboard.":["Sektionen har kopierats till ditt urklipp."],"An error occurred while attempting to find and erase personal data.":["Ett fel uppstod vid f\u00f6rs\u00f6ket att hitta och radera personuppgifter."],"Personal data was found for this user but some of the personal data found was not erased.":["Personuppgifter hittades f\u00f6r den h\u00e4r anv\u00e4ndaren men en del av de hittade personuppgifterna raderades inte."],"All of the personal data found for this user was erased.":["Alla personuppgifter som hittades f\u00f6r den h\u00e4r anv\u00e4ndaren raderades."],"Personal data was found for this user but was not erased.":["Personuppgifter hittades f\u00f6r den h\u00e4r anv\u00e4ndaren men raderades inte."],"No personal data was found for this user.":["Inga personuppgifter hittades f\u00f6r denna anv\u00e4ndare."],"An error occurred while attempting to export personal data.":["Ett fel uppstod vid f\u00f6rs\u00f6ket att exportera personuppgifter."],"No personal data export file was generated.":["Ingen fil f\u00f6r export av personuppgifter genererades."],"The personal data export link for this user was sent.":["L\u00e4nken f\u00f6r export av anv\u00e4ndarens personuppgifter har skickats."]}},"comment":{"reference":"wp-admin\/js\/privacy-tools.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"The section has been copied to your clipboard.":["Sektionen har kopierats till ditt urklipp."],"An error occurred while attempting to find and erase personal data.":["Ett fel uppstod vid f\u00f6rs\u00f6ket att hitta och radera personuppgifter."],"Personal data was found for this user but some of the personal data found was not erased.":["Personuppgifter hittades f\u00f6r den h\u00e4r anv\u00e4ndaren men en del av de hittade personuppgifterna raderades inte."],"All of the personal data found for this user was erased.":["Alla personuppgifter som hittades f\u00f6r den h\u00e4r anv\u00e4ndaren raderades."],"Personal data was found for this user but was not erased.":["Personuppgifter hittades f\u00f6r den h\u00e4r anv\u00e4ndaren men raderades inte."],"No personal data was found for this user.":["Inga personuppgifter hittades f\u00f6r denna anv\u00e4ndare."],"An error occurred while attempting to export personal data.":["Ett fel uppstod vid f\u00f6rs\u00f6ket att exportera personuppgifter."],"No personal data export file was generated.":["Ingen fil f\u00f6r export av personuppgifter genererades."],"The personal data export link for this user was sent.":["L\u00e4nken f\u00f6r export av anv\u00e4ndarens personuppgifter har skickats."]}},"comment":{"reference":"wp-admin\/js\/privacy-tools.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Editor tips":["Redigeringstips"],"Disable tips":["Inaktivera tips"],"Got it":["Jag f\u00f6rst\u00e5r"],"See next tip":["Se n\u00e4sta tips"]}},"comment":{"reference":"wp-includes\/js\/dist\/nux.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Editor tips":["Redigeringstips"],"Disable tips":["Inaktivera tips"],"Got it":["Jag f\u00f6rst\u00e5r"],"See next tip":["Se n\u00e4sta tips"]}},"comment":{"reference":"wp-includes\/js\/dist\/nux.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"%1$s is deprecated since version %2$s! Use %3$s instead. Please consider writing more inclusive code.":["%1$s \u00e4r taget ur bruk sedan version %2$s! Anv\u00e4nd %3$s ist\u00e4llet. \u00d6verv\u00e4g att skriva mer inkluderande kod."]}},"comment":{"reference":"wp-admin\/js\/password-strength-meter.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"%1$s is deprecated since version %2$s! Use %3$s instead. Please consider writing more inclusive code.":["%1$s \u00e4r taget ur bruk sedan version %2$s! Anv\u00e4nd %3$s ist\u00e4llet. \u00d6verv\u00e4g att skriva mer inkluderande kod."]}},"comment":{"reference":"wp-admin\/js\/password-strength-meter.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"%1$s Block. Row %2$d":["Block %1$s. Rad %2$d"],"Design":["Design"],"%s Block":["Block av typen %s"],"%1$s Block. %2$s":["Block %1$s. %2$s"],"%1$s Block. Column %2$d":["Block %1$s. Kolumn %2$d"],"%1$s Block. Column %2$d. %3$s":["Block %1$s. kolumn %2$d. %3$s"],"%1$s Block. Row %2$d. %3$s":["%1$s block. Rad %2$d. %3$s"],"Reusable blocks":["\u00c5teranv\u00e4ndbara block"],"Embeds":["Inb\u00e4ddningar"],"Text":["Text"],"Widgets":["Widgetar"],"Media":["Media"]}},"comment":{"reference":"wp-includes\/js\/dist\/blocks.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"%1$s Block. Row %2$d":["Block %1$s. Rad %2$d"],"Design":["Design"],"%s Block":["Block av typen %s"],"%1$s Block. %2$s":["Block %1$s. %2$s"],"%1$s Block. Column %2$d":["Block %1$s. Kolumn %2$d"],"%1$s Block. Column %2$d. %3$s":["Block %1$s. kolumn %2$d. %3$s"],"%1$s Block. Row %2$d. %3$s":["%1$s block. Rad %2$d. %3$s"],"Reusable blocks":["\u00c5teranv\u00e4ndbara block"],"Embeds":["Inb\u00e4ddningar"],"Text":["Text"],"Widgets":["Widgetar"],"Media":["Media"]}},"comment":{"reference":"wp-includes\/js\/dist\/blocks.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"You are probably offline.":["Du \u00e4r f\u00f6rmodligen offline."],"Media upload failed. If this is a photo or a large image, please scale it down and try again.":["Uppladdningen av mediafilen misslyckades. Om det \u00e4r ett foto eller en stor bild b\u00f6r du minska dess storlek och f\u00f6rs\u00f6ka igen."],"The response is not a valid JSON response.":["Svaret \u00e4r inget giltigt JSON-svar."],"An unknown error occurred.":["Ett ok\u00e4nt fel uppstod."]}},"comment":{"reference":"wp-includes\/js\/dist\/api-fetch.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"You are probably offline.":["Du \u00e4r f\u00f6rmodligen offline."],"Media upload failed. If this is a photo or a large image, please scale it down and try again.":["Uppladdningen av mediafilen misslyckades. Om det \u00e4r ett foto eller en stor bild b\u00f6r du minska dess storlek och f\u00f6rs\u00f6ka igen."],"The response is not a valid JSON response.":["Svaret \u00e4r inget giltigt JSON-svar."],"An unknown error occurred.":["Ett ok\u00e4nt fel uppstod."]}},"comment":{"reference":"wp-includes\/js\/dist\/api-fetch.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Submitted on:":["Skickat den:"],"%1$s %2$s, %3$s at %4$s:%5$s":["%2$s %1$s, %3$s kl. %4$s:%5$s"]}},"comment":{"reference":"wp-admin\/js\/comment.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Submitted on:":["Skickat den:"],"%1$s %2$s, %3$s at %4$s:%5$s":["%2$s %1$s, %3$s kl. %4$s:%5$s"]}},"comment":{"reference":"wp-admin\/js\/comment.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Could not load the preview image.":["Kunde inte ladda f\u00f6rhandsgranskningsbilden."],"Could not load the preview image. Please reload the page and try again.":["Kunde inte ladda f\u00f6rhandsgranskningsbilden. Ladda om sidan och f\u00f6rs\u00f6k igen."]}},"comment":{"reference":"wp-admin\/js\/image-edit.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Could not load the preview image.":["Kunde inte ladda f\u00f6rhandsgranskningsbilden."],"Could not load the preview image. Please reload the page and try again.":["Kunde inte ladda f\u00f6rhandsgranskningsbilden. Ladda om sidan och f\u00f6rs\u00f6k igen."]}},"comment":{"reference":"wp-admin\/js\/image-edit.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Reusable block imported successfully!":["\u00c5teranv\u00e4ndbart block importerat utan problem."],"button label\u0004Import":["Importera"],"Unknown error":["Ok\u00e4nt fel"],"Invalid Reusable Block JSON file":["Ogiltig JSON-fil f\u00f6r \u00e5teranv\u00e4ndbart block"],"Invalid JSON file":["Ogiltig JSON-fil"],"Import from JSON":["Importera fr\u00e5n JSON"],"File":["Fil"]}},"comment":{"reference":"wp-includes\/js\/dist\/list-reusable-blocks.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Reusable block imported successfully!":["\u00c5teranv\u00e4ndbart block importerat utan problem."],"button label\u0004Import":["Importera"],"Unknown error":["Ok\u00e4nt fel"],"Invalid Reusable Block JSON file":["Ogiltig JSON-fil f\u00f6r \u00e5teranv\u00e4ndbart block"],"Invalid JSON file":["Ogiltig JSON-fil"],"Import from JSON":["Importera fr\u00e5n JSON"],"File":["Fil"]}},"comment":{"reference":"wp-includes\/js\/dist\/list-reusable-blocks.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"The request could not be completed.":["Beg\u00e4ran kunde inte slutf\u00f6ras."],"Disabling...":["Inaktiverar \u2026"],"Enabling...":["Aktiverar \u2026"],"Number of plugins found: %d":["Antal hittade till\u00e4gg: %d"],"Caution: These themes may be active on other sites in the network. Are you sure you want to proceed?":["Varning: Dessa teman kan vara aktiva p\u00e5 andra webbplatser i n\u00e4tverket. \u00c4r du s\u00e4ker p\u00e5 att du vill forts\u00e4tta?"],"Are you sure you want to delete the selected plugins and their data?":["\u00c4r du s\u00e4ker p\u00e5 att du vill ta bort de valda till\u00e4ggen och deras data?"],"Please select at least one item to perform this action on.":["V\u00e4lj minst ett objekt f\u00f6r att utf\u00f6ra den h\u00e4r \u00e5tg\u00e4rden."],"Are you sure you want to delete %s and its data?":["\u00c4r du s\u00e4ker p\u00e5 att du vill ta bort %s och dess data?"],"Update canceled.":["Uppdatering avbruten."],"plugin\u0004Update %s now":["Uppdatera %s nu"],"Updates may not complete if you navigate away from this page.":["Uppdateringar kanske inte slutf\u00f6rs om du navigerar bort fr\u00e5n den h\u00e4r sidan."],"Connection lost or the server is busy. Please try again later.":["F\u00f6rbindelsen br\u00f6ts eller servern kan vara upptagen. F\u00f6rs\u00f6k igen senare."],"Deletion failed: %s":["Borttagning misslyckades: %s"],"theme\u0004Deleted!":["Borttaget!"],"theme\u0004%s installation failed":["Installationen av %s misslyckades"],"theme\u0004Network Activate %s":["Aktivera %s f\u00f6r n\u00e4tverk"],"theme\u0004%s installed!":["%s har installerats!"],"theme\u0004Installing %s...":["Installerar %s\u2026"],"theme\u0004Updated!":["Uppdaterad!"],"Updating... please wait.":["Uppdaterar... v\u00e4nta."],"plugin\u0004Deleted!":["Borttaget!"],"Deleting...":["Tar bort\u2026"],"plugin\u0004Install %s now":["Installera %s nu"],"Importer installed successfully. <a href=\"%s\">Run importer<\/a>":["Import\u00f6ren har installerats. <a href=\"%s\">K\u00f6r import<\/a>"],"plugin\u0004%s installation failed":["Installationen av %s misslyckades"],"Installation failed: %s":["Installationen misslyckades: %s"],"Installation completed successfully.":["Installationen slutf\u00f6rdes utan problem."],"plugin\u0004Installed!":["Installerat!"],"plugin\u0004%s installed!":["%s har installerats!"],"Installing... please wait.":["Installerar... v\u00e4nta."],"plugin\u0004Installing %s...":["Installerar %s\u2026"],"Installing...":["Installerar\u2026"],"plugin\u0004%s update failed.":["Uppdateringen av till\u00e4gget %s misslyckades."],"Update failed: %s":["Uppdatering misslyckades: %s"],"Update completed successfully.":["Uppdateringen slutf\u00f6rdes utan problem."],"plugin\u0004Updated!":["Uppdaterad!"],"plugin\u0004%s updated!":["%s har uppdaterats!"],"Updating...":["Uppdaterar\u2026"],"plugin\u0004Updating %s...":["Uppdaterar %s\u2026"],"No plugins found. Try a different search.":["Inga till\u00e4gg hittades. Prova en annan s\u00f6kning."],"Enable auto-updates":["Aktivera automatiska uppdateringar"],"Disable auto-updates":["Inaktivera automatiska uppdateringar"],"No plugins are currently available.":["Inga till\u00e4gg \u00e4r f\u00f6r n\u00e4rvarande tillg\u00e4ngliga."],"Auto-updates disabled":["Automatiska uppdateringar inaktiverade"],"Auto-updates enabled":["Automatiska uppdateringar aktiverade"],"theme\u0004Activate %s":["Aktivera %s"],"plugin\u0004Network Activate %s":["Aktivera %s p\u00e5 n\u00e4tverket"],"plugin\u0004Activate %s":["Aktivera %s"],"Run Importer":["K\u00f6r import"],"Run %s":["K\u00f6r %s"],"Update failed.":["Uppdatering misslyckades."],"theme\u0004Installed!":["Installerat!"],"Are you sure you want to delete %s?":["\u00c4r du s\u00e4ker p\u00e5 att du vill ta bort %s?"],"Search results for “%s”":["S\u00f6kresultat f\u00f6r ”%s”"],"Network Enable":["Aktivera f\u00f6r n\u00e4tverk"],"Update Now":["Uppdatera nu"],"Installation failed.":["Installation misslyckades."],"You do not appear to have any plugins available at this time.":["Du verkar inte ha n\u00e5gra till\u00e4gg tillg\u00e4ngliga just nu."],"Network Activate":["Aktivera f\u00f6r n\u00e4tverk"],"Install Now":["Installera nu"],"Something went wrong.":["N\u00e5got gick fel."],"Search Results":["S\u00f6kresultat"],"Live Preview":["F\u00f6rhandsgranskning live"],"An error has occurred. Please reload the page and try again.":["Ett fel har uppst\u00e5tt. Ladda om sidan och f\u00f6rs\u00f6k igen."],"Activate":["Aktivera"]}},"comment":{"reference":"wp-admin\/js\/updates.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"The request could not be completed.":["Beg\u00e4ran kunde inte slutf\u00f6ras."],"Disabling...":["Inaktiverar \u2026"],"Enabling...":["Aktiverar \u2026"],"Number of plugins found: %d":["Antal hittade till\u00e4gg: %d"],"Caution: These themes may be active on other sites in the network. Are you sure you want to proceed?":["Varning: Dessa teman kan vara aktiva p\u00e5 andra webbplatser i n\u00e4tverket. \u00c4r du s\u00e4ker p\u00e5 att du vill forts\u00e4tta?"],"Are you sure you want to delete the selected plugins and their data?":["\u00c4r du s\u00e4ker p\u00e5 att du vill ta bort de valda till\u00e4ggen och deras data?"],"Please select at least one item to perform this action on.":["V\u00e4lj minst ett objekt f\u00f6r att utf\u00f6ra den h\u00e4r \u00e5tg\u00e4rden."],"Are you sure you want to delete %s and its data?":["\u00c4r du s\u00e4ker p\u00e5 att du vill ta bort %s och dess data?"],"Update canceled.":["Uppdatering avbruten."],"plugin\u0004Update %s now":["Uppdatera %s nu"],"Updates may not complete if you navigate away from this page.":["Uppdateringar kanske inte slutf\u00f6rs om du navigerar bort fr\u00e5n den h\u00e4r sidan."],"Connection lost or the server is busy. Please try again later.":["F\u00f6rbindelsen br\u00f6ts eller servern kan vara upptagen. F\u00f6rs\u00f6k igen senare."],"Deletion failed: %s":["Borttagning misslyckades: %s"],"theme\u0004Deleted!":["Borttaget!"],"theme\u0004%s installation failed":["Installationen av %s misslyckades"],"theme\u0004Network Activate %s":["Aktivera %s f\u00f6r n\u00e4tverk"],"theme\u0004%s installed!":["%s har installerats!"],"theme\u0004Installing %s...":["Installerar %s\u2026"],"theme\u0004Updated!":["Uppdaterad!"],"Updating... please wait.":["Uppdaterar... v\u00e4nta."],"plugin\u0004Deleted!":["Borttaget!"],"Deleting...":["Tar bort\u2026"],"plugin\u0004Install %s now":["Installera %s nu"],"Importer installed successfully. <a href=\"%s\">Run importer<\/a>":["Import\u00f6ren har installerats. <a href=\"%s\">K\u00f6r import<\/a>"],"plugin\u0004%s installation failed":["Installationen av %s misslyckades"],"Installation failed: %s":["Installationen misslyckades: %s"],"Installation completed successfully.":["Installationen slutf\u00f6rdes utan problem."],"plugin\u0004Installed!":["Installerat!"],"plugin\u0004%s installed!":["%s har installerats!"],"Installing... please wait.":["Installerar... v\u00e4nta."],"plugin\u0004Installing %s...":["Installerar %s\u2026"],"Installing...":["Installerar\u2026"],"plugin\u0004%s update failed.":["Uppdateringen av till\u00e4gget %s misslyckades."],"Update failed: %s":["Uppdatering misslyckades: %s"],"Update completed successfully.":["Uppdateringen slutf\u00f6rdes utan problem."],"plugin\u0004Updated!":["Uppdaterad!"],"plugin\u0004%s updated!":["%s har uppdaterats!"],"Updating...":["Uppdaterar\u2026"],"plugin\u0004Updating %s...":["Uppdaterar %s\u2026"],"No plugins found. Try a different search.":["Inga till\u00e4gg hittades. Prova en annan s\u00f6kning."],"Enable auto-updates":["Aktivera automatiska uppdateringar"],"Disable auto-updates":["Inaktivera automatiska uppdateringar"],"No plugins are currently available.":["Inga till\u00e4gg \u00e4r f\u00f6r n\u00e4rvarande tillg\u00e4ngliga."],"Auto-updates disabled":["Automatiska uppdateringar inaktiverade"],"Auto-updates enabled":["Automatiska uppdateringar aktiverade"],"theme\u0004Activate %s":["Aktivera %s"],"plugin\u0004Network Activate %s":["Aktivera %s p\u00e5 n\u00e4tverket"],"plugin\u0004Activate %s":["Aktivera %s"],"Run Importer":["K\u00f6r import"],"Run %s":["K\u00f6r %s"],"Update failed.":["Uppdatering misslyckades."],"theme\u0004Installed!":["Installerat!"],"Are you sure you want to delete %s?":["\u00c4r du s\u00e4ker p\u00e5 att du vill ta bort %s?"],"Search results for “%s”":["S\u00f6kresultat f\u00f6r ”%s”"],"Network Enable":["Aktivera f\u00f6r n\u00e4tverk"],"Update Now":["Uppdatera nu"],"Installation failed.":["Installation misslyckades."],"You do not appear to have any plugins available at this time.":["Du verkar inte ha n\u00e5gra till\u00e4gg tillg\u00e4ngliga just nu."],"Network Activate":["Aktivera f\u00f6r n\u00e4tverk"],"Install Now":["Installera nu"],"Something went wrong.":["N\u00e5got gick fel."],"Search Results":["S\u00f6kresultat"],"Live Preview":["F\u00f6rhandsgranskning live"],"An error has occurred. Please reload the page and try again.":["Ett fel har uppst\u00e5tt. Ladda om sidan och f\u00f6rs\u00f6k igen."],"Activate":["Aktivera"]}},"comment":{"reference":"wp-admin\/js\/updates.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Annotation":["Beskrivning"]}},"comment":{"reference":"wp-includes\/js\/dist\/annotations.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Annotation":["Beskrivning"]}},"comment":{"reference":"wp-includes\/js\/dist\/annotations.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Notifications":["Aviseringar"]}},"comment":{"reference":"wp-includes\/js\/dist\/a11y.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Notifications":["Aviseringar"]}},"comment":{"reference":"wp-includes\/js\/dist\/a11y.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Menu Item":["Menyval"],"Comment":["Kommentar"],"Widget area":["Widgetomr\u00e5de"],"Site":["Webbplats"],"Post Type":["Posttyp"],"Taxonomy":["Taxonomi"],"Menu Location":["Menyposition","Menypositioner"],"Menu":["Meny"],"User":["Anv\u00e4ndare"],"Site Title":["Webbplatsrubrik"],"Media":["Media"]}},"comment":{"reference":"wp-includes\/js\/dist\/core-data.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Menu Item":["Menyval"],"Comment":["Kommentar"],"Widget area":["Widgetomr\u00e5de"],"Site":["Webbplats"],"Post Type":["Posttyp"],"Taxonomy":["Taxonomi"],"Menu Location":["Menyposition","Menypositioner"],"Menu":["Meny"],"User":["Anv\u00e4ndare"],"Site Title":["Webbplatsrubrik"],"Media":["Media"]}},"comment":{"reference":"wp-includes\/js\/dist\/core-data.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"All site health tests have finished running. There are items that should be addressed, and the results are now available on the page.":["Alla h\u00e4lsokontroller f\u00f6r webbplatsen har nu genomf\u00f6rts. Det finns saker som b\u00f6r \u00e5tg\u00e4rdas och resultaten \u00e4r nu tillg\u00e4ngliga p\u00e5 sidan."],"Should be improved":["B\u00f6r f\u00f6rb\u00e4ttras"],"Good":["Bra"],"%s critical issue":["%s kritiskt problem","%s kritiska problem"],"%s item with no issues detected":["%s objekt utan n\u00e5gra uppt\u00e4ckta problem","%s objekt utan n\u00e5gra uppt\u00e4ckta problem"],"%s recommended improvement":["%s rekommenderad f\u00f6rb\u00e4ttring","%s rekommenderade f\u00f6rb\u00e4ttringar"],"Site information has been copied to your clipboard.":["Information om webbplatsen har kopierats till ditt urklipp."],"All site health tests have finished running. Your site is looking good, and the results are now available on the page.":["Alla h\u00e4lsokontroller f\u00f6r webbplatsen har slutf\u00f6rts. Din webbplats ser bra ut och resultaten \u00e4r nu tillg\u00e4ngliga p\u00e5 sidan."],"All site health tests have finished running.":["Alla h\u00e4lsokontroller f\u00f6r webbplatsen har slutf\u00f6rts."],"Please wait...":["V\u00e4nta ..."]}},"comment":{"reference":"wp-admin\/js\/site-health.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"All site health tests have finished running. There are items that should be addressed, and the results are now available on the page.":["Alla h\u00e4lsokontroller f\u00f6r webbplatsen har nu genomf\u00f6rts. Det finns saker som b\u00f6r \u00e5tg\u00e4rdas och resultaten \u00e4r nu tillg\u00e4ngliga p\u00e5 sidan."],"Should be improved":["B\u00f6r f\u00f6rb\u00e4ttras"],"Good":["Bra"],"%s critical issue":["%s kritiskt problem","%s kritiska problem"],"%s item with no issues detected":["%s objekt utan n\u00e5gra uppt\u00e4ckta problem","%s objekt utan n\u00e5gra uppt\u00e4ckta problem"],"%s recommended improvement":["%s rekommenderad f\u00f6rb\u00e4ttring","%s rekommenderade f\u00f6rb\u00e4ttringar"],"Site information has been copied to your clipboard.":["Information om webbplatsen har kopierats till ditt urklipp."],"All site health tests have finished running. Your site is looking good, and the results are now available on the page.":["Alla h\u00e4lsokontroller f\u00f6r webbplatsen har slutf\u00f6rts. Din webbplats ser bra ut och resultaten \u00e4r nu tillg\u00e4ngliga p\u00e5 sidan."],"All site health tests have finished running.":["Alla h\u00e4lsokontroller f\u00f6r webbplatsen har slutf\u00f6rts."],"Please wait...":["V\u00e4nta ..."]}},"comment":{"reference":"wp-admin\/js\/site-health.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Saving\u2026":["Sparar\u2026"],"Use as featured image":["Anv\u00e4nd som utvald bild"],"Could not set that as the thumbnail image. Try a different attachment.":["Kunde inte ange den som miniatyrbild. F\u00f6rs\u00f6k med en annan bifogad fil."],"Done":["Klart"]}},"comment":{"reference":"wp-admin\/js\/set-post-thumbnail.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Saving\u2026":["Sparar\u2026"],"Use as featured image":["Anv\u00e4nd som utvald bild"],"Could not set that as the thumbnail image. Try a different attachment.":["Kunde inte ange den som miniatyrbild. F\u00f6rs\u00f6k med n\u00e5gon annan bilaga."],"Done":["Klart"]}},"comment":{"reference":"wp-admin\/js\/set-post-thumbnail.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Drag boxes here":["Dra paneler hit"],"Add boxes from the Screen Options menu":["L\u00e4gg till paneler fr\u00e5n menyn \u201dSk\u00e4rmalternativ\u201d"],"The boxes order has been saved.":["Panelernas ordning har sparats."],"The box is on the last position":["Panelen \u00e4r i den sista positionen"],"The box is on the first position":["Panelen \u00e4r i den f\u00f6rsta positionen"]}},"comment":{"reference":"wp-admin\/js\/postbox.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Drag boxes here":["Dra paneler hit"],"Add boxes from the Screen Options menu":["L\u00e4gg till paneler fr\u00e5n menyn \u201dSk\u00e4rmalternativ\u201d"],"The boxes order has been saved.":["Panelernas ordning har sparats."],"The box is on the last position":["Panelen \u00e4r i den sista positionen"],"The box is on the first position":["Panelen \u00e4r i den f\u00f6rsta positionen"]}},"comment":{"reference":"wp-admin\/js\/postbox.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Widget has been added to the selected sidebar":["Widget har lagts till i den valda sidopanelen"],"Saved":["Sparat"],"The changes you made will be lost if you navigate away from this page.":["De \u00e4ndringar du gjort kommer att g\u00e5 f\u00f6rlorade om du navigerar bort fr\u00e5n den h\u00e4r sidan."],"Save":["Spara"]}},"comment":{"reference":"wp-admin\/js\/widgets.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Widget has been added to the selected sidebar":["Widget har lagts till i den valda sidopanelen"],"Saved":["Sparat"],"The changes you made will be lost if you navigate away from this page.":["De \u00e4ndringar du gjort kommer att g\u00e5 f\u00f6rlorade om du navigerar bort fr\u00e5n den h\u00e4r sidan."],"Save":["Spara"]}},"comment":{"reference":"wp-admin\/js\/widgets.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Permalink saved":["Permal\u00e4nk sparad"],"Published on:":["Publicerat den:"],"Publish on:":["Publicera den:"],"Schedule for:":["Tidsinst\u00e4ll f\u00f6r:"],"Saving Draft\u2026":["Sparar utkast\u2026"],"No more comments found.":["Inga fler kommentarer hittades."],"Show more comments":["Visa fler kommentarer"],"post action\/button label\u0004Schedule":["Tidsinst\u00e4ll"],"%1$s %2$s, %3$s at %4$s:%5$s":["%2$s %1$s, %3$s kl. %4$s:%5$s"],"Public, Sticky":["Offentlig, klistrat"],"Privately Published":["Privat publicerad"],"Save as Pending":["Spara som v\u00e4ntande"],"The file URL has been copied to your clipboard":["Filens URL har kopierats till ditt urklipp."],"Could not set that as the thumbnail image. Try a different attachment.":["Kunde inte ange den som miniatyrbild. F\u00f6rs\u00f6k med en annan bifogad fil."],"Password Protected":["L\u00f6senordsskyddat"],"The changes you made will be lost if you navigate away from this page.":["De \u00e4ndringar du gjort kommer att g\u00e5 f\u00f6rlorade om du navigerar bort fr\u00e5n den h\u00e4r sidan."],"Update":["Uppdatera"],"Public":["Offentlig"],"Private":["Privat"],"OK":["OK"],"Save Draft":["Spara utkast"],"Cancel":["Avbryt"],"Publish":["Publicera"],"Published":["Publicerat"]}},"comment":{"reference":"wp-admin\/js\/post.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Permalink saved":["Permal\u00e4nk sparad"],"Published on:":["Publicerat den:"],"Publish on:":["Publicera den:"],"Schedule for:":["Tidsinst\u00e4ll f\u00f6r:"],"Saving Draft\u2026":["Sparar utkast\u2026"],"No more comments found.":["Inga fler kommentarer hittades."],"Show more comments":["Visa fler kommentarer"],"post action\/button label\u0004Schedule":["Tidsinst\u00e4ll"],"%1$s %2$s, %3$s at %4$s:%5$s":["%2$s %1$s, %3$s kl. %4$s:%5$s"],"Public, Sticky":["Offentlig, klistrat"],"Privately Published":["Privat publicerad"],"Save as Pending":["Spara som v\u00e4ntande"],"The file URL has been copied to your clipboard":["Filens URL har kopierats till ditt urklipp."],"Could not set that as the thumbnail image. Try a different attachment.":["Kunde inte ange den som miniatyrbild. F\u00f6rs\u00f6k med n\u00e5gon annan bilaga."],"Password Protected":["L\u00f6senordsskyddat"],"The changes you made will be lost if you navigate away from this page.":["De \u00e4ndringar du gjort kommer att g\u00e5 f\u00f6rlorade om du navigerar bort fr\u00e5n den h\u00e4r sidan."],"Update":["Uppdatera"],"Public":["Offentlig"],"Private":["Privat"],"OK":["OK"],"Save Draft":["Spara utkast"],"Cancel":["Avbryt"],"Publish":["Publicera"],"Published":["Publicerat"]}},"comment":{"reference":"wp-admin\/js\/post.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Are you sure you want to do this?\nThe comment changes you made will be lost.":["\u00c4r du s\u00e4ker p\u00e5 att du vill g\u00f6ra det h\u00e4r?\n\u00c4ndringarna f\u00f6r kommentaren du gjorde kommer att f\u00f6rloras."],"Are you sure you want to edit this comment?\nThe changes you made will be lost.":["\u00c4r du s\u00e4ker p\u00e5 att du vill redigera den h\u00e4r kommentaren? \nDe \u00e4ndringar du har gjort kommer att f\u00f6rloras."],"Approve and Reply":["Godk\u00e4nn och svara"],"Comments (%s)":["Kommentarer (%s)"],"Reply":["Svara"],"Comments":["Kommentarer"]}},"comment":{"reference":"wp-admin\/js\/edit-comments.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Are you sure you want to do this?\nThe comment changes you made will be lost.":["\u00c4r du s\u00e4ker p\u00e5 att du vill g\u00f6ra det h\u00e4r?\n\u00c4ndringarna f\u00f6r kommentaren du gjorde kommer att f\u00f6rloras."],"Are you sure you want to edit this comment?\nThe changes you made will be lost.":["\u00c4r du s\u00e4ker p\u00e5 att du vill redigera den h\u00e4r kommentaren? \nDe \u00e4ndringar du har gjort kommer att f\u00f6rloras."],"Approve and Reply":["Godk\u00e4nn och svara"],"Comments (%s)":["Kommentarer (%s)"],"Reply":["Svara"],"Comments":["Kommentarer"]}},"comment":{"reference":"wp-admin\/js\/edit-comments.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Inline Code":["Programkod inline"],"Link edited.":["L\u00e4nk redigerad."],"Link removed.":["L\u00e4nk borttagen."],"Inline image":["Bild inlagd i texten"],"media":["media"],"photo":["foto"],"Warning: the link has been inserted but may have errors. Please test it.":["Varning: l\u00e4nken har infogats men kan ha fel. Testa den."],"Link inserted.":["L\u00e4nk infogad."],"Text Color":["Textf\u00e4rg"],"Link":["L\u00e4nk"],"Superscript":["Upph\u00f6jd text"],"Subscript":["Neds\u00e4nkt text"],"Unlink":["Ta bort l\u00e4nkning"],"Strikethrough":["Genomstruken"],"Underline":["Understreck"],"Italic":["Kursiv"],"Bold":["Fet"],"Width":["Bredd"],"Apply":["Verkst\u00e4ll"]}},"comment":{"reference":"wp-includes\/js\/dist\/format-library.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Inline Code":["Programkod inline"],"Link edited.":["L\u00e4nk redigerad."],"Link removed.":["L\u00e4nk borttagen."],"Inline image":["Bild inlagd i texten"],"media":["media"],"photo":["foto"],"Warning: the link has been inserted but may have errors. Please test it.":["Varning: l\u00e4nken har infogats men kan ha fel. Testa den."],"Link inserted.":["L\u00e4nk infogad."],"Text Color":["Textf\u00e4rg"],"Link":["L\u00e4nk"],"Superscript":["Upph\u00f6jd text"],"Subscript":["Neds\u00e4nkt text"],"Unlink":["Ta bort l\u00e4nkning"],"Strikethrough":["Genomstruken"],"Underline":["Understreck"],"Italic":["Kursiv"],"Bold":["Fet"],"Width":["Bredd"],"Apply":["Verkst\u00e4ll"]}},"comment":{"reference":"wp-includes\/js\/dist\/format-library.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"An error has occurred. Please reload the page and try again.":["Ett fel har uppst\u00e5tt. Ladda om sidan och f\u00f6rs\u00f6k igen."]}},"comment":{"reference":"wp-admin\/js\/media.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"An error has occurred. Please reload the page and try again.":["Ett fel har uppst\u00e5tt. Ladda om sidan och f\u00f6rs\u00f6k igen."]}},"comment":{"reference":"wp-admin\/js\/media.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Plugin details":["Detaljer f\u00f6r till\u00e4gg"],"Plugin: %s":["Till\u00e4gg: %s"]}},"comment":{"reference":"wp-admin\/js\/plugin-install.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Plugin details":["Detaljer f\u00f6r till\u00e4gg"],"Plugin: %s":["Till\u00e4gg: %s"]}},"comment":{"reference":"wp-admin\/js\/plugin-install.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"%1$s is deprecated since version %2$s with no alternative available.":["Egenskapen %1$s \u00e4r markerad som f\u00f6r\u00e5ldrad sedan version %2$s utan n\u00e5got ers\u00e4ttningsalternativ."],"%1$s is deprecated since version %2$s! Use %3$s instead.":["Egenskapen %1$s \u00e4r markerad som f\u00f6r\u00e5ldrad sedan version %2$s! Anv\u00e4nd %3$s i st\u00e4llet."],"Expand Main menu":["Expandera huvudmenyn"],"Dismiss this notice.":["Avf\u00e4rda denna notis."],"You are about to permanently delete these items from your site.\nThis action cannot be undone.\n'Cancel' to stop, 'OK' to delete.":["Du h\u00e5ller p\u00e5 att ta bort dessa objekt permanent fr\u00e5n din webbplats.\nDenna \u00e5tg\u00e4rd kan inte \u00e5ngras.\n\u201dAvbryt\u201d f\u00f6r att stoppa, \u201dOK\u201d f\u00f6r att ta bort."],"Collapse Main menu":["Minimera huvudmenyn"]}},"comment":{"reference":"wp-admin\/js\/common.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"%1$s is deprecated since version %2$s with no alternative available.":["Egenskapen %1$s \u00e4r markerad som f\u00f6r\u00e5ldrad sedan version %2$s utan n\u00e5got ers\u00e4ttningsalternativ."],"%1$s is deprecated since version %2$s! Use %3$s instead.":["Egenskapen %1$s \u00e4r markerad som f\u00f6r\u00e5ldrad sedan version %2$s! Anv\u00e4nd %3$s i st\u00e4llet."],"Expand Main menu":["Expandera huvudmenyn"],"Dismiss this notice.":["Avf\u00e4rda denna notis."],"You are about to permanently delete these items from your site.\nThis action cannot be undone.\n'Cancel' to stop, 'OK' to delete.":["Du h\u00e5ller p\u00e5 att ta bort dessa objekt permanent fr\u00e5n din webbplats.\nDenna \u00e5tg\u00e4rd kan inte \u00e5ngras.\n\u201dAvbryt\u201d f\u00f6r att stoppa, \u201dOK\u201d f\u00f6r att ta bort."],"Collapse Main menu":["Minimera huvudmenyn"]}},"comment":{"reference":"wp-admin\/js\/common.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Something went wrong.":["N\u00e5got gick fel."],"Sorry, you are not allowed to do that.":["Du saknar beh\u00f6righet f\u00f6r att g\u00f6ra detta."]}},"comment":{"reference":"wp-admin\/js\/tags.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Something went wrong.":["N\u00e5got gick fel."],"Sorry, you are not allowed to do that.":["Du saknar beh\u00f6righet f\u00f6r att g\u00f6ra detta."]}},"comment":{"reference":"wp-admin\/js\/tags.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Term selected.":["Term vald."],"tag delimiter\u0004,":[","]}},"comment":{"reference":"wp-admin\/js\/tags-suggest.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Term selected.":["Term vald."],"tag delimiter\u0004,":[","]}},"comment":{"reference":"wp-admin\/js\/tags-suggest.js"}}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"The file URL has been copied to your clipboard":["Filens URL har kopierats till ditt urklipp."],"%s item selected":["%s objekt valt","%s objekt valda"]}},"comment":{"reference":"wp-includes\/js\/media-views.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"The file URL has been copied to your clipboard":["Filens URL har kopierats till ditt urklipp."],"%s item selected":["%s objekt valt","%s objekt valda"]}},"comment":{"reference":"wp-includes\/js\/media-views.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Your new password has not been saved.":["Ditt nya l\u00f6senord har inte sparats."],"Hide":["G\u00f6m"],"Show":["Visa"],"Confirm use of weak password":["Bekr\u00e4fta anv\u00e4ndning av svagt l\u00f6senord"],"Hide password":["D\u00f6lj l\u00f6senord"],"Show password":["Visa l\u00f6senord"]}},"comment":{"reference":"wp-admin\/js\/user-profile.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Your new password has not been saved.":["Ditt nya l\u00f6senord har inte sparats."],"Hide":["G\u00f6m"],"Show":["Visa"],"Confirm use of weak password":["Bekr\u00e4fta anv\u00e4ndning av svagt l\u00f6senord"],"Hide password":["D\u00f6lj l\u00f6senord"],"Show password":["Visa l\u00f6senord"]}},"comment":{"reference":"wp-admin\/js\/user-profile.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"There is %s error which must be fixed before you can update this file.":["Det finns %s fel som m\u00e5ste \u00e5tg\u00e4rdas innan du kan uppdatera den h\u00e4r filen.","Det finns %s fel som m\u00e5ste \u00e5tg\u00e4rdas innan du kan uppdatera den h\u00e4r filen."],"Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over FTP.":["N\u00e5got gick fel. Din \u00e4ndring kanske inte har sparats. F\u00f6rs\u00f6k igen. Eventuellt kan du beh\u00f6va \u00e5tg\u00e4rda och ladda upp filen manuellt via FTP."],"The changes you made will be lost if you navigate away from this page.":["De \u00e4ndringar du gjort kommer att g\u00e5 f\u00f6rlorade om du navigerar bort fr\u00e5n den h\u00e4r sidan."]}},"comment":{"reference":"wp-admin\/js\/theme-plugin-editor.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"There is %s error which must be fixed before you can update this file.":["Det finns %s fel som m\u00e5ste \u00e5tg\u00e4rdas innan du kan uppdatera den h\u00e4r filen.","Det finns %s fel som m\u00e5ste \u00e5tg\u00e4rdas innan du kan uppdatera den h\u00e4r filen."],"Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over FTP.":["N\u00e5got gick fel. Din \u00e4ndring kanske inte har sparats. F\u00f6rs\u00f6k igen. Eventuellt kan du beh\u00f6va \u00e5tg\u00e4rda och ladda upp filen manuellt via FTP."],"The changes you made will be lost if you navigate away from this page.":["De \u00e4ndringar du gjort kommer att g\u00e5 f\u00f6rlorade om du navigerar bort fr\u00e5n den h\u00e4r sidan."]}},"comment":{"reference":"wp-admin\/js\/theme-plugin-editor.js"}}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Your session has expired. You can log in again from this page or go to the login page.":["Din session har g\u00e5tt ut. Du kan logga in igen fr\u00e5n den h\u00e4r sidan eller g\u00e5 till inloggningssidan."]}},"comment":{"reference":"wp-includes\/js\/wp-auth-check.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Your session has expired. You can log in again from this page or go to the login page.":["Din session har g\u00e5tt ut. Du kan logga in igen fr\u00e5n den h\u00e4r sidan eller g\u00e5 till inloggningssidan."]}},"comment":{"reference":"wp-includes\/js\/wp-auth-check.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"The following block has been added to your site.":["F\u00f6ljande block har lagts till p\u00e5 din webbplats.","F\u00f6ljande block har lagts till p\u00e5 din webbplats."],"Added: %d block":["Lagt till: %d block","Lagt till: %d block"],"Reload":["Ladda om"],"Adding\u2026":["L\u00e4gger till …"],"This author has %1$d block.":["Denna f\u00f6rfattare har %1$d block.","Denna f\u00f6rfattare har %1$d block."],"Error installing block. You can reload the page and try again.":["Fel vid installation av block. Du kan ladda om sidan och prova igen."],"This block is already installed. Try reloading the page.":["Det h\u00e4r blocket \u00e4r redan installerat. Prova ladda om sidan."],"An error occurred.":["Ett fel uppstod."],"Error registering block. Try reloading the page.":["Fel vid registrering av block. Prova ladda om sidan."],"%s block icon":["ikon f\u00f6r blocket %s"],"No blocks found in your library. These blocks can be downloaded and installed:":["Inga block hittades i ditt bibliotek. Dessa block kan laddas ner och installeras:"],"No blocks found in your library. We did find %d block available for download.":["Inga block hittades i ditt bibliotek. Vi hittade %d block tillg\u00e4ngligt f\u00f6r nedladdning.","Inga block hittades i ditt bibliotek. Vi hittade %d block tillg\u00e4ngliga f\u00f6r nedladdning."],"No blocks found in your library.":["Inga block hittades i ditt bibliotek."],"Retry":["F\u00f6rs\u00f6k igen"],"%d active installation":["%d aktiv installation","%d aktiva installationer"],"This author has %1$d block, with an average rating of %2$d.":["Denna f\u00f6rfattare har %1$d block, med ett genomsnittligt betyg p\u00e5 %2$d.","Denna f\u00f6rfattare har %1$d block, med ett genomsnittligt betyg p\u00e5 %2$d."],"Authored by %s":["F\u00f6rfattad av %s"],"%d total rating":["Totalt %d recension","Totalt %d recensioner"],"%s out of 5 stars":["%s av 5 stj\u00e4rnor"],"Add block":["L\u00e4gg till block"],"Updated %s":["Uppdaterade %s"],"By %s":["Av %s"]}},"comment":{"reference":"wp-includes\/js\/dist\/block-directory.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"The following block has been added to your site.":["F\u00f6ljande block har lagts till p\u00e5 din webbplats.","F\u00f6ljande block har lagts till p\u00e5 din webbplats."],"Added: %d block":["Lagt till: %d block","Lagt till: %d block"],"Reload":["Ladda om"],"Adding\u2026":["L\u00e4gger till …"],"This author has %1$d block.":["Denna f\u00f6rfattare har %1$d block.","Denna f\u00f6rfattare har %1$d block."],"Error installing block. You can reload the page and try again.":["Fel vid installation av block. Du kan ladda om sidan och prova igen."],"This block is already installed. Try reloading the page.":["Det h\u00e4r blocket \u00e4r redan installerat. Prova ladda om sidan."],"An error occurred.":["Ett fel uppstod."],"Error registering block. Try reloading the page.":["Fel vid registrering av block. Prova ladda om sidan."],"%s block icon":["ikon f\u00f6r blocket %s"],"No blocks found in your library. These blocks can be downloaded and installed:":["Inga block hittades i ditt bibliotek. Dessa block kan laddas ner och installeras:"],"No blocks found in your library. We did find %d block available for download.":["Inga block hittades i ditt bibliotek. Vi hittade %d block tillg\u00e4ngligt f\u00f6r nedladdning.","Inga block hittades i ditt bibliotek. Vi hittade %d block tillg\u00e4ngliga f\u00f6r nedladdning."],"No blocks found in your library.":["Inga block hittades i ditt bibliotek."],"Retry":["F\u00f6rs\u00f6k igen"],"%d active installation":["%d aktiv installation","%d aktiva installationer"],"This author has %1$d block, with an average rating of %2$d.":["Denna f\u00f6rfattare har %1$d block, med ett genomsnittligt betyg p\u00e5 %2$d.","Denna f\u00f6rfattare har %1$d block, med ett genomsnittligt betyg p\u00e5 %2$d."],"Authored by %s":["F\u00f6rfattad av %s"],"%d total rating":["Totalt %d recension","Totalt %d recensioner"],"%s out of 5 stars":["%s av 5 stj\u00e4rnor"],"Add block":["L\u00e4gg till block"],"Updated %s":["Uppdaterade %s"],"By %s":["Av %s"]}},"comment":{"reference":"wp-includes\/js\/dist\/block-directory.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Remove From Bulk Edit":["Ta bort fr\u00e5n massredigering"],"Error while saving the changes.":["Fel vid sparande av \u00e4ndringar."],"Changes saved.":["\u00c4ndringar sparade."],"tag delimiter\u0004,":[","],"(no title)":["(utan rubrik)"]}},"comment":{"reference":"wp-admin\/js\/inline-edit-post.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Remove From Bulk Edit":["Ta bort fr\u00e5n massredigering"],"Error while saving the changes.":["Fel vid sparande av \u00e4ndringar."],"Changes saved.":["\u00c4ndringar sparade."],"tag delimiter\u0004,":[","],"(no title)":["(utan rubrik)"]}},"comment":{"reference":"wp-admin\/js\/inline-edit-post.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Clear color":["Rensa f\u00e4rg"],"Select default color":["V\u00e4lj standardf\u00e4rg"],"Color value":["F\u00e4rgv\u00e4rde"],"Select Color":["V\u00e4lj f\u00e4rg"],"Clear":["Rensa"],"Default":["Standard"]}},"comment":{"reference":"wp-admin\/js\/color-picker.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Clear color":["Rensa f\u00e4rg"],"Select default color":["V\u00e4lj standardf\u00e4rg"],"Color value":["F\u00e4rgv\u00e4rde"],"Select Color":["V\u00e4lj f\u00e4rg"],"Clear":["Rensa"],"Default":["Standard"]}},"comment":{"reference":"wp-admin\/js\/color-picker.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Term added.":["Term tillagd."],"Term removed.":["Term borttagen."],"Remove term:":["Ta bort term:"],"tag delimiter\u0004,":[","]}},"comment":{"reference":"wp-admin\/js\/tags-box.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Term added.":["Term tillagd."],"Term removed.":["Term borttagen."],"Remove term:":["Ta bort term:"],"tag delimiter\u0004,":[","]}},"comment":{"reference":"wp-admin\/js\/tags-box.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Backtick":["Backtick (`)"],"Period":["Punkt"],"Comma":["Komma"]}},"comment":{"reference":"wp-includes\/js\/dist\/keycodes.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Backtick":["Backtick (`)"],"Period":["Punkt"],"Comma":["Komma"]}},"comment":{"reference":"wp-includes\/js\/dist\/keycodes.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"You are about to permanently delete this menu.\n'Cancel' to stop, 'OK' to delete.":["Du \u00e4r p\u00e5 v\u00e4g att ta bort denna meny permanent.\n\u201dAvbryt\u201d f\u00f6r att stoppa, \u201dOK\u201d f\u00f6r att ta bort."],"missing menu item navigation label\u0004(no label)":["(saknar etikett)"],"The changes you made will be lost if you navigate away from this page.":["De \u00e4ndringar du gjort kommer att g\u00e5 f\u00f6rlorade om du navigerar bort fr\u00e5n den h\u00e4r sidan."],"No results found.":["Inga resultat hittades."]}},"comment":{"reference":"wp-admin\/js\/nav-menu.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"You are about to permanently delete this menu.\n'Cancel' to stop, 'OK' to delete.":["Du \u00e4r p\u00e5 v\u00e4g att ta bort denna meny permanent.\n\u201dAvbryt\u201d f\u00f6r att stoppa, \u201dOK\u201d f\u00f6r att ta bort."],"missing menu item navigation label\u0004(no label)":["(saknar etikett)"],"The changes you made will be lost if you navigate away from this page.":["De \u00e4ndringar du gjort kommer att g\u00e5 f\u00f6rlorade om du navigerar bort fr\u00e5n den h\u00e4r sidan."],"No results found.":["Inga resultat hittades."]}},"comment":{"reference":"wp-admin\/js\/nav-menu.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"text direction\u0004ltr":["ltr"]}},"comment":{"reference":"wp-includes\/js\/dist\/i18n.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"text direction\u0004ltr":["ltr"]}},"comment":{"reference":"wp-includes\/js\/dist\/i18n.js"}}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Dismiss":["Avf\u00e4rda"]}},"comment":{"reference":"wp-includes\/js\/wp-pointer.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Dismiss":["Avf\u00e4rda"]}},"comment":{"reference":"wp-includes\/js\/wp-pointer.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-10-18 20:59:33+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Error while saving the changes.":["Fel vid sparande av \u00e4ndringar."],"Changes saved.":["\u00c4ndringar sparade."]}},"comment":{"reference":"wp-admin\/js\/inline-edit-tax.js"}}
|
||||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Error while saving the changes.":["Fel vid sparande av \u00e4ndringar."],"Changes saved.":["\u00c4ndringar sparade."]}},"comment":{"reference":"wp-admin\/js\/inline-edit-tax.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Select or Upload Media":["V\u00e4lj eller ladda upp media"],"Error while uploading file %s to the media library.":["Ett fel intr\u00e4ffade n\u00e4r filen %s laddades upp till mediabiblioteket."],"This file is empty.":["Filen \u00e4r tom."],"Sorry, this file type is not supported here.":["Denna filtyp st\u00f6ds inte h\u00e4r."],"Sorry, this file type is not permitted for security reasons.":["Denna filtyp \u00e4r inte till\u00e5ten av s\u00e4kerhetssk\u00e4l."],"This file exceeds the maximum upload size for this site.":["Filen \u00f6verskrider den maximala storleken f\u00f6r filuppladdningar p\u00e5 denna webbplats."]}},"comment":{"reference":"wp-includes\/js\/dist\/media-utils.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Select or Upload Media":["V\u00e4lj eller ladda upp media"],"Error while uploading file %s to the media library.":["Ett fel intr\u00e4ffade n\u00e4r filen %s laddades upp till mediabiblioteket."],"This file is empty.":["Filen \u00e4r tom."],"Sorry, this file type is not supported here.":["Denna filtyp st\u00f6ds inte h\u00e4r."],"Sorry, this file type is not permitted for security reasons.":["Denna filtyp \u00e4r inte till\u00e5ten av s\u00e4kerhetssk\u00e4l."],"This file exceeds the maximum upload size for this site.":["Filen \u00f6verskrider den maximala storleken f\u00f6r filuppladdningar p\u00e5 denna webbplats."]}},"comment":{"reference":"wp-includes\/js\/dist\/media-utils.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Block rendered as empty.":["Blocket \u00e5terges som tomt."],"Error loading block: %s":["Ett fel intr\u00e4ffade vid laddning av block: %s"]}},"comment":{"reference":"wp-includes\/js\/dist\/server-side-render.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Block rendered as empty.":["Blocket \u00e5terges som tomt."],"Error loading block: %s":["Ett fel intr\u00e4ffade vid laddning av block: %s"]}},"comment":{"reference":"wp-includes\/js\/dist\/server-side-render.js"}}
|
||||
|
|
@ -0,0 +1 @@
|
|||
{"translation-revision-date":"2020-11-06 11:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Events widget offset prefix\u0004GMT":["GMT"],"%1$s %2$d \u2013 %3$s %4$d, %5$d":["%2$d %1$s \u2013 %4$d %3$s %5$d"],"upcoming events year format\u0004Y":["Y"],"upcoming events day format\u0004j":["j"],"%1$s %2$d\u2013%3$d, %4$d":["%2$d\u2013%3$d %1$s %4$d"],"upcoming events month format\u0004F":["F"],"l, M j, Y":["D j M Y"]}},"comment":{"reference":"wp-admin\/js\/dashboard.js"}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-09-29 10:47:57+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Could not set that as the thumbnail image. Try a different attachment.":["Kunde inte ange den som miniatyrbild. F\u00f6rs\u00f6k med en annan bifogad fil."]}},"comment":{"reference":"wp-includes\/js\/media-editor.js"}}
|
||||
{"translation-revision-date":"2020-10-29 21:46:36+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"Could not set that as the thumbnail image. Try a different attachment.":["Kunde inte ange den som miniatyrbild. F\u00f6rs\u00f6k med n\u00e5gon annan bilaga."]}},"comment":{"reference":"wp-includes\/js\/media-editor.js"}}
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
|
@ -42,4 +42,20 @@ class Requests_Utility_FilteredIterator extends ArrayIterator {
|
|||
$value = call_user_func($this->callback, $value);
|
||||
return $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function unserialize( $serialized ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function __unserialize( $serialized ) { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.MethodDoubleUnderscore,PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__unserializeFound
|
||||
}
|
||||
|
||||
public function __wakeup() { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.MethodDoubleUnderscore,PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__wakeupFound
|
||||
unset( $this->callback );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -72,7 +72,6 @@ class WP_oEmbed {
|
|||
'#https?://(www\.)?twitter\.com/i/moments/.*#i' => array( 'https://publish.twitter.com/oembed', true ),
|
||||
'#https?://(www\.)?soundcloud\.com/.*#i' => array( 'https://soundcloud.com/oembed', true ),
|
||||
'#https?://(.+?\.)?slideshare\.net/.*#i' => array( 'https://www.slideshare.net/api/oembed/2', true ),
|
||||
'#https?://(www\.)?instagr(\.am|am\.com)/(p|tv)/.*#i' => array( 'https://api.instagram.com/oembed', true ),
|
||||
'#https?://(open|play)\.spotify\.com/.*#i' => array( 'https://embed.spotify.com/oembed/', true ),
|
||||
'#https?://(.+\.)?imgur\.com/.*#i' => array( 'https://api.imgur.com/oembed', true ),
|
||||
'#https?://(www\.)?meetu(\.ps|p\.com)/.*#i' => array( 'https://api.meetup.com/oembed', true ),
|
||||
|
|
@ -88,16 +87,6 @@ class WP_oEmbed {
|
|||
'#https?://videopress\.com/v/.*#' => array( 'https://public-api.wordpress.com/oembed/?for=' . $host, true ),
|
||||
'#https?://(www\.)?reddit\.com/r/[^/]+/comments/.*#i' => array( 'https://www.reddit.com/oembed', true ),
|
||||
'#https?://(www\.)?speakerdeck\.com/.*#i' => array( 'https://speakerdeck.com/oembed.{format}', true ),
|
||||
'#https?://www\.facebook\.com/.*/posts/.*#i' => array( 'https://www.facebook.com/plugins/post/oembed.json/', true ),
|
||||
'#https?://www\.facebook\.com/.*/activity/.*#i' => array( 'https://www.facebook.com/plugins/post/oembed.json/', true ),
|
||||
'#https?://www\.facebook\.com/.*/photos/.*#i' => array( 'https://www.facebook.com/plugins/post/oembed.json/', true ),
|
||||
'#https?://www\.facebook\.com/photo(s/|\.php).*#i' => array( 'https://www.facebook.com/plugins/post/oembed.json/', true ),
|
||||
'#https?://www\.facebook\.com/permalink\.php.*#i' => array( 'https://www.facebook.com/plugins/post/oembed.json/', true ),
|
||||
'#https?://www\.facebook\.com/media/.*#i' => array( 'https://www.facebook.com/plugins/post/oembed.json/', true ),
|
||||
'#https?://www\.facebook\.com/questions/.*#i' => array( 'https://www.facebook.com/plugins/post/oembed.json/', true ),
|
||||
'#https?://www\.facebook\.com/notes/.*#i' => array( 'https://www.facebook.com/plugins/post/oembed.json/', true ),
|
||||
'#https?://www\.facebook\.com/.*/videos/.*#i' => array( 'https://www.facebook.com/plugins/video/oembed.json/', true ),
|
||||
'#https?://www\.facebook\.com/video\.php.*#i' => array( 'https://www.facebook.com/plugins/video/oembed.json/', true ),
|
||||
'#https?://(www\.)?screencast\.com/.*#i' => array( 'https://api.screencast.com/external/oembed', true ),
|
||||
'#https?://([a-z0-9-]+\.)?amazon\.(com|com\.mx|com\.br|ca)/.*#i' => array( 'https://read.amazon.com/kp/api/oembed', true ),
|
||||
'#https?://([a-z0-9-]+\.)?amazon\.(co\.uk|de|fr|it|es|in|nl|ru)/.*#i' => array( 'https://read.amazon.co.uk/kp/api/oembed', true ),
|
||||
|
|
@ -150,8 +139,6 @@ class WP_oEmbed {
|
|||
* | SmugMug | smugmug.com | 3.0.0 |
|
||||
* | YouTube | youtu.be | 3.0.0 |
|
||||
* | Twitter | twitter.com | 3.4.0 |
|
||||
* | Instagram | instagram.com | 3.5.0 |
|
||||
* | Instagram | instagr.am | 3.5.0 |
|
||||
* | Slideshare | slideshare.net | 3.5.0 |
|
||||
* | SoundCloud | soundcloud.com | 3.5.0 |
|
||||
* | Dailymotion | dai.ly | 3.6.0 |
|
||||
|
|
@ -177,7 +164,6 @@ class WP_oEmbed {
|
|||
* | Speaker Deck | speakerdeck.com | 4.4.0 |
|
||||
* | Twitter | twitter.com/timelines | 4.5.0 |
|
||||
* | Twitter | twitter.com/moments | 4.5.0 |
|
||||
* | Facebook | facebook.com | 4.7.0 |
|
||||
* | Twitter | twitter.com/user | 4.7.0 |
|
||||
* | Twitter | twitter.com/likes | 4.7.0 |
|
||||
* | Twitter | twitter.com/lists | 4.7.0 |
|
||||
|
|
@ -192,8 +178,6 @@ class WP_oEmbed {
|
|||
* | Someecards | someecards.com | 4.9.0 |
|
||||
* | Someecards | some.ly | 4.9.0 |
|
||||
* | Crowdsignal | survey.fm | 5.1.0 |
|
||||
* | Instagram TV | instagram.com | 5.1.0 |
|
||||
* | Instagram TV | instagr.am | 5.1.0 |
|
||||
* | TikTok | tiktok.com | 5.4.0 |
|
||||
*
|
||||
* No longer supported providers:
|
||||
|
|
@ -211,6 +195,11 @@ class WP_oEmbed {
|
|||
* | Funny or Die | funnyordie.com | 3.0.0 | 5.1.0 |
|
||||
* | CollegeHumor | collegehumor.com | 4.0.0 | 5.3.1 |
|
||||
* | Hulu | hulu.com | 2.9.0 | 5.5.0 |
|
||||
* | Instagram | instagram.com | 3.5.0 | 5.5.2 |
|
||||
* | Instagram | instagr.am | 3.5.0 | 5.5.2 |
|
||||
* | Instagram TV | instagram.com | 5.1.0 | 5.5.2 |
|
||||
* | Instagram TV | instagr.am | 5.1.0 | 5.5.2 |
|
||||
* | Facebook | facebook.com | 4.7.0 | 5.5.2 |
|
||||
*
|
||||
* @see wp_oembed_add_provider()
|
||||
*
|
||||
|
|
|
|||
|
|
@ -3875,6 +3875,21 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||
return new IXR_Error( 403, __( 'Sorry, comments are closed for this item.' ) );
|
||||
}
|
||||
|
||||
if (
|
||||
'publish' === get_post_status( $post_id ) &&
|
||||
! current_user_can( 'edit_post', $post_id ) &&
|
||||
post_password_required( $post_id )
|
||||
) {
|
||||
return new IXR_Error( 403, __( 'Sorry, you are not allowed to comment on this post.' ) );
|
||||
}
|
||||
|
||||
if (
|
||||
'private' === get_post_status( $post_id ) &&
|
||||
! current_user_can( 'read_post', $post_id )
|
||||
) {
|
||||
return new IXR_Error( 403, __( 'Sorry, you are not allowed to comment on this post.' ) );
|
||||
}
|
||||
|
||||
if ( empty( $content_struct['content'] ) ) {
|
||||
return new IXR_Error( 403, __( 'Comment is required.' ) );
|
||||
}
|
||||
|
|
@ -3912,7 +3927,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||
$comment['user_ID'] = 0;
|
||||
|
||||
if ( get_option( 'require_name_email' ) ) {
|
||||
if ( strlen( $comment['comment_author_email'] < 6 ) || '' === $comment['comment_author'] ) {
|
||||
if ( strlen( $comment['comment_author_email'] ) < 6 || '' === $comment['comment_author'] ) {
|
||||
return new IXR_Error( 403, __( 'Comment author name and email are required.' ) );
|
||||
} elseif ( ! is_email( $comment['comment_author_email'] ) ) {
|
||||
return new IXR_Error( 403, __( 'A valid email address is required.' ) );
|
||||
|
|
@ -4292,7 +4307,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||
do_action( 'xmlrpc_call', 'wp.getMediaItem' );
|
||||
|
||||
$attachment = get_post( $attachment_id );
|
||||
if ( ! $attachment ) {
|
||||
if ( ! $attachment || 'attachment' !== $attachment->post_type ) {
|
||||
return new IXR_Error( 404, __( 'Invalid attachment ID.' ) );
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2480,7 +2480,7 @@ function comment_form( $args = array(), $post_id = null ) {
|
|||
*/
|
||||
$args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) );
|
||||
|
||||
// Ensure that the filtered args contain all required default values.
|
||||
// Ensure that the filtered arguments contain all required default values.
|
||||
$args = array_merge( $defaults, $args );
|
||||
|
||||
// Remove `aria-describedby` from the email field if there's no associated description.
|
||||
|
|
|
|||
|
|
@ -485,7 +485,7 @@
|
|||
min-width: 24px;
|
||||
width: 24px; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg {
|
||||
margin-top: 3px; }
|
||||
margin-top: 2px; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-down-button svg {
|
||||
margin-bottom: 3px; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button:focus::before {
|
||||
|
|
@ -703,7 +703,8 @@
|
|||
|
||||
.block-editor-block-draggable-chip-wrapper {
|
||||
position: absolute;
|
||||
top: -60px; }
|
||||
top: -24px;
|
||||
right: 0; }
|
||||
|
||||
.block-editor-block-draggable-chip {
|
||||
background-color: #1e1e1e;
|
||||
|
|
@ -761,30 +762,42 @@
|
|||
.block-editor-block-mover-button.has-icon {
|
||||
padding: 0; }
|
||||
|
||||
.block-editor-block-mover .components-toolbar-group,
|
||||
.block-editor-block-mover .block-editor-block-mover__move-button-container,
|
||||
.block-editor-block-mover .components-toolbar {
|
||||
flex: 1;
|
||||
flex-direction: row; }
|
||||
flex-direction: row;
|
||||
border-left: none !important; }
|
||||
@media (min-width: 600px) {
|
||||
.block-editor-block-mover .components-toolbar-group,
|
||||
.block-editor-block-mover .block-editor-block-mover__move-button-container,
|
||||
.block-editor-block-mover .components-toolbar {
|
||||
flex-direction: column; } }
|
||||
|
||||
.block-editor-block-mover.is-horizontal .components-toolbar-group,
|
||||
.block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container,
|
||||
.block-editor-block-mover.is-horizontal .components-toolbar {
|
||||
flex-direction: row; }
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.block-editor-block-mover .block-editor-block-mover-button {
|
||||
padding: 0 !important;
|
||||
height: 24px;
|
||||
width: 48px; } }
|
||||
width: 42px;
|
||||
padding-left: 11px !important;
|
||||
padding-right: 6px !important;
|
||||
min-width: 42px !important; } }
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.block-editor-block-mover .block-editor-block-mover-button::before {
|
||||
right: 8px !important;
|
||||
left: 8px !important; } }
|
||||
|
||||
.block-editor-block-mover .block-editor-block-mover__drag-handle {
|
||||
width: 24px;
|
||||
cursor: grab;
|
||||
min-width: 24px !important;
|
||||
padding: 0 !important; }
|
||||
.block-editor-block-mover .block-editor-block-mover__drag-handle:focus::before {
|
||||
right: 0 !important;
|
||||
left: 0 !important; }
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button svg,
|
||||
.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button svg {
|
||||
|
|
@ -1148,6 +1161,9 @@
|
|||
.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon {
|
||||
margin: auto; }
|
||||
|
||||
.block-editor-block-switcher__popover {
|
||||
margin-right: 6px; }
|
||||
|
||||
.components-button.block-editor-block-switcher__no-switcher-icon {
|
||||
width: 48px; }
|
||||
.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-blocks-icon {
|
||||
|
|
@ -1160,28 +1176,24 @@
|
|||
.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors {
|
||||
color: #1e1e1e !important; }
|
||||
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon,
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon {
|
||||
padding: 0; }
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
align-items: center; }
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before {
|
||||
top: 8px;
|
||||
left: 8px;
|
||||
bottom: 8px;
|
||||
right: 8px; }
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
align-items: center; }
|
||||
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before {
|
||||
top: 8px;
|
||||
left: 8px;
|
||||
bottom: 8px;
|
||||
right: 8px; }
|
||||
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content {
|
||||
min-width: 300px; }
|
||||
|
|
@ -2288,6 +2300,19 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|||
.block-editor-block-toolbar > :last-child .components-toolbar {
|
||||
border-left: none; }
|
||||
|
||||
.block-editor-block-toolbar__block-controls {
|
||||
height: auto !important;
|
||||
padding: 0 !important; }
|
||||
.block-editor-block-toolbar__block-controls .block-editor-block-switcher .components-dropdown-menu__toggle .block-editor-block-icon,
|
||||
.block-editor-block-toolbar__block-controls .block-editor-block-switcher__no-switcher-icon .block-editor-block-icon {
|
||||
width: 24px !important;
|
||||
margin: 0 !important; }
|
||||
.block-editor-block-toolbar__block-controls .block-editor-block-switcher .components-dropdown-menu__toggle:focus::before,
|
||||
.block-editor-block-toolbar__block-controls .block-editor-block-switcher__no-switcher-icon:focus::before {
|
||||
left: 4px !important; }
|
||||
.block-editor-block-toolbar__block-controls .block-editor-block-mover {
|
||||
margin-right: -6px; }
|
||||
|
||||
.block-editor-block-toolbar .components-toolbar-group,
|
||||
.block-editor-block-toolbar .components-toolbar,
|
||||
.block-editor-format-toolbar .components-toolbar-group,
|
||||
|
|
@ -2463,8 +2488,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|||
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:-ms-input-placeholder {
|
||||
color: #606a73; }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-ms-input-placeholder {
|
||||
color: #606a73; }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::placeholder {
|
||||
color: #606a73; }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-decoration, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-cancel-button, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-results-button, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-results-decoration {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -489,7 +489,7 @@
|
|||
min-width: 24px;
|
||||
width: 24px; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg {
|
||||
margin-top: 3px; }
|
||||
margin-top: 2px; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-down-button svg {
|
||||
margin-bottom: 3px; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button:focus::before {
|
||||
|
|
@ -707,7 +707,8 @@
|
|||
|
||||
.block-editor-block-draggable-chip-wrapper {
|
||||
position: absolute;
|
||||
top: -60px; }
|
||||
top: -24px;
|
||||
left: 0; }
|
||||
|
||||
.block-editor-block-draggable-chip {
|
||||
background-color: #1e1e1e;
|
||||
|
|
@ -765,30 +766,42 @@
|
|||
.block-editor-block-mover-button.has-icon {
|
||||
padding: 0; }
|
||||
|
||||
.block-editor-block-mover .components-toolbar-group,
|
||||
.block-editor-block-mover .block-editor-block-mover__move-button-container,
|
||||
.block-editor-block-mover .components-toolbar {
|
||||
flex: 1;
|
||||
flex-direction: row; }
|
||||
flex-direction: row;
|
||||
border-right: none !important; }
|
||||
@media (min-width: 600px) {
|
||||
.block-editor-block-mover .components-toolbar-group,
|
||||
.block-editor-block-mover .block-editor-block-mover__move-button-container,
|
||||
.block-editor-block-mover .components-toolbar {
|
||||
flex-direction: column; } }
|
||||
|
||||
.block-editor-block-mover.is-horizontal .components-toolbar-group,
|
||||
.block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container,
|
||||
.block-editor-block-mover.is-horizontal .components-toolbar {
|
||||
flex-direction: row; }
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.block-editor-block-mover .block-editor-block-mover-button {
|
||||
padding: 0 !important;
|
||||
height: 24px;
|
||||
width: 48px; } }
|
||||
width: 42px;
|
||||
padding-right: 11px !important;
|
||||
padding-left: 6px !important;
|
||||
min-width: 42px !important; } }
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.block-editor-block-mover .block-editor-block-mover-button::before {
|
||||
left: 8px !important;
|
||||
right: 8px !important; } }
|
||||
|
||||
.block-editor-block-mover .block-editor-block-mover__drag-handle {
|
||||
width: 24px;
|
||||
cursor: grab;
|
||||
min-width: 24px !important;
|
||||
padding: 0 !important; }
|
||||
.block-editor-block-mover .block-editor-block-mover__drag-handle:focus::before {
|
||||
left: 0 !important;
|
||||
right: 0 !important; }
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button svg,
|
||||
.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button svg {
|
||||
|
|
@ -1152,6 +1165,9 @@
|
|||
.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon {
|
||||
margin: auto; }
|
||||
|
||||
.block-editor-block-switcher__popover {
|
||||
margin-left: 6px; }
|
||||
|
||||
.components-button.block-editor-block-switcher__no-switcher-icon {
|
||||
width: 48px; }
|
||||
.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-blocks-icon {
|
||||
|
|
@ -1164,28 +1180,24 @@
|
|||
.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors {
|
||||
color: #1e1e1e !important; }
|
||||
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon,
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon {
|
||||
padding: 0; }
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
align-items: center; }
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before {
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
bottom: 8px;
|
||||
left: 8px; }
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
align-items: center; }
|
||||
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
|
||||
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before,
|
||||
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before {
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
bottom: 8px;
|
||||
left: 8px; }
|
||||
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content {
|
||||
min-width: 300px; }
|
||||
|
|
@ -2292,6 +2304,19 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|||
.block-editor-block-toolbar > :last-child .components-toolbar {
|
||||
border-right: none; }
|
||||
|
||||
.block-editor-block-toolbar__block-controls {
|
||||
height: auto !important;
|
||||
padding: 0 !important; }
|
||||
.block-editor-block-toolbar__block-controls .block-editor-block-switcher .components-dropdown-menu__toggle .block-editor-block-icon,
|
||||
.block-editor-block-toolbar__block-controls .block-editor-block-switcher__no-switcher-icon .block-editor-block-icon {
|
||||
width: 24px !important;
|
||||
margin: 0 !important; }
|
||||
.block-editor-block-toolbar__block-controls .block-editor-block-switcher .components-dropdown-menu__toggle:focus::before,
|
||||
.block-editor-block-toolbar__block-controls .block-editor-block-switcher__no-switcher-icon:focus::before {
|
||||
right: 4px !important; }
|
||||
.block-editor-block-toolbar__block-controls .block-editor-block-mover {
|
||||
margin-left: -6px; }
|
||||
|
||||
.block-editor-block-toolbar .components-toolbar-group,
|
||||
.block-editor-block-toolbar .components-toolbar,
|
||||
.block-editor-format-toolbar .components-toolbar-group,
|
||||
|
|
@ -2467,8 +2492,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|||
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:-ms-input-placeholder {
|
||||
color: #606a73; }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-ms-input-placeholder {
|
||||
color: #606a73; }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::placeholder {
|
||||
color: #606a73; }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-decoration, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-cancel-button, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-results-button, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-results-decoration {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -246,6 +246,14 @@ div[data-type="core/button"] {
|
|||
bottom: 0;
|
||||
opacity: 0; }
|
||||
|
||||
.wp-block[data-align="left"] > .wp-block-embed,
|
||||
.wp-block[data-align="right"] > .wp-block-embed {
|
||||
max-width: 360px;
|
||||
width: 100%; }
|
||||
.wp-block[data-align="left"] > .wp-block-embed .wp-block-embed__wrapper,
|
||||
.wp-block[data-align="right"] > .wp-block-embed .wp-block-embed__wrapper {
|
||||
min-width: 280px; }
|
||||
|
||||
.wp-block-file {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -247,6 +247,14 @@ div[data-type="core/button"] {
|
|||
bottom: 0;
|
||||
opacity: 0; }
|
||||
|
||||
.wp-block[data-align="left"] > .wp-block-embed,
|
||||
.wp-block[data-align="right"] > .wp-block-embed {
|
||||
max-width: 360px;
|
||||
width: 100%; }
|
||||
.wp-block[data-align="left"] > .wp-block-embed .wp-block-embed__wrapper,
|
||||
.wp-block[data-align="right"] > .wp-block-embed .wp-block-embed__wrapper {
|
||||
min-width: 280px; }
|
||||
|
||||
.wp-block-file {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -4055,7 +4055,7 @@ body.lockscroll {
|
|||
flex-shrink: 0;
|
||||
flex-wrap: wrap;
|
||||
line-height: 0; }
|
||||
.components-toolbar-group .components-toolbar-group {
|
||||
.components-toolbar-group .components-toolbar-group.components-toolbar-group {
|
||||
border-width: 0;
|
||||
margin: 0; }
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -4076,7 +4076,7 @@ body.lockscroll {
|
|||
flex-shrink: 0;
|
||||
flex-wrap: wrap;
|
||||
line-height: 0; }
|
||||
.components-toolbar-group .components-toolbar-group {
|
||||
.components-toolbar-group .components-toolbar-group.components-toolbar-group {
|
||||
border-width: 0;
|
||||
margin: 0; }
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -611,6 +611,11 @@ function get_oembed_response_data_for_url( $url, $args ) {
|
|||
$sites = get_sites( $qv );
|
||||
$site = reset( $sites );
|
||||
|
||||
// Do not allow embeds for deleted/archived/spam sites.
|
||||
if ( ! empty( $site->deleted ) || ! empty( $site->spam ) || ! empty( $site->archived ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( $site && get_current_blog_id() !== (int) $site->blog_id ) {
|
||||
switch_to_blog( $site->blog_id );
|
||||
$switched_blog = true;
|
||||
|
|
|
|||
|
|
@ -1753,7 +1753,11 @@ function is_blog_installed() {
|
|||
continue;
|
||||
}
|
||||
|
||||
if ( ! $wpdb->get_results( "DESCRIBE $table;" ) ) {
|
||||
$described_table = $wpdb->get_results( "DESCRIBE $table;" );
|
||||
if (
|
||||
( ! $described_table && empty( $wpdb->last_error ) ) ||
|
||||
( is_array( $described_table ) && 0 === count( $described_table ) )
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -281,6 +281,9 @@ function get_search_form( $args = array() ) {
|
|||
*/
|
||||
$args = apply_filters( 'search_form_args', $args );
|
||||
|
||||
// Ensure that the filtered arguments contain all required default values.
|
||||
$args = array_merge( $defaults, $args );
|
||||
|
||||
$format = current_theme_supports( 'html5', 'search-form' ) ? 'html5' : 'xhtml';
|
||||
|
||||
/**
|
||||
|
|
@ -303,7 +306,7 @@ function get_search_form( $args = array() ) {
|
|||
$form = ob_get_clean();
|
||||
} else {
|
||||
// Build a string containing an aria-label to use for the search form.
|
||||
if ( isset( $args['aria_label'] ) && $args['aria_label'] ) {
|
||||
if ( $args['aria_label'] ) {
|
||||
$aria_label = 'aria-label="' . esc_attr( $args['aria_label'] ) . '" ';
|
||||
} else {
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -178,8 +178,13 @@ window.addComment = ( function( window ) {
|
|||
|
||||
var replyHeadingElement = getElementById( config.commentReplyTitleId );
|
||||
var replyHeadingTextNode = replyHeadingElement && replyHeadingElement.firstChild;
|
||||
var replyLinkToParent = replyHeadingTextNode && replyHeadingTextNode.nextSibling;
|
||||
|
||||
if ( replyHeadingTextNode && replyHeadingTextNode.nodeType === Node.TEXT_NODE && headingText ) {
|
||||
if ( replyLinkToParent && 'A' === replyLinkToParent.nodeName && replyLinkToParent.id !== config.cancelReplyId ) {
|
||||
replyLinkToParent.style.display = '';
|
||||
}
|
||||
|
||||
replyHeadingTextNode.textContent = headingText;
|
||||
}
|
||||
|
||||
|
|
@ -319,6 +324,7 @@ window.addComment = ( function( window ) {
|
|||
|
||||
var replyHeading = getElementById( config.commentReplyTitleId );
|
||||
var replyHeadingTextNode = replyHeading && replyHeading.firstChild;
|
||||
var replyLinkToParent = replyHeadingTextNode && replyHeadingTextNode.nextSibling;
|
||||
|
||||
if ( ! addBelowElement || ! respondElement || ! parentIdField ) {
|
||||
// Missing key elements, fail.
|
||||
|
|
@ -342,6 +348,10 @@ window.addComment = ( function( window ) {
|
|||
addBelowElement.parentNode.insertBefore( respondElement, addBelowElement.nextSibling );
|
||||
|
||||
if ( replyHeadingTextNode && replyHeadingTextNode.nodeType === Node.TEXT_NODE ) {
|
||||
if ( replyLinkToParent && 'A' === replyLinkToParent.nodeName && replyLinkToParent.id !== config.cancelReplyId ) {
|
||||
replyLinkToParent.style.display = 'none';
|
||||
}
|
||||
|
||||
replyHeadingTextNode.textContent = replyTo;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
/*! This file is auto-generated */
|
||||
window.addComment=function(p){var f,v,I,C=p.document,h={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=p.MutationObserver||p.WebKitMutationObserver||p.MozMutationObserver,i="querySelector"in C&&"addEventListener"in p,n=!!C.documentElement.dataset;function t(){r(),function(){if(!e)return;new e(o).observe(C.body,{childList:!0,subtree:!0})}()}function r(e){if(i&&(f=E(h.cancelReplyId),v=E(h.commentFormId),f)){f.addEventListener("touchstart",l),f.addEventListener("click",l);var t=function(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode)return v.removeEventListener("keydown",t),e.preventDefault(),v.submit.click(),!1};v&&v.addEventListener("keydown",t);for(var n,r=function(e){var t,n=h.commentReplyClass;e&&e.childNodes||(e=C);t=C.getElementsByClassName?e.getElementsByClassName(n):e.querySelectorAll("."+n);return t}(e),o=0,d=r.length;o<d;o++)(n=r[o]).addEventListener("touchstart",a),n.addEventListener("click",a)}}function l(e){var t=E(h.temporaryFormId);if(t&&I){E(h.parentIdFieldId).value="0";var n=t.textContent;t.parentNode.replaceChild(I,t),this.style.display="none";var r=E(h.commentReplyTitleId),o=r&&r.firstChild;o&&o.nodeType===Node.TEXT_NODE&&n&&(o.textContent=n),e.preventDefault()}}function a(e){var t=E(h.commentReplyTitleId),n=t&&t.firstChild.textContent,r=this,o=m(r,"belowelement"),d=m(r,"commentid"),i=m(r,"respondelement"),l=m(r,"postid"),a=m(r,"replyto")||n;o&&d&&i&&l&&!1===p.addComment.moveForm(o,d,i,l,a)&&e.preventDefault()}function o(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void r()}function m(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function E(e){return C.getElementById(e)}return i&&"loading"!==C.readyState?t():i&&p.addEventListener("DOMContentLoaded",t,!1),{init:r,moveForm:function(e,t,n,r,o){var d=E(e);I=E(n);var i,l,a,m=E(h.parentIdFieldId),c=E(h.postIdFieldId),s=E(h.commentReplyTitleId),u=s&&s.firstChild;if(d&&I&&m){void 0===o&&(o=u&&u.textContent),function(e){var t=h.temporaryFormId,n=E(t),r=E(h.commentReplyTitleId),o=r?r.firstChild.textContent:"";if(n)return;(n=C.createElement("div")).id=t,n.style.display="none",n.textContent=o,e.parentNode.insertBefore(n,e)}(I),r&&c&&(c.value=r),m.value=t,f.style.display="",d.parentNode.insertBefore(I,d.nextSibling),u&&u.nodeType===Node.TEXT_NODE&&(u.textContent=o),f.onclick=function(){return!1};try{for(var y=0;y<v.elements.length;y++)if(i=v.elements[y],l=!1,"getComputedStyle"in p?a=p.getComputedStyle(i):C.documentElement.currentStyle&&(a=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===a.visibility)&&(l=!0),"hidden"!==i.type&&!i.disabled&&!l){i.focus();break}}catch(e){}return!1}}}}(window);
|
||||
window.addComment=function(f){var v,I,C,h=f.document,E={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=f.MutationObserver||f.WebKitMutationObserver||f.MozMutationObserver,i="querySelector"in h&&"addEventListener"in f,n=!!h.documentElement.dataset;function t(){d(),function(){if(!e)return;new e(o).observe(h.body,{childList:!0,subtree:!0})}()}function d(e){if(i&&(v=b(E.cancelReplyId),I=b(E.commentFormId),v)){v.addEventListener("touchstart",l),v.addEventListener("click",l);var t=function(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode)return I.removeEventListener("keydown",t),e.preventDefault(),I.submit.click(),!1};I&&I.addEventListener("keydown",t);for(var n,d=function(e){var t,n=E.commentReplyClass;e&&e.childNodes||(e=h);t=h.getElementsByClassName?e.getElementsByClassName(n):e.querySelectorAll("."+n);return t}(e),o=0,r=d.length;o<r;o++)(n=d[o]).addEventListener("touchstart",a),n.addEventListener("click",a)}}function l(e){var t=b(E.temporaryFormId);if(t&&C){b(E.parentIdFieldId).value="0";var n=t.textContent;t.parentNode.replaceChild(C,t),this.style.display="none";var d=b(E.commentReplyTitleId),o=d&&d.firstChild,r=o&&o.nextSibling;o&&o.nodeType===Node.TEXT_NODE&&n&&(r&&"A"===r.nodeName&&r.id!==E.cancelReplyId&&(r.style.display=""),o.textContent=n),e.preventDefault()}}function a(e){var t=b(E.commentReplyTitleId),n=t&&t.firstChild.textContent,d=this,o=m(d,"belowelement"),r=m(d,"commentid"),i=m(d,"respondelement"),l=m(d,"postid"),a=m(d,"replyto")||n;o&&r&&i&&l&&!1===f.addComment.moveForm(o,r,i,l,a)&&e.preventDefault()}function o(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void d()}function m(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function b(e){return h.getElementById(e)}return i&&"loading"!==h.readyState?t():i&&f.addEventListener("DOMContentLoaded",t,!1),{init:d,moveForm:function(e,t,n,d,o){var r=b(e);C=b(n);var i,l,a,m=b(E.parentIdFieldId),c=b(E.postIdFieldId),s=b(E.commentReplyTitleId),y=s&&s.firstChild,u=y&&y.nextSibling;if(r&&C&&m){void 0===o&&(o=y&&y.textContent),function(e){var t=E.temporaryFormId,n=b(t),d=b(E.commentReplyTitleId),o=d?d.firstChild.textContent:"";if(n)return;(n=h.createElement("div")).id=t,n.style.display="none",n.textContent=o,e.parentNode.insertBefore(n,e)}(C),d&&c&&(c.value=d),m.value=t,v.style.display="",r.parentNode.insertBefore(C,r.nextSibling),y&&y.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==E.cancelReplyId&&(u.style.display="none"),y.textContent=o),v.onclick=function(){return!1};try{for(var p=0;p<I.elements.length;p++)if(i=I.elements[p],l=!1,"getComputedStyle"in f?a=f.getComputedStyle(i):h.documentElement.currentStyle&&(a=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===a.visibility)&&(l=!0),"hidden"!==i.type&&!i.disabled&&!l){i.focus();break}}catch(e){}return!1}}}}(window);
|
||||
|
|
@ -3020,7 +3020,7 @@ unstable_useIdState.__keys = keys;
|
|||
/* 66 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1
|
||||
var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.2
|
||||
// https://github.com/bgrins/TinyColor
|
||||
// Brian Grinstead, MIT License
|
||||
|
||||
|
|
@ -11153,7 +11153,7 @@ var chevronUp = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createEl
|
|||
viewBox: "0 0 24 24",
|
||||
xmlns: "http://www.w3.org/2000/svg"
|
||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||
d: "M12 8l-6 5.4 1 1.2 5-4.6 5 4.6 1-1.2z"
|
||||
d: "M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"
|
||||
}));
|
||||
/* harmony default export */ __webpack_exports__["a"] = (chevronUp);
|
||||
|
||||
|
|
@ -11177,7 +11177,7 @@ var chevronDown = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["create
|
|||
viewBox: "0 0 24 24",
|
||||
xmlns: "http://www.w3.org/2000/svg"
|
||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||
d: "M17 9.4L12 14 7 9.4l-1 1.2 6 5.4 6-5.4z"
|
||||
d: "M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"
|
||||
}));
|
||||
/* harmony default export */ __webpack_exports__["a"] = (chevronDown);
|
||||
|
||||
|
|
@ -27460,24 +27460,26 @@ function NavigableToolbar(_ref) {
|
|||
|
||||
/* harmony default export */ var navigable_toolbar = (NavigableToolbar);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-mover/index.js
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/drag-handle.js
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function block_mover_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (block_mover_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
|
||||
|
||||
function block_mover_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
||||
|
||||
/**
|
||||
* External dependencies
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
var dragHandle = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
|
||||
width: "18",
|
||||
height: "18",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
viewBox: "0 0 18 18"
|
||||
}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
|
||||
d: "M5 4h2V2H5v2zm6-2v2h2V2h-2zm-6 8h2V8H5v2zm6 0h2V8h-2v2zm-6 6h2v-2H5v2zm6 0h2v-2h-2v2z"
|
||||
}));
|
||||
/* harmony default export */ var drag_handle = (dragHandle);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/draggable-chip.js
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
|
|
@ -27492,89 +27494,343 @@ function block_mover_isNativeReflectConstruct() { if (typeof Reflect === "undefi
|
|||
*/
|
||||
|
||||
|
||||
var block_mover_BlockMover = /*#__PURE__*/function (_Component) {
|
||||
Object(inherits["a" /* default */])(BlockMover, _Component);
|
||||
function BlockDraggableChip(_ref) {
|
||||
var clientIds = _ref.clientIds;
|
||||
var icon = Object(external_this_wp_data_["useSelect"])(function (select) {
|
||||
if (clientIds.length !== 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
var _super = block_mover_createSuper(BlockMover);
|
||||
var _select = select('core/block-editor'),
|
||||
getBlockName = _select.getBlockName;
|
||||
|
||||
function BlockMover() {
|
||||
var _this;
|
||||
var _clientIds = Object(slicedToArray["a" /* default */])(clientIds, 1),
|
||||
firstId = _clientIds[0];
|
||||
|
||||
Object(classCallCheck["a" /* default */])(this, BlockMover);
|
||||
var blockName = getBlockName(firstId);
|
||||
return Object(external_this_wp_blocks_["getBlockType"])(blockName).icon;
|
||||
}, [clientIds]);
|
||||
return Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: "block-editor-block-draggable-chip-wrapper"
|
||||
}, Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: "block-editor-block-draggable-chip"
|
||||
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Flex"], {
|
||||
justify: "center",
|
||||
className: "block-editor-block-draggable-chip__content"
|
||||
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FlexItem"], null, icon ? Object(external_this_wp_element_["createElement"])(BlockIcon, {
|
||||
icon: icon
|
||||
}) : Object(external_this_wp_i18n_["sprintf"])(
|
||||
/* translators: %d: Number of blocks. */
|
||||
Object(external_this_wp_i18n_["_n"])('%d block', '%d blocks', clientIds.length), clientIds.length)), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FlexItem"], null, Object(external_this_wp_element_["createElement"])(BlockIcon, {
|
||||
icon: drag_handle
|
||||
})))));
|
||||
}
|
||||
|
||||
_this = _super.apply(this, arguments);
|
||||
_this.state = {
|
||||
isFocused: false
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/use-scroll-when-dragging.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
|
||||
var SCROLL_INACTIVE_DISTANCE_PX = 50;
|
||||
var SCROLL_INTERVAL_MS = 25;
|
||||
var PIXELS_PER_SECOND_PER_PERCENTAGE = 1000;
|
||||
var VELOCITY_MULTIPLIER = PIXELS_PER_SECOND_PER_PERCENTAGE * (SCROLL_INTERVAL_MS / 1000);
|
||||
/**
|
||||
* React hook that scrolls the scroll container when a block is being dragged.
|
||||
*
|
||||
* @return {Function[]} `startScrolling`, `scrollOnDragOver`, `stopScrolling`
|
||||
* functions to be called in `onDragStart`, `onDragOver`
|
||||
* and `onDragEnd` events respectively.
|
||||
*/
|
||||
|
||||
function useScrollWhenDragging() {
|
||||
var dragStartY = Object(external_this_wp_element_["useRef"])(null);
|
||||
var velocityY = Object(external_this_wp_element_["useRef"])(null);
|
||||
var scrollParentY = Object(external_this_wp_element_["useRef"])(null);
|
||||
var scrollEditorInterval = Object(external_this_wp_element_["useRef"])(null); // Clear interval when unmounting.
|
||||
|
||||
Object(external_this_wp_element_["useEffect"])(function () {
|
||||
return function () {
|
||||
if (scrollEditorInterval.current) {
|
||||
clearInterval(scrollEditorInterval.current);
|
||||
scrollEditorInterval.current = null;
|
||||
}
|
||||
};
|
||||
_this.onFocus = _this.onFocus.bind(Object(assertThisInitialized["a" /* default */])(_this));
|
||||
_this.onBlur = _this.onBlur.bind(Object(assertThisInitialized["a" /* default */])(_this));
|
||||
return _this;
|
||||
}, []);
|
||||
var startScrolling = Object(external_this_wp_element_["useCallback"])(function (event) {
|
||||
dragStartY.current = event.clientY; // Find nearest parent(s) to scroll.
|
||||
|
||||
scrollParentY.current = Object(external_this_wp_dom_["getScrollContainer"])(event.target);
|
||||
scrollEditorInterval.current = setInterval(function () {
|
||||
if (scrollParentY.current && velocityY.current) {
|
||||
var newTop = scrollParentY.current.scrollTop + velocityY.current; // Setting `behavior: 'smooth'` as a scroll property seems to hurt performance.
|
||||
// Better to use a small scroll interval.
|
||||
|
||||
scrollParentY.current.scroll({
|
||||
top: newTop
|
||||
});
|
||||
}
|
||||
}, SCROLL_INTERVAL_MS);
|
||||
}, []);
|
||||
var scrollOnDragOver = Object(external_this_wp_element_["useCallback"])(function (event) {
|
||||
if (!scrollParentY.current) {
|
||||
return;
|
||||
}
|
||||
|
||||
var scrollParentHeight = scrollParentY.current.offsetHeight;
|
||||
var offsetDragStartPosition = dragStartY.current - scrollParentY.current.offsetTop;
|
||||
var offsetDragPosition = event.clientY - scrollParentY.current.offsetTop;
|
||||
|
||||
if (event.clientY > offsetDragStartPosition) {
|
||||
// User is dragging downwards.
|
||||
var moveableDistance = Math.max(scrollParentHeight - offsetDragStartPosition - SCROLL_INACTIVE_DISTANCE_PX, 0);
|
||||
var dragDistance = Math.max(offsetDragPosition - offsetDragStartPosition - SCROLL_INACTIVE_DISTANCE_PX, 0);
|
||||
var distancePercentage = dragDistance / moveableDistance;
|
||||
velocityY.current = VELOCITY_MULTIPLIER * distancePercentage;
|
||||
} else if (event.clientY < offsetDragStartPosition) {
|
||||
// User is dragging upwards.
|
||||
var _moveableDistance = Math.max(offsetDragStartPosition - SCROLL_INACTIVE_DISTANCE_PX, 0);
|
||||
|
||||
var _dragDistance = Math.max(offsetDragStartPosition - offsetDragPosition - SCROLL_INACTIVE_DISTANCE_PX, 0);
|
||||
|
||||
var _distancePercentage = _dragDistance / _moveableDistance;
|
||||
|
||||
velocityY.current = -VELOCITY_MULTIPLIER * _distancePercentage;
|
||||
} else {
|
||||
velocityY.current = 0;
|
||||
}
|
||||
}, []);
|
||||
|
||||
var stopScrolling = function stopScrolling() {
|
||||
dragStartY.current = null;
|
||||
scrollParentY.current = null;
|
||||
|
||||
if (scrollEditorInterval.current) {
|
||||
clearInterval(scrollEditorInterval.current);
|
||||
scrollEditorInterval.current = null;
|
||||
}
|
||||
};
|
||||
|
||||
return [startScrolling, scrollOnDragOver, stopScrolling];
|
||||
}
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/index.js
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
var block_draggable_BlockDraggable = function BlockDraggable(_ref) {
|
||||
var children = _ref.children,
|
||||
clientIds = _ref.clientIds,
|
||||
cloneClassname = _ref.cloneClassname,
|
||||
_onDragStart = _ref.onDragStart,
|
||||
_onDragEnd = _ref.onDragEnd;
|
||||
|
||||
var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
|
||||
var _select = select('core/block-editor'),
|
||||
getBlockRootClientId = _select.getBlockRootClientId,
|
||||
getTemplateLock = _select.getTemplateLock;
|
||||
|
||||
var rootClientId = getBlockRootClientId(clientIds[0]);
|
||||
var templateLock = rootClientId ? getTemplateLock(rootClientId) : null;
|
||||
return {
|
||||
srcRootClientId: rootClientId,
|
||||
isDraggable: 'all' !== templateLock
|
||||
};
|
||||
}, [clientIds]),
|
||||
srcRootClientId = _useSelect.srcRootClientId,
|
||||
isDraggable = _useSelect.isDraggable;
|
||||
|
||||
var isDragging = Object(external_this_wp_element_["useRef"])(false);
|
||||
|
||||
var _useScrollWhenDraggin = useScrollWhenDragging(),
|
||||
_useScrollWhenDraggin2 = Object(slicedToArray["a" /* default */])(_useScrollWhenDraggin, 3),
|
||||
startScrolling = _useScrollWhenDraggin2[0],
|
||||
scrollOnDragOver = _useScrollWhenDraggin2[1],
|
||||
stopScrolling = _useScrollWhenDraggin2[2];
|
||||
|
||||
var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'),
|
||||
startDraggingBlocks = _useDispatch.startDraggingBlocks,
|
||||
stopDraggingBlocks = _useDispatch.stopDraggingBlocks; // Stop dragging blocks if the block draggable is unmounted
|
||||
|
||||
|
||||
Object(external_this_wp_element_["useEffect"])(function () {
|
||||
return function () {
|
||||
if (isDragging.current) {
|
||||
stopDraggingBlocks();
|
||||
}
|
||||
};
|
||||
}, []);
|
||||
|
||||
if (!isDraggable) {
|
||||
return children({
|
||||
isDraggable: false
|
||||
});
|
||||
}
|
||||
|
||||
Object(createClass["a" /* default */])(BlockMover, [{
|
||||
key: "onFocus",
|
||||
value: function onFocus() {
|
||||
this.setState({
|
||||
isFocused: true
|
||||
});
|
||||
}
|
||||
}, {
|
||||
key: "onBlur",
|
||||
value: function onBlur() {
|
||||
this.setState({
|
||||
isFocused: false
|
||||
});
|
||||
}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var _this$props = this.props,
|
||||
isFirst = _this$props.isFirst,
|
||||
isLast = _this$props.isLast,
|
||||
clientIds = _this$props.clientIds,
|
||||
isLocked = _this$props.isLocked,
|
||||
isHidden = _this$props.isHidden,
|
||||
rootClientId = _this$props.rootClientId,
|
||||
orientation = _this$props.orientation;
|
||||
var isFocused = this.state.isFocused;
|
||||
var transferData = {
|
||||
type: 'block',
|
||||
srcClientIds: clientIds,
|
||||
srcRootClientId: srcRootClientId
|
||||
};
|
||||
return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Draggable"], {
|
||||
cloneClassname: cloneClassname,
|
||||
elementId: "block-".concat(clientIds[0]),
|
||||
transferData: transferData,
|
||||
onDragStart: function onDragStart(event) {
|
||||
startDraggingBlocks();
|
||||
isDragging.current = true;
|
||||
startScrolling(event);
|
||||
|
||||
if (isLocked || isFirst && isLast && !rootClientId) {
|
||||
return null;
|
||||
} // We emulate a disabled state because forcefully applying the `disabled`
|
||||
// attribute on the buttons while it has focus causes the screen to change
|
||||
// to an unfocused state (body as active element) without firing blur on,
|
||||
// the rendering parent, leaving it unable to react to focus out.
|
||||
if (_onDragStart) {
|
||||
_onDragStart();
|
||||
}
|
||||
},
|
||||
onDragOver: scrollOnDragOver,
|
||||
onDragEnd: function onDragEnd() {
|
||||
stopDraggingBlocks();
|
||||
isDragging.current = false;
|
||||
stopScrolling();
|
||||
|
||||
if (_onDragEnd) {
|
||||
_onDragEnd();
|
||||
}
|
||||
},
|
||||
__experimentalDragComponent: Object(external_this_wp_element_["createElement"])(BlockDraggableChip, {
|
||||
clientIds: clientIds
|
||||
})
|
||||
}, function (_ref2) {
|
||||
var onDraggableStart = _ref2.onDraggableStart,
|
||||
onDraggableEnd = _ref2.onDraggableEnd;
|
||||
return children({
|
||||
isDraggable: true,
|
||||
onDraggableStart: onDraggableStart,
|
||||
onDraggableEnd: onDraggableEnd
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
/* harmony default export */ var block_draggable = (block_draggable_BlockDraggable);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-mover/index.js
|
||||
|
||||
|
||||
return Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: classnames_default()('block-editor-block-mover', {
|
||||
'is-visible': isFocused || !isHidden,
|
||||
'is-horizontal': orientation === 'horizontal'
|
||||
})
|
||||
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["__experimentalToolbarItem"], {
|
||||
onFocus: this.onFocus,
|
||||
onBlur: this.onBlur
|
||||
}, function (itemProps) {
|
||||
return Object(external_this_wp_element_["createElement"])(BlockMoverUpButton, Object(esm_extends["a" /* default */])({
|
||||
clientIds: clientIds
|
||||
}, itemProps));
|
||||
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["__experimentalToolbarItem"], {
|
||||
onFocus: this.onFocus,
|
||||
onBlur: this.onBlur
|
||||
}, function (itemProps) {
|
||||
return Object(external_this_wp_element_["createElement"])(BlockMoverDownButton, Object(esm_extends["a" /* default */])({
|
||||
clientIds: clientIds
|
||||
}, itemProps));
|
||||
})));
|
||||
}
|
||||
}]);
|
||||
|
||||
return BlockMover;
|
||||
}(external_this_wp_element_["Component"]);
|
||||
/* harmony default export */ var block_mover = (Object(external_this_wp_data_["withSelect"])(function (select, _ref) {
|
||||
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
function BlockMover(_ref) {
|
||||
var isFirst = _ref.isFirst,
|
||||
isLast = _ref.isLast,
|
||||
clientIds = _ref.clientIds,
|
||||
isLocked = _ref.isLocked,
|
||||
isHidden = _ref.isHidden,
|
||||
rootClientId = _ref.rootClientId,
|
||||
orientation = _ref.orientation,
|
||||
hideDragHandle = _ref.hideDragHandle;
|
||||
|
||||
var _useState = Object(external_this_wp_element_["useState"])(false),
|
||||
_useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
|
||||
isFocused = _useState2[0],
|
||||
setIsFocused = _useState2[1];
|
||||
|
||||
var onFocus = function onFocus() {
|
||||
return setIsFocused(true);
|
||||
};
|
||||
|
||||
var onBlur = function onBlur() {
|
||||
return setIsFocused(false);
|
||||
};
|
||||
|
||||
if (isLocked || isFirst && isLast && !rootClientId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
var dragHandleLabel = clientIds.length === 1 ? Object(external_this_wp_i18n_["__"])('Drag block') : Object(external_this_wp_i18n_["__"])('Drag blocks'); // We emulate a disabled state because forcefully applying the `disabled`
|
||||
// attribute on the buttons while it has focus causes the screen to change
|
||||
// to an unfocused state (body as active element) without firing blur on,
|
||||
// the rendering parent, leaving it unable to react to focus out.
|
||||
|
||||
return Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: classnames_default()('block-editor-block-mover', {
|
||||
'is-visible': isFocused || !isHidden,
|
||||
'is-horizontal': orientation === 'horizontal'
|
||||
})
|
||||
}, !hideDragHandle && Object(external_this_wp_element_["createElement"])(block_draggable, {
|
||||
clientIds: clientIds,
|
||||
cloneClassname: "block-editor-block-mover__drag-clone"
|
||||
}, function (_ref2) {
|
||||
var isDraggable = _ref2.isDraggable,
|
||||
onDraggableStart = _ref2.onDraggableStart,
|
||||
onDraggableEnd = _ref2.onDraggableEnd;
|
||||
return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
|
||||
icon: drag_handle,
|
||||
className: "block-editor-block-mover__drag-handle",
|
||||
"aria-hidden": "true",
|
||||
label: dragHandleLabel // Should not be able to tab to drag handle as this
|
||||
// button can only be used with a pointer device.
|
||||
,
|
||||
tabIndex: "-1",
|
||||
onDragStart: onDraggableStart,
|
||||
onDragEnd: onDraggableEnd,
|
||||
draggable: isDraggable
|
||||
});
|
||||
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], {
|
||||
className: "block-editor-block-mover__move-button-container"
|
||||
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["__experimentalToolbarItem"], {
|
||||
onFocus: onFocus,
|
||||
onBlur: onBlur
|
||||
}, function (itemProps) {
|
||||
return Object(external_this_wp_element_["createElement"])(BlockMoverUpButton, Object(esm_extends["a" /* default */])({
|
||||
clientIds: clientIds
|
||||
}, itemProps));
|
||||
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["__experimentalToolbarItem"], {
|
||||
onFocus: onFocus,
|
||||
onBlur: onBlur
|
||||
}, function (itemProps) {
|
||||
return Object(external_this_wp_element_["createElement"])(BlockMoverDownButton, Object(esm_extends["a" /* default */])({
|
||||
clientIds: clientIds
|
||||
}, itemProps));
|
||||
})));
|
||||
}
|
||||
|
||||
/* harmony default export */ var block_mover = (Object(external_this_wp_data_["withSelect"])(function (select, _ref3) {
|
||||
var _getBlockListSettings;
|
||||
|
||||
var clientIds = _ref.clientIds;
|
||||
var clientIds = _ref3.clientIds;
|
||||
|
||||
var _select = select('core/block-editor'),
|
||||
getBlock = _select.getBlock,
|
||||
|
|
@ -27602,7 +27858,7 @@ var block_mover_BlockMover = /*#__PURE__*/function (_Component) {
|
|||
isLast: isLast,
|
||||
orientation: (_getBlockListSettings = getBlockListSettings(rootClientId)) === null || _getBlockListSettings === void 0 ? void 0 : _getBlockListSettings.orientation
|
||||
};
|
||||
})(block_mover_BlockMover));
|
||||
})(BlockMover));
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-parent-selector/index.js
|
||||
|
||||
|
|
@ -28821,6 +29077,7 @@ function BlockSettingsDropdown(_ref) {
|
|||
return _ref2.apply(this, arguments);
|
||||
};
|
||||
}() : external_this_lodash_["noop"], [__experimentalSelectBlock]);
|
||||
var removeBlockLabel = count === 1 ? Object(external_this_wp_i18n_["__"])('Remove block') : Object(external_this_wp_i18n_["__"])('Remove blocks');
|
||||
return Object(external_this_wp_element_["createElement"])(BlockActions, {
|
||||
clientIds: clientIds,
|
||||
__experimentalUpdateSelection: !__experimentalSelectBlock
|
||||
|
|
@ -28886,7 +29143,7 @@ function BlockSettingsDropdown(_ref) {
|
|||
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], null, !isLocked && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], {
|
||||
onClick: Object(external_this_lodash_["flow"])(onClose, onRemove, updateSelection),
|
||||
shortcut: shortcuts.remove
|
||||
}, Object(external_this_wp_i18n_["_n"])('Remove Block', 'Remove Blocks', count))));
|
||||
}, removeBlockLabel)));
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
@ -28919,269 +29176,6 @@ function BlockSettingsMenu(_ref) {
|
|||
}
|
||||
/* harmony default export */ var block_settings_menu = (BlockSettingsMenu);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/handle.js
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
var handle = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
|
||||
viewBox: "0 0 24 24",
|
||||
xmlns: "http://www.w3.org/2000/svg"
|
||||
}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
|
||||
d: "M7 16.5h10V15H7v1.5zm0-9V9h10V7.5H7z"
|
||||
}));
|
||||
/* harmony default export */ var library_handle = (handle);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/draggable-chip.js
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
|
||||
function BlockDraggableChip(_ref) {
|
||||
var clientIds = _ref.clientIds;
|
||||
var icon = Object(external_this_wp_data_["useSelect"])(function (select) {
|
||||
if (clientIds.length !== 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
var _select = select('core/block-editor'),
|
||||
getBlockName = _select.getBlockName;
|
||||
|
||||
var _clientIds = Object(slicedToArray["a" /* default */])(clientIds, 1),
|
||||
firstId = _clientIds[0];
|
||||
|
||||
var blockName = getBlockName(firstId);
|
||||
return Object(external_this_wp_blocks_["getBlockType"])(blockName).icon;
|
||||
}, [clientIds]);
|
||||
return Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: "block-editor-block-draggable-chip-wrapper"
|
||||
}, Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: "block-editor-block-draggable-chip"
|
||||
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Flex"], {
|
||||
justify: "center",
|
||||
className: "block-editor-block-draggable-chip__content"
|
||||
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FlexItem"], null, Object(external_this_wp_element_["createElement"])(BlockIcon, {
|
||||
icon: library_handle
|
||||
})), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FlexItem"], null, icon ? Object(external_this_wp_element_["createElement"])(BlockIcon, {
|
||||
icon: icon
|
||||
}) : Object(external_this_wp_i18n_["sprintf"])(
|
||||
/* translators: %d: Number of blocks. */
|
||||
Object(external_this_wp_i18n_["_n"])('%d block', '%d blocks', clientIds.length), clientIds.length)))));
|
||||
}
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/use-scroll-when-dragging.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
|
||||
var SCROLL_INACTIVE_DISTANCE_PX = 50;
|
||||
var SCROLL_INTERVAL_MS = 25;
|
||||
var PIXELS_PER_SECOND_PER_PERCENTAGE = 1000;
|
||||
var VELOCITY_MULTIPLIER = PIXELS_PER_SECOND_PER_PERCENTAGE * (SCROLL_INTERVAL_MS / 1000);
|
||||
/**
|
||||
* React hook that scrolls the scroll container when a block is being dragged.
|
||||
*
|
||||
* @return {Function[]} `startScrolling`, `scrollOnDragOver`, `stopScrolling`
|
||||
* functions to be called in `onDragStart`, `onDragOver`
|
||||
* and `onDragEnd` events respectively.
|
||||
*/
|
||||
|
||||
function useScrollWhenDragging() {
|
||||
var dragStartY = Object(external_this_wp_element_["useRef"])(null);
|
||||
var velocityY = Object(external_this_wp_element_["useRef"])(null);
|
||||
var scrollParentY = Object(external_this_wp_element_["useRef"])(null);
|
||||
var scrollEditorInterval = Object(external_this_wp_element_["useRef"])(null); // Clear interval when unmounting.
|
||||
|
||||
Object(external_this_wp_element_["useEffect"])(function () {
|
||||
return function () {
|
||||
if (scrollEditorInterval.current) {
|
||||
clearInterval(scrollEditorInterval.current);
|
||||
scrollEditorInterval.current = null;
|
||||
}
|
||||
};
|
||||
}, []);
|
||||
var startScrolling = Object(external_this_wp_element_["useCallback"])(function (event) {
|
||||
dragStartY.current = event.clientY; // Find nearest parent(s) to scroll.
|
||||
|
||||
scrollParentY.current = Object(external_this_wp_dom_["getScrollContainer"])(event.target);
|
||||
scrollEditorInterval.current = setInterval(function () {
|
||||
if (scrollParentY.current && velocityY.current) {
|
||||
var newTop = scrollParentY.current.scrollTop + velocityY.current; // Setting `behavior: 'smooth'` as a scroll property seems to hurt performance.
|
||||
// Better to use a small scroll interval.
|
||||
|
||||
scrollParentY.current.scroll({
|
||||
top: newTop
|
||||
});
|
||||
}
|
||||
}, SCROLL_INTERVAL_MS);
|
||||
}, []);
|
||||
var scrollOnDragOver = Object(external_this_wp_element_["useCallback"])(function (event) {
|
||||
if (!scrollParentY.current) {
|
||||
return;
|
||||
}
|
||||
|
||||
var scrollParentHeight = scrollParentY.current.offsetHeight;
|
||||
var offsetDragStartPosition = dragStartY.current - scrollParentY.current.offsetTop;
|
||||
var offsetDragPosition = event.clientY - scrollParentY.current.offsetTop;
|
||||
|
||||
if (event.clientY > offsetDragStartPosition) {
|
||||
// User is dragging downwards.
|
||||
var moveableDistance = Math.max(scrollParentHeight - offsetDragStartPosition - SCROLL_INACTIVE_DISTANCE_PX, 0);
|
||||
var dragDistance = Math.max(offsetDragPosition - offsetDragStartPosition - SCROLL_INACTIVE_DISTANCE_PX, 0);
|
||||
var distancePercentage = dragDistance / moveableDistance;
|
||||
velocityY.current = VELOCITY_MULTIPLIER * distancePercentage;
|
||||
} else if (event.clientY < offsetDragStartPosition) {
|
||||
// User is dragging upwards.
|
||||
var _moveableDistance = Math.max(offsetDragStartPosition - SCROLL_INACTIVE_DISTANCE_PX, 0);
|
||||
|
||||
var _dragDistance = Math.max(offsetDragStartPosition - offsetDragPosition - SCROLL_INACTIVE_DISTANCE_PX, 0);
|
||||
|
||||
var _distancePercentage = _dragDistance / _moveableDistance;
|
||||
|
||||
velocityY.current = -VELOCITY_MULTIPLIER * _distancePercentage;
|
||||
} else {
|
||||
velocityY.current = 0;
|
||||
}
|
||||
}, []);
|
||||
|
||||
var stopScrolling = function stopScrolling() {
|
||||
dragStartY.current = null;
|
||||
scrollParentY.current = null;
|
||||
|
||||
if (scrollEditorInterval.current) {
|
||||
clearInterval(scrollEditorInterval.current);
|
||||
scrollEditorInterval.current = null;
|
||||
}
|
||||
};
|
||||
|
||||
return [startScrolling, scrollOnDragOver, stopScrolling];
|
||||
}
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/index.js
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
var block_draggable_BlockDraggable = function BlockDraggable(_ref) {
|
||||
var children = _ref.children,
|
||||
clientIds = _ref.clientIds,
|
||||
cloneClassname = _ref.cloneClassname,
|
||||
_onDragStart = _ref.onDragStart,
|
||||
_onDragEnd = _ref.onDragEnd;
|
||||
|
||||
var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
|
||||
var _select = select('core/block-editor'),
|
||||
getBlockRootClientId = _select.getBlockRootClientId,
|
||||
getTemplateLock = _select.getTemplateLock;
|
||||
|
||||
var rootClientId = getBlockRootClientId(clientIds[0]);
|
||||
var templateLock = rootClientId ? getTemplateLock(rootClientId) : null;
|
||||
return {
|
||||
srcRootClientId: rootClientId,
|
||||
isDraggable: 'all' !== templateLock
|
||||
};
|
||||
}, [clientIds]),
|
||||
srcRootClientId = _useSelect.srcRootClientId,
|
||||
isDraggable = _useSelect.isDraggable;
|
||||
|
||||
var isDragging = Object(external_this_wp_element_["useRef"])(false);
|
||||
|
||||
var _useScrollWhenDraggin = useScrollWhenDragging(),
|
||||
_useScrollWhenDraggin2 = Object(slicedToArray["a" /* default */])(_useScrollWhenDraggin, 3),
|
||||
startScrolling = _useScrollWhenDraggin2[0],
|
||||
scrollOnDragOver = _useScrollWhenDraggin2[1],
|
||||
stopScrolling = _useScrollWhenDraggin2[2];
|
||||
|
||||
var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'),
|
||||
startDraggingBlocks = _useDispatch.startDraggingBlocks,
|
||||
stopDraggingBlocks = _useDispatch.stopDraggingBlocks; // Stop dragging blocks if the block draggable is unmounted
|
||||
|
||||
|
||||
Object(external_this_wp_element_["useEffect"])(function () {
|
||||
return function () {
|
||||
if (isDragging.current) {
|
||||
stopDraggingBlocks();
|
||||
}
|
||||
};
|
||||
}, []);
|
||||
|
||||
if (!isDraggable) {
|
||||
return children({
|
||||
isDraggable: false
|
||||
});
|
||||
}
|
||||
|
||||
var transferData = {
|
||||
type: 'block',
|
||||
srcClientIds: clientIds,
|
||||
srcRootClientId: srcRootClientId
|
||||
};
|
||||
return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Draggable"], {
|
||||
cloneClassname: cloneClassname,
|
||||
elementId: "block-".concat(clientIds[0]),
|
||||
transferData: transferData,
|
||||
onDragStart: function onDragStart(event) {
|
||||
startDraggingBlocks();
|
||||
isDragging.current = true;
|
||||
startScrolling(event);
|
||||
|
||||
if (_onDragStart) {
|
||||
_onDragStart();
|
||||
}
|
||||
},
|
||||
onDragOver: scrollOnDragOver,
|
||||
onDragEnd: function onDragEnd() {
|
||||
stopDraggingBlocks();
|
||||
isDragging.current = false;
|
||||
stopScrolling();
|
||||
|
||||
if (_onDragEnd) {
|
||||
_onDragEnd();
|
||||
}
|
||||
},
|
||||
__experimentalDragComponent: Object(external_this_wp_element_["createElement"])(BlockDraggableChip, {
|
||||
clientIds: clientIds
|
||||
})
|
||||
}, function (_ref2) {
|
||||
var onDraggableStart = _ref2.onDraggableStart,
|
||||
onDraggableEnd = _ref2.onDraggableEnd;
|
||||
return children({
|
||||
isDraggable: true,
|
||||
onDraggableStart: onDraggableStart,
|
||||
onDraggableEnd: onDraggableEnd
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
/* harmony default export */ var block_draggable = (block_draggable_BlockDraggable);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-toolbar/utils.js
|
||||
|
||||
|
||||
|
|
@ -29379,6 +29373,7 @@ function useShowMoversGestures(_ref2) {
|
|||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
|
@ -29390,7 +29385,6 @@ function useShowMoversGestures(_ref2) {
|
|||
|
||||
|
||||
|
||||
|
||||
function BlockToolbar(_ref) {
|
||||
var hideDragHandle = _ref.hideDragHandle;
|
||||
|
||||
|
|
@ -29466,24 +29460,14 @@ function BlockToolbar(_ref) {
|
|||
className: "block-editor-block-toolbar__block-parent-selector-wrapper"
|
||||
}, Object(external_this_wp_element_["createElement"])(BlockParentSelector, {
|
||||
clientIds: blockClientIds
|
||||
})), (shouldShowVisualToolbar || isMultiToolbar) && Object(external_this_wp_element_["createElement"])(block_switcher, {
|
||||
})), (shouldShowVisualToolbar || isMultiToolbar) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], {
|
||||
className: "block-editor-block-toolbar__block-controls"
|
||||
}, Object(external_this_wp_element_["createElement"])(block_switcher, {
|
||||
clientIds: blockClientIds
|
||||
})), (shouldShowVisualToolbar || isMultiToolbar) && Object(external_this_wp_element_["createElement"])(block_draggable, {
|
||||
}), Object(external_this_wp_element_["createElement"])(block_mover, {
|
||||
clientIds: blockClientIds,
|
||||
cloneClassname: "block-editor-block-toolbar__drag-clone"
|
||||
}, function (_ref2) {
|
||||
var isDraggable = _ref2.isDraggable,
|
||||
onDraggableStart = _ref2.onDraggableStart,
|
||||
onDraggableEnd = _ref2.onDraggableEnd;
|
||||
return Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: "block-editor-block-toolbar__drag-handle-area",
|
||||
draggable: isDraggable && !hideDragHandle,
|
||||
onDragStart: onDraggableStart,
|
||||
onDragEnd: onDraggableEnd
|
||||
}, Object(external_this_wp_element_["createElement"])(block_mover, {
|
||||
clientIds: blockClientIds
|
||||
}));
|
||||
}), shouldShowVisualToolbar && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(block_controls.Slot, {
|
||||
hideDragHandle: hideDragHandle
|
||||
}))), shouldShowVisualToolbar && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(block_controls.Slot, {
|
||||
bubblesVirtually: true,
|
||||
className: "block-editor-block-toolbar__slot"
|
||||
}), Object(external_this_wp_element_["createElement"])(block_format_controls.Slot, {
|
||||
|
|
@ -33118,7 +33102,7 @@ var url_input_URLInput = /*#__PURE__*/function (_Component) {
|
|||
_this.bindSuggestionNode = _this.bindSuggestionNode.bind(Object(assertThisInitialized["a" /* default */])(_this));
|
||||
_this.autocompleteRef = props.autocompleteRef || Object(external_this_wp_element_["createRef"])();
|
||||
_this.inputRef = Object(external_this_wp_element_["createRef"])();
|
||||
_this.updateSuggestions = Object(external_this_lodash_["throttle"])(_this.updateSuggestions.bind(Object(assertThisInitialized["a" /* default */])(_this)), 200);
|
||||
_this.updateSuggestions = Object(external_this_lodash_["debounce"])(_this.updateSuggestions.bind(Object(assertThisInitialized["a" /* default */])(_this)), 200);
|
||||
_this.suggestionNodes = [];
|
||||
_this.isUpdatingSuggestions = false;
|
||||
_this.state = {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -3689,7 +3689,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
var extendStatics = function(d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
|
||||
|
|
@ -3775,8 +3775,16 @@ function __generator(thisArg, body) {
|
|||
}
|
||||
}
|
||||
|
||||
function __exportStar(m, exports) {
|
||||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
||||
var __createBinding = Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
});
|
||||
|
||||
function __exportStar(m, o) {
|
||||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
||||
}
|
||||
|
||||
function __values(o) {
|
||||
|
|
@ -3857,11 +3865,17 @@ function __makeTemplateObject(cooked, raw) {
|
|||
return cooked;
|
||||
};
|
||||
|
||||
var __setModuleDefault = Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
};
|
||||
|
||||
function __importStar(mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
||||
result.default = mod;
|
||||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
@ -4117,7 +4131,7 @@ function index_module_classNames() {
|
|||
}).join(' ').trim();
|
||||
}
|
||||
|
||||
var css = ".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n user-select: none;\n touch-action: none;\n cursor: move;\n}\n\n.reactEasyCrop_Image,\n.reactEasyCrop_Video {\n max-width: 100%;\n max-height: 100%;\n margin: auto;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */\n}\n\n.reactEasyCrop_CropArea {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border: 1px solid rgba(255, 255, 255, 0.5);\n box-sizing: border-box;\n box-shadow: 0 0 0 9999em;\n color: rgba(0, 0, 0, 0.5);\n overflow: hidden;\n}\n\n.reactEasyCrop_CropAreaRound {\n border-radius: 50%;\n}\n\n.reactEasyCrop_CropAreaGrid::before {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 0;\n bottom: 0;\n left: 33.33%;\n right: 33.33%;\n border-top: 0;\n border-bottom: 0;\n}\n\n.reactEasyCrop_CropAreaGrid::after {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 33.33%;\n bottom: 33.33%;\n left: 0;\n right: 0;\n border-left: 0;\n border-right: 0;\n}\n";
|
||||
var css_248z = ".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n user-select: none;\n touch-action: none;\n cursor: move;\n}\n\n.reactEasyCrop_Image,\n.reactEasyCrop_Video {\n max-width: 100%;\n max-height: 100%;\n margin: auto;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */\n}\n\n.reactEasyCrop_CropArea {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border: 1px solid rgba(255, 255, 255, 0.5);\n box-sizing: border-box;\n box-shadow: 0 0 0 9999em;\n color: rgba(0, 0, 0, 0.5);\n overflow: hidden;\n}\n\n.reactEasyCrop_CropAreaRound {\n border-radius: 50%;\n}\n\n.reactEasyCrop_CropAreaGrid::before {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 0;\n bottom: 0;\n left: 33.33%;\n right: 33.33%;\n border-top: 0;\n border-bottom: 0;\n}\n\n.reactEasyCrop_CropAreaGrid::after {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 33.33%;\n bottom: 33.33%;\n left: 0;\n right: 0;\n border-left: 0;\n border-right: 0;\n}\n";
|
||||
|
||||
var MIN_ZOOM = 1;
|
||||
var MAX_ZOOM = 3;
|
||||
|
|
@ -4209,7 +4223,7 @@ function (_super) {
|
|||
};
|
||||
|
||||
_this.computeSizes = function () {
|
||||
var _a, _b, _c, _d;
|
||||
var _a, _b, _c, _d, _e, _f;
|
||||
|
||||
var mediaRef = _this.imageRef || _this.videoRef;
|
||||
|
||||
|
|
@ -4223,6 +4237,10 @@ function (_super) {
|
|||
};
|
||||
var cropSize = _this.props.cropSize ? _this.props.cropSize : getCropSize(mediaRef.offsetWidth, mediaRef.offsetHeight, _this.containerRect.width, _this.containerRect.height, _this.props.aspect, _this.props.rotation);
|
||||
|
||||
if (((_e = _this.state.cropSize) === null || _e === void 0 ? void 0 : _e.height) !== cropSize.height || ((_f = _this.state.cropSize) === null || _f === void 0 ? void 0 : _f.width) !== cropSize.width) {
|
||||
_this.props.onCropSizeChange && _this.props.onCropSizeChange(cropSize);
|
||||
}
|
||||
|
||||
_this.setState({
|
||||
cropSize: cropSize
|
||||
}, _this.recomputeCropPosition);
|
||||
|
|
@ -4268,11 +4286,10 @@ function (_super) {
|
|||
};
|
||||
|
||||
_this.onDragStart = function (_a) {
|
||||
var x = _a.x,
|
||||
y = _a.y;
|
||||
|
||||
var _b, _c;
|
||||
|
||||
var x = _a.x,
|
||||
y = _a.y;
|
||||
_this.dragStartPosition = {
|
||||
x: x,
|
||||
y: y
|
||||
|
|
@ -4425,7 +4442,7 @@ function (_super) {
|
|||
if (!this.props.disableAutomaticStylesInjection) {
|
||||
this.styleRef = document.createElement('style');
|
||||
this.styleRef.setAttribute('type', 'text/css');
|
||||
this.styleRef.innerHTML = css;
|
||||
this.styleRef.innerHTML = css_248z;
|
||||
document.head.appendChild(this.styleRef);
|
||||
} // when rendered via SSR, the image can already be loaded and its onLoad callback will never be called
|
||||
|
||||
|
|
@ -4537,7 +4554,7 @@ function (_super) {
|
|||
containerClassName = _d.containerClassName,
|
||||
cropAreaClassName = _d.cropAreaClassName,
|
||||
mediaClassName = _d.mediaClassName;
|
||||
return external_this_React_default.a.createElement("div", {
|
||||
return /*#__PURE__*/external_this_React_default.a.createElement("div", {
|
||||
onMouseDown: this.onMouseDown,
|
||||
onTouchStart: this.onTouchStart,
|
||||
ref: function ref(el) {
|
||||
|
|
@ -4546,7 +4563,7 @@ function (_super) {
|
|||
"data-testid": "container",
|
||||
style: containerStyle,
|
||||
className: index_module_classNames('reactEasyCrop_Container', containerClassName)
|
||||
}, image ? external_this_React_default.a.createElement("img", __assign({
|
||||
}, image ? /*#__PURE__*/external_this_React_default.a.createElement("img", __assign({
|
||||
alt: "",
|
||||
className: index_module_classNames('reactEasyCrop_Image', mediaClassName)
|
||||
}, mediaProps, {
|
||||
|
|
@ -4558,7 +4575,7 @@ function (_super) {
|
|||
transform: transform || "translate(" + x + "px, " + y + "px) rotate(" + rotation + "deg) scale(" + zoom + ")"
|
||||
}),
|
||||
onLoad: this.onMediaLoad
|
||||
})) : video && external_this_React_default.a.createElement("video", __assign({
|
||||
})) : video && /*#__PURE__*/external_this_React_default.a.createElement("video", __assign({
|
||||
autoPlay: true,
|
||||
loop: true,
|
||||
muted: true,
|
||||
|
|
@ -4573,7 +4590,7 @@ function (_super) {
|
|||
transform: transform || "translate(" + x + "px, " + y + "px) rotate(" + rotation + "deg) scale(" + zoom + ")"
|
||||
}),
|
||||
controls: false
|
||||
})), this.state.cropSize && external_this_React_default.a.createElement("div", {
|
||||
})), this.state.cropSize && /*#__PURE__*/external_this_React_default.a.createElement("div", {
|
||||
style: __assign(__assign({}, cropAreaStyle), {
|
||||
width: this.state.cropSize.width,
|
||||
height: this.state.cropSize.height
|
||||
|
|
@ -26139,7 +26156,7 @@ module.exports = memize;
|
|||
/***/ 66:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1
|
||||
var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.2
|
||||
// https://github.com/bgrins/TinyColor
|
||||
// Brian Grinstead, MIT License
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue