Version Description
WordPress.org accidentally released version 2.2 (A in-development re-work of Revision Control for WordPress 3.6+), This reverts the plugin back to the previous code, Sorry everyone :(
Download this release
Release Info
| Developer | dd32 |
| Plugin | |
| Version | 2.3 |
| Comparing to | |
| See all releases | |
Code changes from version 2.1 to 2.3
- langs/revision-control-pt_PT.mo +0 -0
- langs/revision-control-pt_PT.po +245 -0
- readme.txt +12 -4
- revision-control.php +4 -4
langs/revision-control-pt_PT.mo
ADDED
|
Binary file
|
langs/revision-control-pt_PT.po
ADDED
|
@@ -0,0 +1,245 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
msgid ""
|
| 2 |
+
msgstr ""
|
| 3 |
+
"Project-Id-Version: Revision Control 2.1 PT\n"
|
| 4 |
+
"Report-Msgid-Bugs-To: \n"
|
| 5 |
+
"POT-Creation-Date: 2011-08-23 19:06-0000\n"
|
| 6 |
+
"PO-Revision-Date: \n"
|
| 7 |
+
"Last-Translator: \n"
|
| 8 |
+
"Language-Team: mwJobs | http://jobs.mowster.net <jobs@mowster.net>\n"
|
| 9 |
+
"MIME-Version: 1.0\n"
|
| 10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
| 11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
| 12 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
| 13 |
+
"X-Poedit-Language: Portuguese\n"
|
| 14 |
+
"X-Poedit-Country: PORTUGAL\n"
|
| 15 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
| 16 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
| 17 |
+
"X-Poedit-Basepath: ../\n"
|
| 18 |
+
"X-Textdomain-Support: yes\n"
|
| 19 |
+
"X-Poedit-SearchPath-0: .\n"
|
| 20 |
+
|
| 21 |
+
# @ revision-control
|
| 22 |
+
#: revision-control.php:52
|
| 23 |
+
msgid "Are you sure you wish to delete the selected Revisions?"
|
| 24 |
+
msgstr "Tem a certeza que deseja apagar as Revisões selecionadas?"
|
| 25 |
+
|
| 26 |
+
# @ revision-control
|
| 27 |
+
#: revision-control.php:53
|
| 28 |
+
msgid ""
|
| 29 |
+
"Warning: Unlocking this post will cause the latest revision to be published!\\n"
|
| 30 |
+
"Continue?"
|
| 31 |
+
msgstr ""
|
| 32 |
+
"Atenção: Desbloqueando este artigo será publicada a última Revisão!\\n"
|
| 33 |
+
"Continuar?"
|
| 34 |
+
|
| 35 |
+
# @ revision-control
|
| 36 |
+
#: revision-control.php:54
|
| 37 |
+
msgid "Please select a Left and Right revision to compare"
|
| 38 |
+
msgstr "Por favor, escolha uma Revisão da esquerda e direita para comparar"
|
| 39 |
+
|
| 40 |
+
# @ revision-control
|
| 41 |
+
#: revision-control.php:55
|
| 42 |
+
msgid "Revision Compare"
|
| 43 |
+
msgstr "Revisões"
|
| 44 |
+
|
| 45 |
+
# @ revision-control
|
| 46 |
+
#: revision-control.php:76
|
| 47 |
+
#: revision-control.php:654
|
| 48 |
+
msgid "Revision Control"
|
| 49 |
+
msgstr "Controlo de Revisões"
|
| 50 |
+
|
| 51 |
+
# @ revision-control
|
| 52 |
+
#: revision-control.php:76
|
| 53 |
+
msgid "Revisions"
|
| 54 |
+
msgstr "Revisões"
|
| 55 |
+
|
| 56 |
+
# @ default
|
| 57 |
+
#: revision-control.php:83
|
| 58 |
+
msgid "Post Revisions"
|
| 59 |
+
msgstr "Revisões do Artigo"
|
| 60 |
+
|
| 61 |
+
# @ revision-control
|
| 62 |
+
#: revision-control.php:276
|
| 63 |
+
msgid "Default Revision Settings"
|
| 64 |
+
msgstr "Configurações por omissão"
|
| 65 |
+
|
| 66 |
+
# @ revision-control
|
| 67 |
+
#: revision-control.php:277
|
| 68 |
+
msgid "Unlimited number of Revisions"
|
| 69 |
+
msgstr "Número Ilimitado de Revisões"
|
| 70 |
+
|
| 71 |
+
# @ revision-control
|
| 72 |
+
#: revision-control.php:278
|
| 73 |
+
msgid "Do not store Revisions"
|
| 74 |
+
msgstr "Não armazenar Revisões"
|
| 75 |
+
|
| 76 |
+
# @ revision-control
|
| 77 |
+
#: revision-control.php:286
|
| 78 |
+
#: revision-control.php:289
|
| 79 |
+
#: revision-control.php:294
|
| 80 |
+
#, php-format
|
| 81 |
+
msgid "Maximum %s Revision stored"
|
| 82 |
+
msgid_plural "Maximum %s Revisions stored"
|
| 83 |
+
msgstr[0] "Max %s Revisão armazenada"
|
| 84 |
+
msgstr[1] "Max %s Revisões armazenadas"
|
| 85 |
+
|
| 86 |
+
# @ revision-control
|
| 87 |
+
#: revision-control.php:427
|
| 88 |
+
msgid "Sorry, But you cant compare unrelated Revisions."
|
| 89 |
+
msgstr "Desculpe, mas NÃO pode comparar Revisões sem parentesco"
|
| 90 |
+
|
| 91 |
+
# @ revision-control
|
| 92 |
+
#: revision-control.php:437
|
| 93 |
+
msgid "Sorry, But you cant compare a Revision to itself."
|
| 94 |
+
msgstr "Desculpe, mas NÃO pode comparar as mesmas Revisões"
|
| 95 |
+
|
| 96 |
+
# @ revision-control
|
| 97 |
+
#: revision-control.php:439
|
| 98 |
+
#, php-format
|
| 99 |
+
msgid "Compare Revisions of “%1$s”"
|
| 100 |
+
msgstr "Comparar Revisões de<br>“%1$s”"
|
| 101 |
+
|
| 102 |
+
# @ revision-control
|
| 103 |
+
#: revision-control.php:458
|
| 104 |
+
#, php-format
|
| 105 |
+
msgid "Older: %s"
|
| 106 |
+
msgstr "+ Antiga: %s"
|
| 107 |
+
|
| 108 |
+
# @ revision-control
|
| 109 |
+
#: revision-control.php:459
|
| 110 |
+
#, php-format
|
| 111 |
+
msgid "Newer: %s"
|
| 112 |
+
msgstr "+ Nova: %s"
|
| 113 |
+
|
| 114 |
+
# @ revision-control
|
| 115 |
+
#: revision-control.php:480
|
| 116 |
+
msgid "Post Meta"
|
| 117 |
+
msgstr "Artigo Meta"
|
| 118 |
+
|
| 119 |
+
# @ revision-control
|
| 120 |
+
#: revision-control.php:511
|
| 121 |
+
msgid "These Revisions are identical."
|
| 122 |
+
msgstr "Estas Revisões são idênticas."
|
| 123 |
+
|
| 124 |
+
# @ revision-control
|
| 125 |
+
#: revision-control.php:515
|
| 126 |
+
msgid "<em>Please Note:</em> at present, Although Taxonomies <em>(Tags / Categories / Custom Taxonomies)</em> are stored with the revisions, Restoring a Revision will <strong>not</strong> restore the taxonomies at present."
|
| 127 |
+
msgstr "<em>Nota:</em> Embora as Taxonomias <em>(Etiquetas / Categorias / Taxonomias Personalizadas)</em> são armazenadas nas revisões, reabilitar uma Revisão <strong>NÃO</strong> restabelece as Taxonomias dessa Revisão."
|
| 128 |
+
|
| 129 |
+
# @ revision-control
|
| 130 |
+
#: revision-control.php:542
|
| 131 |
+
msgid "<strong>Please Note</strong>: This module requires the use of Javascript."
|
| 132 |
+
msgstr "<strong>Nota</strong>: Este módulo necessita do JavaScript activado"
|
| 133 |
+
|
| 134 |
+
# @ revision-control
|
| 135 |
+
#: revision-control.php:552
|
| 136 |
+
msgid "Delete"
|
| 137 |
+
msgstr "Apagar"
|
| 138 |
+
|
| 139 |
+
# @ revision-control
|
| 140 |
+
#: revision-control.php:553
|
| 141 |
+
msgid "Compare"
|
| 142 |
+
msgstr "Comparar"
|
| 143 |
+
|
| 144 |
+
# @ revision-control
|
| 145 |
+
#: revision-control.php:554
|
| 146 |
+
msgid "Date Created"
|
| 147 |
+
msgstr "Data"
|
| 148 |
+
|
| 149 |
+
# @ revision-control
|
| 150 |
+
#: revision-control.php:555
|
| 151 |
+
msgid "Author"
|
| 152 |
+
msgstr "Autor"
|
| 153 |
+
|
| 154 |
+
# @ revision-control
|
| 155 |
+
#: revision-control.php:556
|
| 156 |
+
msgid "Actions"
|
| 157 |
+
msgstr "Tarefas"
|
| 158 |
+
|
| 159 |
+
# @ revision-control
|
| 160 |
+
#: revision-control.php:562
|
| 161 |
+
#, php-format
|
| 162 |
+
msgctxt "post revision 1:datetime, 2:name"
|
| 163 |
+
msgid "%1$s by %2$s"
|
| 164 |
+
msgstr "%1$s por %2$s"
|
| 165 |
+
|
| 166 |
+
# @ revision-control
|
| 167 |
+
#: revision-control.php:577
|
| 168 |
+
#, php-format
|
| 169 |
+
msgctxt "1: the Post_Type - Posts, Pages, etc. (plural always)"
|
| 170 |
+
msgid "Revisions are currently enabled for %s, However there are no current Autosaves or Revisions created.<br />They'll be listed here once you Save. Happy Writing!"
|
| 171 |
+
msgstr "Revisões estão habilitadas para %s. No entanto, não há Autosaves ou Revisões criadas. Serão listadas assim que começar a escrever. Boa escrita!"
|
| 172 |
+
|
| 173 |
+
# msgstr[1] "1: the Post_Type - Posts, Pages, etc. (plural always)
|
| 174 |
+
# @ revision-control
|
| 175 |
+
#: revision-control.php:605
|
| 176 |
+
msgid "Restore"
|
| 177 |
+
msgstr "Reabilitar"
|
| 178 |
+
|
| 179 |
+
# @ revision-control
|
| 180 |
+
#: revision-control.php:642
|
| 181 |
+
msgid "<strong>Error:</strong> <code>WP_POST_REVISIONS</code> is defined in your <code>wp-config.php</code>. <em>Revision Control</em> cannot operate."
|
| 182 |
+
msgstr "<strong>Erro:</strong> <code>WP_POST_REVISIONS</code>é definido no ficheiro <code>wp-config.php</code>. <em>Controlo de Revisões</em> não consegue operar."
|
| 183 |
+
|
| 184 |
+
# @ revision-control
|
| 185 |
+
#: revision-control.php:657
|
| 186 |
+
#, php-format
|
| 187 |
+
msgid "Currently storing a maximum of %s Revision"
|
| 188 |
+
msgid_plural "Currently storing a maximum of %s Revisions"
|
| 189 |
+
msgstr[0] "Atualmente armazenando um máximo de %s Revisão"
|
| 190 |
+
msgstr[1] "Atualmente armazenando um máximo de %s Revisões"
|
| 191 |
+
|
| 192 |
+
# @ revision-control
|
| 193 |
+
#: revision-control.php:659
|
| 194 |
+
msgid "Currently storing an Unlimited number of Revisions"
|
| 195 |
+
msgstr "Armazena um número Ilimitado de Revisões"
|
| 196 |
+
|
| 197 |
+
# @ revision-control
|
| 198 |
+
#: revision-control.php:661
|
| 199 |
+
msgid "Not storing any Revisions"
|
| 200 |
+
msgstr "Não armazenar Revisões"
|
| 201 |
+
|
| 202 |
+
# @ revision-control
|
| 203 |
+
#: revision-control.php:688
|
| 204 |
+
msgid "Revision Control Options"
|
| 205 |
+
msgstr "Controlo de Revisões : Opcções"
|
| 206 |
+
|
| 207 |
+
# @ revision-control
|
| 208 |
+
#: revision-control.php:689
|
| 209 |
+
msgid "Default revision status for <em>Post Types</em>"
|
| 210 |
+
msgstr "Estado da Revisão por omissão para <em>Tipos de Artigos</em>"
|
| 211 |
+
|
| 212 |
+
# @ revision-control
|
| 213 |
+
#: revision-control.php:707
|
| 214 |
+
msgid "Default Revision Status"
|
| 215 |
+
msgstr "Revisões por omissão"
|
| 216 |
+
|
| 217 |
+
# @ revision-control
|
| 218 |
+
#: revision-control.php:717
|
| 219 |
+
msgid "Post"
|
| 220 |
+
msgid_plural "Posts"
|
| 221 |
+
msgstr[0] "Artigo"
|
| 222 |
+
msgstr[1] "Artigos"
|
| 223 |
+
|
| 224 |
+
# @ revision-control
|
| 225 |
+
#: revision-control.php:719
|
| 226 |
+
msgid "Page"
|
| 227 |
+
msgid_plural "Pages"
|
| 228 |
+
msgstr[0] "Páginas"
|
| 229 |
+
msgstr[1] "Páginas"
|
| 230 |
+
|
| 231 |
+
# @ revision-control
|
| 232 |
+
#: revision-control.php:739
|
| 233 |
+
msgid "Revision Range"
|
| 234 |
+
msgstr "Intervalo de Revisões"
|
| 235 |
+
|
| 236 |
+
# @ revision-control
|
| 237 |
+
#: revision-control.php:741
|
| 238 |
+
msgid "<em><strong>Note:</strong> This field is special. It controls what appears in the Revision Options <code><select></code> fields.<br />The basic syntax of this is simple, fields are seperated by comma's.<br /> A field may either be a number, OR a range.<br /> For example: <strong>1,5</strong> displays 1 Revision, and 5 Revisions. <strong>1..5</strong> on the other hand, will display 1.. 2.. 3.. 4.. 5.. Revisions.<br /> <strong>If in doubt, Leave this field alone.</strong></em>"
|
| 239 |
+
msgstr "<em><strong>Nota:</strong> Este campo é especial. Controla a quantidade de Revisões mostradas através de campos <code><select></code>.<br />A sintaxe básica é simples, os campos estão separados por vírgulas.<br /> Um campo tanto pode ser um número, OU um intervalo.<br /> Por exemplo: <strong>1,5</strong> mostra a Revisão 1, e Revisão 5. <strong>1..5</strong> por outro lado, irá mostrar as Revisões 1.. 2.. 3.. 4.. 5.. .<br /> <strong>Em caso de dúvida, deixe este campo em branco.</strong></em>"
|
| 240 |
+
|
| 241 |
+
# @ revision-control
|
| 242 |
+
#: revision-control.php:745
|
| 243 |
+
msgid "Save Changes"
|
| 244 |
+
msgstr "Guardar alterações"
|
| 245 |
+
|
readme.txt
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
-
|
| 2 |
Contributors: dd32
|
| 3 |
Tags: revisions, post, admin
|
| 4 |
Requires at least: 3.2
|
| 5 |
-
Stable tag: 2.
|
| 6 |
|
| 7 |
Revision Control allows finer control over the Post Revision system included with WordPress
|
| 8 |
|
|
@@ -16,17 +16,25 @@ The plugin also allows the deletion of specific revisions via the Revisions post
|
|
| 16 |
|
| 17 |
== Ugrade Notice ==
|
| 18 |
|
|
|
|
|
|
|
|
|
|
| 19 |
= 2.1 =
|
| 20 |
Belorussian Translation, 3.2.x styling, Compare/Delete toggle fix, properly delete Taxonomy relationships.
|
| 21 |
|
| 22 |
== Changelog ==
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
= 2.1 =
|
| 25 |
* Belorussian Translation from MarcisG
|
| 26 |
* Bugfix: Delete Taxonomy relations for Revisions upon revision deletion
|
| 27 |
* Bigfix: Compare/Delete toggling
|
| 28 |
* Correct styling for WordPress 3.2+
|
| 29 |
-
*
|
| 30 |
|
| 31 |
= 2.0.1 =
|
| 32 |
* Small IE bug fix, Table formatting was a bit wacky.
|
|
@@ -100,4 +108,4 @@ The plugin also allows the deletion of specific revisions via the Revisions post
|
|
| 100 |
== Screenshots ==
|
| 101 |
|
| 102 |
1. The Revisions Meta box
|
| 103 |
-
2. Revision Controls global settings
|
| 1 |
+
=== Revision Control ===
|
| 2 |
Contributors: dd32
|
| 3 |
Tags: revisions, post, admin
|
| 4 |
Requires at least: 3.2
|
| 5 |
+
Stable tag: 2.3
|
| 6 |
|
| 7 |
Revision Control allows finer control over the Post Revision system included with WordPress
|
| 8 |
|
| 16 |
|
| 17 |
== Ugrade Notice ==
|
| 18 |
|
| 19 |
+
= 2.3 =
|
| 20 |
+
WordPress.org accidentally released version 2.2 (A in-development re-work of Revision Control for WordPress 3.6+), This reverts the plugin back to the previous code, Sorry everyone :(
|
| 21 |
+
|
| 22 |
= 2.1 =
|
| 23 |
Belorussian Translation, 3.2.x styling, Compare/Delete toggle fix, properly delete Taxonomy relationships.
|
| 24 |
|
| 25 |
== Changelog ==
|
| 26 |
|
| 27 |
+
= 2.3 =
|
| 28 |
+
* Revision Control 2.1 in disguise, WordPress.org accidentally released a development version as Version 2.2, This reverts the plugin to how it was with Version 2.1, Sorry everyone! :(
|
| 29 |
+
|
| 30 |
+
= 2.2 =
|
| 31 |
+
* Accidental release, This will become version 3.0 when released.
|
| 32 |
+
|
| 33 |
= 2.1 =
|
| 34 |
* Belorussian Translation from MarcisG
|
| 35 |
* Bugfix: Delete Taxonomy relations for Revisions upon revision deletion
|
| 36 |
* Bigfix: Compare/Delete toggling
|
| 37 |
* Correct styling for WordPress 3.2+
|
|
|
|
| 38 |
|
| 39 |
= 2.0.1 =
|
| 40 |
* Small IE bug fix, Table formatting was a bit wacky.
|
| 108 |
== Screenshots ==
|
| 109 |
|
| 110 |
1. The Revisions Meta box
|
| 111 |
+
2. Revision Controls global settings
|
revision-control.php
CHANGED
|
@@ -4,14 +4,14 @@ Plugin Name: Revision Control
|
|
| 4 |
Plugin URI: http://dd32.id.au/wordpress-plugins/revision-control/
|
| 5 |
Description: Allows finer control over the number of Revisions stored on a global & per-type/page basis.
|
| 6 |
Author: Dion Hulse
|
| 7 |
-
Version: 2.
|
| 8 |
*/
|
| 9 |
|
| 10 |
$GLOBALS['revision_control'] = new Plugin_Revision_Control( plugin_basename(__FILE__) );
|
| 11 |
class Plugin_Revision_Control {
|
| 12 |
var $basename = '';
|
| 13 |
var $folder = '';
|
| 14 |
-
var $version = '2.
|
| 15 |
|
| 16 |
var $define_failure = false;
|
| 17 |
var $options = array( 'per-type' => array('post' => 'unlimited', 'page' => 'unlimited', 'all' => 'unlimited'), 'revision-range' => '2..5,10,20,50,100' );
|
|
@@ -46,7 +46,7 @@ class Plugin_Revision_Control {
|
|
| 46 |
add_action($page, array(&$this, 'meta_box'));
|
| 47 |
|
| 48 |
wp_register_script('revision-control', plugins_url( $this->folder . '/revision-control.js' ), array('jquery', 'wp-ajax-response'), $this->version . time());
|
| 49 |
-
wp_register_style('revision-control', plugins_url( $this->folder . '/revision-control.css' ), array(), $this->version
|
| 50 |
wp_localize_script('revision-control', 'RevisionControl',
|
| 51 |
array(
|
| 52 |
'deleterevisions' => __('Are you sure you wish to delete the selected Revisions?', 'revision-control'),
|
|
@@ -747,4 +747,4 @@ class Plugin_Revision_Control_UI {
|
|
| 747 |
</form>';
|
| 748 |
echo '</div>';
|
| 749 |
}
|
| 750 |
-
}
|
| 4 |
Plugin URI: http://dd32.id.au/wordpress-plugins/revision-control/
|
| 5 |
Description: Allows finer control over the number of Revisions stored on a global & per-type/page basis.
|
| 6 |
Author: Dion Hulse
|
| 7 |
+
Version: 2.3
|
| 8 |
*/
|
| 9 |
|
| 10 |
$GLOBALS['revision_control'] = new Plugin_Revision_Control( plugin_basename(__FILE__) );
|
| 11 |
class Plugin_Revision_Control {
|
| 12 |
var $basename = '';
|
| 13 |
var $folder = '';
|
| 14 |
+
var $version = '2.3';
|
| 15 |
|
| 16 |
var $define_failure = false;
|
| 17 |
var $options = array( 'per-type' => array('post' => 'unlimited', 'page' => 'unlimited', 'all' => 'unlimited'), 'revision-range' => '2..5,10,20,50,100' );
|
| 46 |
add_action($page, array(&$this, 'meta_box'));
|
| 47 |
|
| 48 |
wp_register_script('revision-control', plugins_url( $this->folder . '/revision-control.js' ), array('jquery', 'wp-ajax-response'), $this->version . time());
|
| 49 |
+
wp_register_style('revision-control', plugins_url( $this->folder . '/revision-control.css' ), array(), $this->version);
|
| 50 |
wp_localize_script('revision-control', 'RevisionControl',
|
| 51 |
array(
|
| 52 |
'deleterevisions' => __('Are you sure you wish to delete the selected Revisions?', 'revision-control'),
|
| 747 |
</form>';
|
| 748 |
echo '</div>';
|
| 749 |
}
|
| 750 |
+
}
|
