UNPKG

19.1 kBMarkdownView Raw
1### WordPress - Web publishing software
2
3 Copyright 2011-2019 by the contributors
4
5This program is free software; you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by
7the Free Software Foundation; either version 2 of the License, or
8(at your option) any later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software
17Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
19This program incorporates work covered by the following copyright and
20permission notices:
21
22 b2 is (c) 2001, 2002 Michel Valdrighi - m@tidakada.com -
23 http://tidakada.com
24
25 Wherever third party code has been used, credit has been given in the code's
26 comments.
27
28 b2 is released under the GPL
29
30and
31
32 WordPress - Web publishing software
33
34 Copyright 2003-2010 by the contributors
35
36 WordPress is released under the GPL
37
38---
39
40### GNU GENERAL PUBLIC LICENSE
41
42Version 2, June 1991
43
44 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
45 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
46
47 Everyone is permitted to copy and distribute verbatim copies
48 of this license document, but changing it is not allowed.
49
50### Preamble
51
52The licenses for most software are designed to take away your freedom
53to share and change it. By contrast, the GNU General Public License is
54intended to guarantee your freedom to share and change free
55software--to make sure the software is free for all its users. This
56General Public License applies to most of the Free Software
57Foundation's software and to any other program whose authors commit to
58using it. (Some other Free Software Foundation software is covered by
59the GNU Lesser General Public License instead.) You can apply it to
60your programs, too.
61
62When we speak of free software, we are referring to freedom, not
63price. Our General Public Licenses are designed to make sure that you
64have the freedom to distribute copies of free software (and charge for
65this service if you wish), that you receive source code or can get it
66if you want it, that you can change the software or use pieces of it
67in new free programs; and that you know you can do these things.
68
69To protect your rights, we need to make restrictions that forbid
70anyone to deny you these rights or to ask you to surrender the rights.
71These restrictions translate to certain responsibilities for you if
72you distribute copies of the software, or if you modify it.
73
74For example, if you distribute copies of such a program, whether
75gratis or for a fee, you must give the recipients all the rights that
76you have. You must make sure that they, too, receive or can get the
77source code. And you must show them these terms so they know their
78rights.
79
80We protect your rights with two steps: (1) copyright the software, and
81(2) offer you this license which gives you legal permission to copy,
82distribute and/or modify the software.
83
84Also, for each author's protection and ours, we want to make certain
85that everyone understands that there is no warranty for this free
86software. If the software is modified by someone else and passed on,
87we want its recipients to know that what they have is not the
88original, so that any problems introduced by others will not reflect
89on the original authors' reputations.
90
91Finally, any free program is threatened constantly by software
92patents. We wish to avoid the danger that redistributors of a free
93program will individually obtain patent licenses, in effect making the
94program proprietary. To prevent this, we have made it clear that any
95patent must be licensed for everyone's free use or not licensed at
96all.
97
98The precise terms and conditions for copying, distribution and
99modification follow.
100
101### TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
102
103**0.** This License applies to any program or other work which
104contains a notice placed by the copyright holder saying it may be
105distributed under the terms of this General Public License. The
106"Program", below, refers to any such program or work, and a "work
107based on the Program" means either the Program or any derivative work
108under copyright law: that is to say, a work containing the Program or
109a portion of it, either verbatim or with modifications and/or
110translated into another language. (Hereinafter, translation is
111included without limitation in the term "modification".) Each licensee
112is addressed as "you".
113
114Activities other than copying, distribution and modification are not
115covered by this License; they are outside its scope. The act of
116running the Program is not restricted, and the output from the Program
117is covered only if its contents constitute a work based on the Program
118(independent of having been made by running the Program). Whether that
119is true depends on what the Program does.
120
121**1.** You may copy and distribute verbatim copies of the Program's
122source code as you receive it, in any medium, provided that you
123conspicuously and appropriately publish on each copy an appropriate
124copyright notice and disclaimer of warranty; keep intact all the
125notices that refer to this License and to the absence of any warranty;
126and give any other recipients of the Program a copy of this License
127along with the Program.
128
129You may charge a fee for the physical act of transferring a copy, and
130you may at your option offer warranty protection in exchange for a
131fee.
132
133**2.** You may modify your copy or copies of the Program or any
134portion of it, thus forming a work based on the Program, and copy and
135distribute such modifications or work under the terms of Section 1
136above, provided that you also meet all of these conditions:
137
138
139**a)** You must cause the modified files to carry prominent notices
140stating that you changed the files and the date of any change.
141
142
143**b)** You must cause any work that you distribute or publish, that in
144whole or in part contains or is derived from the Program or any part
145thereof, to be licensed as a whole at no charge to all third parties
146under the terms of this License.
147
148
149**c)** If the modified program normally reads commands interactively
150when run, you must cause it, when started running for such interactive
151use in the most ordinary way, to print or display an announcement
152including an appropriate copyright notice and a notice that there is
153no warranty (or else, saying that you provide a warranty) and that
154users may redistribute the program under these conditions, and telling
155the user how to view a copy of this License. (Exception: if the
156Program itself is interactive but does not normally print such an
157announcement, your work based on the Program is not required to print
158an announcement.)
159
160These requirements apply to the modified work as a whole. If
161identifiable sections of that work are not derived from the Program,
162and can be reasonably considered independent and separate works in
163themselves, then this License, and its terms, do not apply to those
164sections when you distribute them as separate works. But when you
165distribute the same sections as part of a whole which is a work based
166on the Program, the distribution of the whole must be on the terms of
167this License, whose permissions for other licensees extend to the
168entire whole, and thus to each and every part regardless of who wrote
169it.
170
171Thus, it is not the intent of this section to claim rights or contest
172your rights to work written entirely by you; rather, the intent is to
173exercise the right to control the distribution of derivative or
174collective works based on the Program.
175
176In addition, mere aggregation of another work not based on the Program
177with the Program (or with a work based on the Program) on a volume of
178a storage or distribution medium does not bring the other work under
179the scope of this License.
180
181**3.** You may copy and distribute the Program (or a work based on it,
182under Section 2) in object code or executable form under the terms of
183Sections 1 and 2 above provided that you also do one of the following:
184
185
186**a)** Accompany it with the complete corresponding machine-readable
187source code, which must be distributed under the terms of Sections 1
188and 2 above on a medium customarily used for software interchange; or,
189
190
191**b)** Accompany it with a written offer, valid for at least three
192years, to give any third party, for a charge no more than your cost of
193physically performing source distribution, a complete machine-readable
194copy of the corresponding source code, to be distributed under the
195terms of Sections 1 and 2 above on a medium customarily used for
196software interchange; or,
197
198
199**c)** Accompany it with the information you received as to the offer
200to distribute corresponding source code. (This alternative is allowed
201only for noncommercial distribution and only if you received the
202program in object code or executable form with such an offer, in
203accord with Subsection b above.)
204
205The source code for a work means the preferred form of the work for
206making modifications to it. For an executable work, complete source
207code means all the source code for all modules it contains, plus any
208associated interface definition files, plus the scripts used to
209control compilation and installation of the executable. However, as a
210special exception, the source code distributed need not include
211anything that is normally distributed (in either source or binary
212form) with the major components (compiler, kernel, and so on) of the
213operating system on which the executable runs, unless that component
214itself accompanies the executable.
215
216If distribution of executable or object code is made by offering
217access to copy from a designated place, then offering equivalent
218access to copy the source code from the same place counts as
219distribution of the source code, even though third parties are not
220compelled to copy the source along with the object code.
221
222**4.** You may not copy, modify, sublicense, or distribute the Program
223except as expressly provided under this License. Any attempt otherwise
224to copy, modify, sublicense or distribute the Program is void, and
225will automatically terminate your rights under this License. However,
226parties who have received copies, or rights, from you under this
227License will not have their licenses terminated so long as such
228parties remain in full compliance.
229
230**5.** You are not required to accept this License, since you have not
231signed it. However, nothing else grants you permission to modify or
232distribute the Program or its derivative works. These actions are
233prohibited by law if you do not accept this License. Therefore, by
234modifying or distributing the Program (or any work based on the
235Program), you indicate your acceptance of this License to do so, and
236all its terms and conditions for copying, distributing or modifying
237the Program or works based on it.
238
239**6.** Each time you redistribute the Program (or any work based on
240the Program), the recipient automatically receives a license from the
241original licensor to copy, distribute or modify the Program subject to
242these terms and conditions. You may not impose any further
243restrictions on the recipients' exercise of the rights granted herein.
244You are not responsible for enforcing compliance by third parties to
245this License.
246
247**7.** If, as a consequence of a court judgment or allegation of
248patent infringement or for any other reason (not limited to patent
249issues), conditions are imposed on you (whether by court order,
250agreement or otherwise) that contradict the conditions of this
251License, they do not excuse you from the conditions of this License.
252If you cannot distribute so as to satisfy simultaneously your
253obligations under this License and any other pertinent obligations,
254then as a consequence you may not distribute the Program at all. For
255example, if a patent license would not permit royalty-free
256redistribution of the Program by all those who receive copies directly
257or indirectly through you, then the only way you could satisfy both it
258and this License would be to refrain entirely from distribution of the
259Program.
260
261If any portion of this section is held invalid or unenforceable under
262any particular circumstance, the balance of the section is intended to
263apply and the section as a whole is intended to apply in other
264circumstances.
265
266It is not the purpose of this section to induce you to infringe any
267patents or other property right claims or to contest validity of any
268such claims; this section has the sole purpose of protecting the
269integrity of the free software distribution system, which is
270implemented by public license practices. Many people have made
271generous contributions to the wide range of software distributed
272through that system in reliance on consistent application of that
273system; it is up to the author/donor to decide if he or she is willing
274to distribute software through any other system and a licensee cannot
275impose that choice.
276
277This section is intended to make thoroughly clear what is believed to
278be a consequence of the rest of this License.
279
280**8.** If the distribution and/or use of the Program is restricted in
281certain countries either by patents or by copyrighted interfaces, the
282original copyright holder who places the Program under this License
283may add an explicit geographical distribution limitation excluding
284those countries, so that distribution is permitted only in or among
285countries not thus excluded. In such case, this License incorporates
286the limitation as if written in the body of this License.
287
288**9.** The Free Software Foundation may publish revised and/or new
289versions of the General Public License from time to time. Such new
290versions will be similar in spirit to the present version, but may
291differ in detail to address new problems or concerns.
292
293Each version is given a distinguishing version number. If the Program
294specifies a version number of this License which applies to it and
295"any later version", you have the option of following the terms and
296conditions either of that version or of any later version published by
297the Free Software Foundation. If the Program does not specify a
298version number of this License, you may choose any version ever
299published by the Free Software Foundation.
300
301**10.** If you wish to incorporate parts of the Program into other
302free programs whose distribution conditions are different, write to
303the author to ask for permission. For software which is copyrighted by
304the Free Software Foundation, write to the Free Software Foundation;
305we sometimes make exceptions for this. Our decision will be guided by
306the two goals of preserving the free status of all derivatives of our
307free software and of promoting the sharing and reuse of software
308generally.
309
310**NO WARRANTY**
311
312**11.** BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
313WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
314EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
315OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY
316KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
317IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
318PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
319PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
320THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
321
322**12.** IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
323WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
324AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU
325FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
326CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
327PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
328RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
329FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF
330SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
331DAMAGES.
332
333### END OF TERMS AND CONDITIONS
334
335### How to Apply These Terms to Your New Programs
336
337If you develop a new program, and you want it to be of the greatest
338possible use to the public, the best way to achieve this is to make it
339free software which everyone can redistribute and change under these
340terms.
341
342To do so, attach the following notices to the program. It is safest to
343attach them to the start of each source file to most effectively
344convey the exclusion of warranty; and each file should have at least
345the "copyright" line and a pointer to where the full notice is found.
346
347 one line to give the program's name and an idea of what it does.
348 Copyright (C) yyyy name of author
349
350 This program is free software; you can redistribute it and/or
351 modify it under the terms of the GNU General Public License
352 as published by the Free Software Foundation; either version 2
353 of the License, or (at your option) any later version.
354
355 This program is distributed in the hope that it will be useful,
356 but WITHOUT ANY WARRANTY; without even the implied warranty of
357 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
358 GNU General Public License for more details.
359
360 You should have received a copy of the GNU General Public License
361 along with this program; if not, write to the Free Software
362 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
363
364Also add information on how to contact you by electronic and paper
365mail.
366
367If the program is interactive, make it output a short notice like this
368when it starts in an interactive mode:
369
370 Gnomovision version 69, Copyright (C) year name of author
371 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
372 type `show w'. This is free software, and you are welcome
373 to redistribute it under certain conditions; type `show c'
374 for details.
375
376The hypothetical commands \`show w' and \`show c' should show the
377appropriate parts of the General Public License. Of course, the
378commands you use may be called something other than \`show w' and
379\`show c'; they could even be mouse-clicks or menu items--whatever
380suits your program.
381
382You should also get your employer (if you work as a programmer) or
383your school, if any, to sign a "copyright disclaimer" for the program,
384if necessary. Here is a sample; alter the names:
385
386 Yoyodyne, Inc., hereby disclaims all copyright
387 interest in the program `Gnomovision'
388 (which makes passes at compilers) written
389 by James Hacker.
390
391 signature of Ty Coon, 1 April 1989
392 Ty Coon, President of Vice
393
394This General Public License does not permit incorporating your program
395into proprietary programs. If your program is a subroutine library,
396you may consider it more useful to permit linking proprietary
397applications with the library. If this is what you want to do, use the
398[GNU Lesser General Public
399License](http://www.gnu.org/licenses/lgpl.html) instead of this
400License.