WP-PageNavi - Version 2.87

Version Description

  • NEW: Uses WordPress native uninstall.php
Download this release

Release Info

Developer GamerZ
Plugin Icon WP-PageNavi
Version 2.87
Comparing to
See all releases

Code changes from version 2.86 to 2.87

core.php CHANGED
@@ -71,13 +71,13 @@ function wp_pagenavi( $args = array() ) {
71
  $pages_text = str_replace(
72
  array( "%CURRENT_PAGE%", "%TOTAL_PAGES%" ),
73
  array( number_format_i18n( $paged ), number_format_i18n( $total_pages ) ),
74
- $options['pages_text'] );
75
  $out .= "<span class='pages'>$pages_text</span>";
76
  }
77
 
78
  if ( $start_page >= 2 && $pages_to_show < $total_pages ) {
79
  // First
80
- $first_text = str_replace( '%TOTAL_PAGES%', number_format_i18n( $total_pages ), $options['first_text'] );
81
  $out .= $instance->get_single( 1, $first_text, array(
82
  'class' => 'first'
83
  ), '%TOTAL_PAGES%' );
@@ -161,7 +161,7 @@ function wp_pagenavi( $args = array() ) {
161
 
162
  if ( $end_page < $total_pages ) {
163
  // Last
164
- $out .= $instance->get_single( $total_pages, $options['last_text'], array(
165
  'class' => 'last',
166
  ), '%TOTAL_PAGES%' );
167
  }
71
  $pages_text = str_replace(
72
  array( "%CURRENT_PAGE%", "%TOTAL_PAGES%" ),
73
  array( number_format_i18n( $paged ), number_format_i18n( $total_pages ) ),
74
+ __( $options['pages_text'], 'wp-pagenavi' ) );
75
  $out .= "<span class='pages'>$pages_text</span>";
76
  }
77
 
78
  if ( $start_page >= 2 && $pages_to_show < $total_pages ) {
79
  // First
80
+ $first_text = str_replace( '%TOTAL_PAGES%', number_format_i18n( $total_pages ), __( $options['first_text'], 'wp-pagenavi' ) );
81
  $out .= $instance->get_single( 1, $first_text, array(
82
  'class' => 'first'
83
  ), '%TOTAL_PAGES%' );
161
 
162
  if ( $end_page < $total_pages ) {
163
  // Last
164
+ $out .= $instance->get_single( $total_pages, __( $options['last_text'], 'wp-pagenavi' ), array(
165
  'class' => 'last',
166
  ), '%TOTAL_PAGES%' );
167
  }
lang/wp-pagenavi-hu_HU.mo ADDED
Binary file
lang/wp-pagenavi-hu_HU.po ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of the WordPress plugin WP-PageNavi 2.73 by Lester 'GaMerZ' Chan & scribu.
2
+ # Copyright (C) 2010 Lester 'GaMerZ' Chan & scribu
3
+ # This file is distributed under the same license as the WP-PageNavi package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: WP-PageNavi 2.86\n"
9
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-pagenavi\n"
10
+ "POT-Creation-Date: 2010-08-17 17:28+0300\n"
11
+ "PO-Revision-Date: 2014-11-04 22:13+0100\n"
12
+ "Last-Translator: RotiSoft <info@rotisoft.hu>\n"
13
+ "Language-Team: Rotisoft.hu <tamas@rotisoft.hu>\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Language: hu_HU\n"
19
+ "X-Generator: Poedit 1.6.3\n"
20
+
21
+ #: admin.php:9
22
+ msgid "PageNavi Settings"
23
+ msgstr "PageNavi beállítások"
24
+
25
+ #: admin.php:10
26
+ msgid "PageNavi"
27
+ msgstr "PageNavi / Navigáció"
28
+
29
+ #: admin.php:28
30
+ msgid "Text For Number Of Pages"
31
+ msgstr "Megjelenő szöveg"
32
+
33
+ #: admin.php:33
34
+ msgid "The current page number."
35
+ msgstr "Aktuális oldal száma"
36
+
37
+ #: admin.php:34 admin.php:58 admin.php:66
38
+ msgid "The total number of pages."
39
+ msgstr "Az össz lapszám"
40
+
41
+ #: admin.php:38
42
+ msgid "Text For Current Page"
43
+ msgstr "Megjelenés az aktuálisnál"
44
+
45
+ #: admin.php:42 admin.php:50
46
+ msgid "The page number."
47
+ msgstr "Az oldalszám, szövegre cserélheted ha akarod"
48
+
49
+ #: admin.php:46
50
+ msgid "Text For Page"
51
+ msgstr "Oldal szövege"
52
+
53
+ #: admin.php:54
54
+ msgid "Text For First Page"
55
+ msgstr "Első oldal szövege"
56
+
57
+ #: admin.php:62
58
+ msgid "Text For Last Page"
59
+ msgstr "Utolsó oldal szövege"
60
+
61
+ #: admin.php:70
62
+ msgid "Text For Previous Page"
63
+ msgstr "Előzőkhöz lapozás"
64
+
65
+ #: admin.php:76
66
+ msgid "Text For Next Page"
67
+ msgstr "Következőkhöz lapozás "
68
+
69
+ #: admin.php:82
70
+ msgid "Text For Previous ..."
71
+ msgstr "Előzők szövege"
72
+
73
+ #: admin.php:88
74
+ msgid "Text For Next ..."
75
+ msgstr "Következők szövege"
76
+
77
+ #: admin.php:95
78
+ msgid "Page Navigation Text"
79
+ msgstr "A megjelenő linkek és szavak megadása"
80
+
81
+ #: admin.php:96
82
+ msgid "Leaving a field blank will hide that part of the navigation."
83
+ msgstr "Hagyd üresen a mezőt, ha nem szeretnél az adott részhez megjeleníteni."
84
+
85
+ #: admin.php:102
86
+ msgid "Use pagenavi-css.css"
87
+ msgstr "Gyári pagenavi-css stíluslap használata"
88
+
89
+ #: admin.php:108
90
+ msgid "Page Navigation Style"
91
+ msgstr "Navigáció stílusána"
92
+
93
+ #: admin.php:111
94
+ msgid "Normal"
95
+ msgstr "Alapértelmezett, vízszintes számsor"
96
+
97
+ #: admin.php:111
98
+ msgid "Drop-down List"
99
+ msgstr "Lenyíló lista"
100
+
101
+ #: admin.php:116
102
+ msgid "Always Show Page Navigation"
103
+ msgstr "Navigáció állandó megjelenítése"
104
+
105
+ #: admin.php:119
106
+ msgid "Show navigation even if there's only one page."
107
+ msgstr "Ha egy oldal van, akkor is megjelenjen a navigáció?"
108
+
109
+ #: admin.php:123
110
+ msgid "Number Of Pages To Show"
111
+ msgstr "Oldalszámok kis léptékben"
112
+
113
+ #: admin.php:130
114
+ msgid "Number Of Larger Page Numbers To Show"
115
+ msgstr "Oldalszámok nagy léptékben"
116
+
117
+ #: admin.php:135
118
+ msgid ""
119
+ "Larger page numbers are in addition to the normal page numbers. They are "
120
+ "useful when there are many pages of posts."
121
+ msgstr ""
122
+ "Az aktuális oldal számához viszonyítva, hány szomszédos oldalszámot "
123
+ "mutasson. Például: 1,2,3,5,10,15,20. A 0 értékkel tudod kikapcsolni."
124
+
125
+ #: admin.php:136
126
+ msgid ""
127
+ "For example, WP-PageNavi will display: Pages 1, 2, 3, 4, 5, 10, 20, 30, 40, "
128
+ "50."
129
+ msgstr "Példa, ha 10 van értéknek megadva: 1, 2, 3, 4, 5, 10, 20, 30, 40, 50."
130
+
131
+ #: admin.php:137
132
+ msgid "Enter 0 to disable."
133
+ msgstr "A 0 nem megengedett érték."
134
+
135
+ #: admin.php:141
136
+ msgid "Show Larger Page Numbers In Multiples Of"
137
+ msgstr "Mutassa a nagy léptéket"
138
+
139
+ #: admin.php:146
140
+ msgid "For example, if mutiple is 5, it will show: 5, 10, 15, 20, 25"
141
+ msgstr "Példa: Ha az értéke 5, akkor így fog megjelenni: 5, 10, 15, 20, 25"
142
+
143
+ #: admin.php:151
144
+ msgid "Page Navigation Options"
145
+ msgstr "Navigáció beállítása"
146
+
147
+ #: scb/AdminPage.php:167
148
+ msgid "Settings <strong>saved</strong>."
149
+ msgstr "Beállítások <strong>sikeresen módosítva</strong>."
150
+
151
+ #: scb/AdminPage.php:179 scb/AdminPage.php:189
152
+ msgid "Save Changes"
153
+ msgstr "Beállítások mentése"
154
+
155
+ #: scb/AdminPage.php:371
156
+ msgid "Settings"
157
+ msgstr "Beállítások"
158
+
159
+ #: wp-pagenavi.php:37
160
+ msgid "Page %CURRENT_PAGE% of %TOTAL_PAGES%"
161
+ msgstr "%CURRENT_PAGE% / %TOTAL_PAGES% oldal"
162
+
163
+ #: wp-pagenavi.php:40
164
+ msgid "&laquo; First"
165
+ msgstr "&laquo; Első"
166
+
167
+ #: wp-pagenavi.php:41
168
+ msgid "Last &raquo;"
169
+ msgstr "Utolsó &raquo;"
170
+
171
+ #: wp-pagenavi.php:42
172
+ msgid "&laquo;"
173
+ msgstr "&laquo;"
174
+
175
+ #: wp-pagenavi.php:43
176
+ msgid "&raquo;"
177
+ msgstr "&raquo;"
178
+
179
+ #: wp-pagenavi.php:44 wp-pagenavi.php:45
180
+ msgid "..."
181
+ msgstr "..."
182
+
183
+ #. Plugin Name of the plugin/theme
184
+ msgid "WP-PageNavi"
185
+ msgstr "WP-PageNavi / Navigációs bővítmény"
186
+
187
+ #. Plugin URI of the plugin/theme
188
+ msgid "http://wordpress.org/extend/plugins/wp-pagenavi/"
189
+ msgstr "http://wordpress.org/extend/plugins/wp-pagenavi/"
190
+
191
+ #. Description of the plugin/theme
192
+ msgid "Adds a more advanced paging navigation to your WordPress blog"
193
+ msgstr ""
194
+ "Számozott navigációs bővítmény, mellyel könnyebben lapozhatóak a "
195
+ "bejegyzések, oldalak."
196
+
197
+ #. Author of the plugin/theme
198
+ msgid "Lester 'GaMerZ' Chan & scribu"
199
+ msgstr "Lester 'GaMerZ' Chan & scribu"
lang/wp-pagenavi-pt_PT.mo CHANGED
Binary file
lang/wp-pagenavi-pt_PT.po CHANGED
@@ -1,27 +1,33 @@
1
- # Translation of the WordPress plugin WP-PageNavi 2.72 by Lester 'GaMerZ' Chan & scribu.
2
  # Copyright (C) 2010 Lester 'GaMerZ' Chan & scribu
3
  # This file is distributed under the same license as the WP-PageNavi package.
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
  #
6
  msgid ""
7
  msgstr ""
8
- "Project-Id-Version: WP-PageNavi 2.85\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-pagenavi\n"
10
- "POT-Creation-Date: 2014-03-03 17:39+0800\n"
11
- "PO-Revision-Date: 2014-05-28 09:17-0000\n"
12
  "Last-Translator: Pedro Mendonça <ped.gaspar@gmail.com>\n"
13
  "Language-Team: Pedro Mendonça <ped.gaspar@gmail.com>\n"
14
  "Language: pt_PT\n"
15
  "MIME-Version: 1.0\n"
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
  "Content-Transfer-Encoding: 8bit\n"
18
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
- "X-Generator: Poedit 1.6.4\n"
20
  "X-Poedit-SourceCharset: UTF-8\n"
 
 
 
 
 
 
 
21
 
22
  #: admin.php:9
23
  msgid "PageNavi Settings"
24
- msgstr "Configurações do PageNavi"
25
 
26
  #: admin.php:10
27
  msgid "PageNavi"
@@ -29,7 +35,7 @@ msgstr "PageNavi"
29
 
30
  #: admin.php:29
31
  msgid "Text For Number Of Pages"
32
- msgstr "Texto para Número de Páginas"
33
 
34
  #: admin.php:34
35
  msgid "The current page number."
@@ -41,7 +47,7 @@ msgstr "Número total de páginas."
41
 
42
  #: admin.php:39
43
  msgid "Text For Current Page"
44
- msgstr "Texto para Página Atual"
45
 
46
  #: admin.php:43 admin.php:51
47
  msgid "The page number."
@@ -49,35 +55,35 @@ msgstr "Número da página."
49
 
50
  #: admin.php:47
51
  msgid "Text For Page"
52
- msgstr "Texto para Página"
53
 
54
  #: admin.php:55
55
  msgid "Text For First Page"
56
- msgstr "Texto para Primeira Página"
57
 
58
  #: admin.php:63
59
  msgid "Text For Last Page"
60
- msgstr "Texto para Última Página"
61
 
62
  #: admin.php:71
63
  msgid "Text For Previous Page"
64
- msgstr "Texto para Página Anterior"
65
 
66
  #: admin.php:77
67
  msgid "Text For Next Page"
68
- msgstr "Texto para Página Seguinte"
69
 
70
  #: admin.php:83
71
  msgid "Text For Previous ..."
72
- msgstr "Texto para Anterior ..."
73
 
74
  #: admin.php:89
75
  msgid "Text For Next ..."
76
- msgstr "Texto para Seguinte ..."
77
 
78
  #: admin.php:96
79
  msgid "Page Navigation Text"
80
- msgstr "Texto da Paginação"
81
 
82
  #: admin.php:97
83
  msgid "Leaving a field blank will hide that part of the navigation."
@@ -97,7 +103,7 @@ msgstr "Não"
97
 
98
  #: admin.php:110
99
  msgid "Page Navigation Style"
100
- msgstr "Estilos da Paginação"
101
 
102
  #: admin.php:113
103
  msgid "Normal"
@@ -109,7 +115,7 @@ msgstr "Selector"
109
 
110
  #: admin.php:118
111
  msgid "Always Show Page Navigation"
112
- msgstr "Mostrar sempre a Paginação"
113
 
114
  #: admin.php:122
115
  msgid "Show navigation even if there's only one page."
@@ -117,18 +123,18 @@ msgstr "Mostrar a navegação mesmo que exista apenas uma página."
117
 
118
  #: admin.php:126
119
  msgid "Number Of Pages To Show"
120
- msgstr "Quantidade de Páginas a mostrar"
121
 
122
  #: admin.php:133
123
  msgid "Number Of Larger Page Numbers To Show"
124
- msgstr "Quantidade de Páginas Distantes a mostrar"
125
 
126
  #: admin.php:138
127
  msgid ""
128
  "Larger page numbers are in addition to the normal page numbers. They are "
129
  "useful when there are many pages of posts."
130
  msgstr ""
131
- "Serão acrescentados números de Páginas Distantes à numeração normal. São "
132
  "úteis quando existem muitas páginas de artigos."
133
 
134
  #: admin.php:139
@@ -145,7 +151,7 @@ msgstr "Insira 0 para desactivar."
145
 
146
  #: admin.php:144
147
  msgid "Show Larger Page Numbers In Multiples Of"
148
- msgstr "Mostrar Páginas Distantes em múltiplos de"
149
 
150
  #: admin.php:149
151
  msgid "For example, if mutiple is 5, it will show: 5, 10, 15, 20, 25"
@@ -154,37 +160,37 @@ msgstr ""
154
 
155
  #: admin.php:154
156
  msgid "Page Navigation Options"
157
- msgstr "Opções da Paginação"
158
 
159
  #: scb/AdminPage.php:228
160
  msgid "Settings <strong>saved</strong>."
161
- msgstr "Configurações <strong>guardadas</strong>."
162
 
163
  #: scb/AdminPage.php:467
164
  msgid "Settings"
165
- msgstr "Configurações"
166
 
167
- #: wp-pagenavi.php:20
168
  msgid "Page %CURRENT_PAGE% of %TOTAL_PAGES%"
169
  msgstr "Página %CURRENT_PAGE% de %TOTAL_PAGES%"
170
 
171
- #: wp-pagenavi.php:23
172
  msgid "&laquo; First"
173
  msgstr "&laquo; Primeira"
174
 
175
- #: wp-pagenavi.php:24
176
  msgid "Last &raquo;"
177
  msgstr "Última &raquo;"
178
 
179
- #: wp-pagenavi.php:25
180
  msgid "&laquo;"
181
  msgstr "&laquo;"
182
 
183
- #: wp-pagenavi.php:26
184
  msgid "&raquo;"
185
  msgstr "&raquo;"
186
 
187
- #: wp-pagenavi.php:27 wp-pagenavi.php:28
188
  msgid "..."
189
  msgstr "..."
190
 
1
+ # Translation of the WordPress plugin WP-PageNavi 2.8.7 by Lester 'GaMerZ' Chan & scribu.
2
  # Copyright (C) 2010 Lester 'GaMerZ' Chan & scribu
3
  # This file is distributed under the same license as the WP-PageNavi package.
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
  #
6
  msgid ""
7
  msgstr ""
8
+ "Project-Id-Version: WP-PageNavi 2.8.7\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-pagenavi\n"
10
+ "POT-Creation-Date: 2015-01-28 15:51-0000\n"
11
+ "PO-Revision-Date: 2015-01-28 15:51-0000\n"
12
  "Last-Translator: Pedro Mendonça <ped.gaspar@gmail.com>\n"
13
  "Language-Team: Pedro Mendonça <ped.gaspar@gmail.com>\n"
14
  "Language: pt_PT\n"
15
  "MIME-Version: 1.0\n"
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
  "Content-Transfer-Encoding: 8bit\n"
18
+ "X-Generator: Poedit 1.7.4\n"
 
19
  "X-Poedit-SourceCharset: UTF-8\n"
20
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
21
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;"
22
+ "esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;"
23
+ "esc_html_x:1,2c\n"
24
+ "X-Poedit-Basepath: ..\n"
25
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
26
+ "X-Poedit-SearchPath-0: .\n"
27
 
28
  #: admin.php:9
29
  msgid "PageNavi Settings"
30
+ msgstr "Definições do PageNavi"
31
 
32
  #: admin.php:10
33
  msgid "PageNavi"
35
 
36
  #: admin.php:29
37
  msgid "Text For Number Of Pages"
38
+ msgstr "Texto para número de páginas"
39
 
40
  #: admin.php:34
41
  msgid "The current page number."
47
 
48
  #: admin.php:39
49
  msgid "Text For Current Page"
50
+ msgstr "Texto para página actual"
51
 
52
  #: admin.php:43 admin.php:51
53
  msgid "The page number."
55
 
56
  #: admin.php:47
57
  msgid "Text For Page"
58
+ msgstr "Texto para página"
59
 
60
  #: admin.php:55
61
  msgid "Text For First Page"
62
+ msgstr "Texto para primeira página"
63
 
64
  #: admin.php:63
65
  msgid "Text For Last Page"
66
+ msgstr "Texto para última página"
67
 
68
  #: admin.php:71
69
  msgid "Text For Previous Page"
70
+ msgstr "Texto para página anterior"
71
 
72
  #: admin.php:77
73
  msgid "Text For Next Page"
74
+ msgstr "Texto para página seguinte"
75
 
76
  #: admin.php:83
77
  msgid "Text For Previous ..."
78
+ msgstr "Texto para anterior ..."
79
 
80
  #: admin.php:89
81
  msgid "Text For Next ..."
82
+ msgstr "Texto para seguinte ..."
83
 
84
  #: admin.php:96
85
  msgid "Page Navigation Text"
86
+ msgstr "Texto da paginação"
87
 
88
  #: admin.php:97
89
  msgid "Leaving a field blank will hide that part of the navigation."
103
 
104
  #: admin.php:110
105
  msgid "Page Navigation Style"
106
+ msgstr "Estilos da paginação"
107
 
108
  #: admin.php:113
109
  msgid "Normal"
115
 
116
  #: admin.php:118
117
  msgid "Always Show Page Navigation"
118
+ msgstr "Mostrar sempre a paginação"
119
 
120
  #: admin.php:122
121
  msgid "Show navigation even if there's only one page."
123
 
124
  #: admin.php:126
125
  msgid "Number Of Pages To Show"
126
+ msgstr "Quantidade de páginas a mostrar"
127
 
128
  #: admin.php:133
129
  msgid "Number Of Larger Page Numbers To Show"
130
+ msgstr "Quantidade de páginas pistantes a mostrar"
131
 
132
  #: admin.php:138
133
  msgid ""
134
  "Larger page numbers are in addition to the normal page numbers. They are "
135
  "useful when there are many pages of posts."
136
  msgstr ""
137
+ "Serão acrescentados números de páginas distantes à numeração normal. São "
138
  "úteis quando existem muitas páginas de artigos."
139
 
140
  #: admin.php:139
151
 
152
  #: admin.php:144
153
  msgid "Show Larger Page Numbers In Multiples Of"
154
+ msgstr "Mostrar páginas distantes em múltiplos de"
155
 
156
  #: admin.php:149
157
  msgid "For example, if mutiple is 5, it will show: 5, 10, 15, 20, 25"
160
 
161
  #: admin.php:154
162
  msgid "Page Navigation Options"
163
+ msgstr "Opções da paginação"
164
 
165
  #: scb/AdminPage.php:228
166
  msgid "Settings <strong>saved</strong>."
167
+ msgstr "Definições <strong>guardadas</strong>."
168
 
169
  #: scb/AdminPage.php:467
170
  msgid "Settings"
171
+ msgstr "Definições"
172
 
173
+ #: wp-pagenavi.php:21
174
  msgid "Page %CURRENT_PAGE% of %TOTAL_PAGES%"
175
  msgstr "Página %CURRENT_PAGE% de %TOTAL_PAGES%"
176
 
177
+ #: wp-pagenavi.php:24
178
  msgid "&laquo; First"
179
  msgstr "&laquo; Primeira"
180
 
181
+ #: wp-pagenavi.php:25
182
  msgid "Last &raquo;"
183
  msgstr "Última &raquo;"
184
 
185
+ #: wp-pagenavi.php:26
186
  msgid "&laquo;"
187
  msgstr "&laquo;"
188
 
189
+ #: wp-pagenavi.php:27
190
  msgid "&raquo;"
191
  msgstr "&raquo;"
192
 
193
+ #: wp-pagenavi.php:28 wp-pagenavi.php:29
194
  msgid "..."
195
  msgstr "..."
196
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: GamerZ, scribu
3
  Donate link: http://lesterchan.net/site/donation/
4
  Tags: navigation, pagination, paging, pages
5
  Requires at least: 3.2
6
- Tested up to: 4.0
7
- Stable tag: 2.86
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -26,6 +26,9 @@ Help to translate at <https://translate.foe-services.de/projects/wp-pagenavi>.
26
  = Credits =
27
  * Plugin icon by [SimpleIcon](http://www.simpleicon.com) from [Flaticon](http://www.flaticon.com)
28
 
 
 
 
29
  == Installation ==
30
 
31
  You can either install it automatically from the WordPress admin, or do it manually:
@@ -66,8 +69,8 @@ Alternatively, you can uncheck the "Use pagenavi.css?" option from the settings
66
 
67
  == Screenshots ==
68
 
69
- 1. Default appearance
70
- 2. Options page
71
 
72
  == Frequently Asked Questions ==
73
 
@@ -95,6 +98,9 @@ You can do that like so:
95
  `<?php wp_pagenavi( array( 'options' => PageNavi_Core::$options->get_defaults() ) ); ?>`
96
 
97
  == Changelog ==
 
 
 
98
  = 2.86 =
99
  * NEW: Bump to 4.0
100
  * NEW: Added rel=next and rel=previous
3
  Donate link: http://lesterchan.net/site/donation/
4
  Tags: navigation, pagination, paging, pages
5
  Requires at least: 3.2
6
+ Tested up to: 4.2
7
+ Stable tag: 2.87
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
26
  = Credits =
27
  * Plugin icon by [SimpleIcon](http://www.simpleicon.com) from [Flaticon](http://www.flaticon.com)
28
 
29
+ = Donations =
30
+ I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.
31
+
32
  == Installation ==
33
 
34
  You can either install it automatically from the WordPress admin, or do it manually:
69
 
70
  == Screenshots ==
71
 
72
+ 1. With Custom Styling
73
+ 2. Admin - Options Page
74
 
75
  == Frequently Asked Questions ==
76
 
98
  `<?php wp_pagenavi( array( 'options' => PageNavi_Core::$options->get_defaults() ) ); ?>`
99
 
100
  == Changelog ==
101
+ = 2.87 =
102
+ * NEW: Uses WordPress native uninstall.php
103
+
104
  = 2.86 =
105
  * NEW: Bump to 4.0
106
  * NEW: Added rel=next and rel=previous
uninstall.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Uninstall plugin
4
+ */
5
+ if ( !defined( 'WP_UNINSTALL_PLUGIN' ) )
6
+ exit ();
7
+
8
+ $option_names = array(
9
+ 'pagenavi_options'
10
+ );
11
+
12
+
13
+ if ( is_multisite() ) {
14
+ $ms_sites = wp_get_sites();
15
+
16
+ if( 0 < sizeof( $ms_sites ) ) {
17
+ foreach ( $ms_sites as $ms_site ) {
18
+ switch_to_blog( $ms_site['blog_id'] );
19
+ if( sizeof( $option_names ) > 0 ) {
20
+ foreach( $option_names as $option_name ) {
21
+ delete_option( $option_name );
22
+ plugin_uninstalled();
23
+ }
24
+ }
25
+ }
26
+ }
27
+
28
+ restore_current_blog();
29
+ } else {
30
+ if( sizeof( $option_names ) > 0 ) {
31
+ foreach( $option_names as $option_name ) {
32
+ delete_option( $option_name );
33
+ plugin_uninstalled();
34
+ }
35
+ }
36
+ }
37
+
38
+ /**
39
+ * Delete plugin table when uninstalled
40
+ *
41
+ * @access public
42
+ * @return void
43
+ */
44
+ function plugin_uninstalled() {
45
+ global $wpdb;
46
+ }
wp-pagenavi.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP-PageNavi
4
  Plugin URI: http://lesterchan.net/portfolio/programming/php/
5
  Description: Adds a more advanced paging navigation to your WordPress blog
6
- Version: 2.86
7
  Author: Lester 'GaMerZ' Chan
8
  Author URI: http://lesterchan.net
9
  Text Domain: wp-pagenavi
3
  Plugin Name: WP-PageNavi
4
  Plugin URI: http://lesterchan.net/portfolio/programming/php/
5
  Description: Adds a more advanced paging navigation to your WordPress blog
6
+ Version: 2.87
7
  Author: Lester 'GaMerZ' Chan
8
  Author URI: http://lesterchan.net
9
  Text Domain: wp-pagenavi