All in One SEO Pack - Version 1.4.3.6

Version Description

Download this release

Release Info

Developer uberdose
Plugin Icon 128x128 All in One SEO Pack
Version 1.4.3.6
Comparing to
See all releases

Code changes from version 1.4.3.5 to 1.4.3.6

all_in_one_seo_pack-de_DE.mo CHANGED
Binary file
all_in_one_seo_pack-tr_TR.mo CHANGED
Binary file
all_in_one_seo_pack.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: All in One SEO Pack
5
  Plugin URI: http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/
6
  Description: Out-of-the-box SEO for your Wordpress blog.
7
- Version: 1.4.3.5
8
  Author: uberdose
9
  Author URI: http://wp.uberdose.com/
10
  */
@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
28
 
29
  class All_in_One_SEO_Pack {
30
 
31
- var $version = "1.4.3.5";
32
 
33
  /** Max numbers of chars in auto-generated description */
34
  var $maximum_description_length = 160;
@@ -119,6 +119,16 @@ class All_in_One_SEO_Pack {
119
  return get_option('show_on_front') == 'page' && is_home() && $post->ID == get_option('page_for_posts');
120
  }
121
 
 
 
 
 
 
 
 
 
 
 
122
  function wp_head() {
123
  if (is_feed()) {
124
  return;
@@ -996,14 +1006,38 @@ class All_in_One_SEO_Pack {
996
  if (substr($wp_version, 0, 3) == '1.5') {
997
  $file = 'all-in-one-seo-pack/all_in_one_seo_pack.php';
998
  }
999
- //add_menu_page(__('All in One SEO Title', 'all_in_one_seo_pack'), __('All in One SEO', 'all_in_one_seo_pack'), 0, $file, array($this, 'dashboard_menu'));
1000
- add_submenu_page('options-general.php', __('All in One SEO', 'all_in_one_seo_pack'), __('All in One SEO', 'all_in_one_seo_pack'), 0, $file, array($this, 'options_menu'));
1001
  }
1002
 
1003
- function dashboard_menu() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1004
  }
1005
 
1006
- function options_menu() {
1007
  $message = null;
1008
  $message_updated = __("All in One SEO Options Updated.", 'all_in_one_seo_pack');
1009
 
@@ -1492,7 +1526,7 @@ _e('Check this and SEO pack will create a log of important events (all_in_one_se
1492
  </div>
1493
  <?php
1494
 
1495
- } // options_menu
1496
 
1497
  }
1498
 
@@ -1535,5 +1569,6 @@ add_action('edit_page_form', array($aiosp, 'post_meta_tags'));
1535
  //add_action('edit_category', array($aiosp, 'edit_category'));
1536
 
1537
  add_action('admin_menu', array($aiosp, 'admin_menu'));
 
1538
 
1539
  ?>
4
  Plugin Name: All in One SEO Pack
5
  Plugin URI: http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/
6
  Description: Out-of-the-box SEO for your Wordpress blog.
7
+ Version: 1.4.3.6
8
  Author: uberdose
9
  Author URI: http://wp.uberdose.com/
10
  */
28
 
29
  class All_in_One_SEO_Pack {
30
 
31
+ var $version = "1.4.3.6";
32
 
33
  /** Max numbers of chars in auto-generated description */
34
  var $maximum_description_length = 160;
119
  return get_option('show_on_front') == 'page' && is_home() && $post->ID == get_option('page_for_posts');
120
  }
121
 
122
+ function get_base() {
123
+ return '/'.end(explode('/', str_replace(array('\\','/all_in_one_seo_pack.php'),array('/',''),__FILE__)));
124
+ }
125
+
126
+ function admin_head() {
127
+ $home = get_settings('siteurl');
128
+ $stylesheet = $home.'/wp-content/plugins' . $this->get_base() . '/css/all_in_one_seo_pack.css';
129
+ echo('<link rel="stylesheet" href="' . $stylesheet . '" type="text/css" media="screen" />');
130
+ }
131
+
132
  function wp_head() {
133
  if (is_feed()) {
134
  return;
1006
  if (substr($wp_version, 0, 3) == '1.5') {
1007
  $file = 'all-in-one-seo-pack/all_in_one_seo_pack.php';
1008
  }
1009
+ //add_management_page(__('All in One SEO Title', 'all_in_one_seo_pack'), __('All in One SEO', 'all_in_one_seo_pack'), 10, $file, array($this, 'management_panel'));
1010
+ add_submenu_page('options-general.php', __('All in One SEO', 'all_in_one_seo_pack'), __('All in One SEO', 'all_in_one_seo_pack'), 10, $file, array($this, 'options_panel'));
1011
  }
1012
 
1013
+ function management_panel() {
1014
+ $message = null;
1015
+ $base_url = "edit.php?page=" . __FILE__;
1016
+ //echo($base_url);
1017
+ $type = $_REQUEST['type'];
1018
+ if (!isset($type)) {
1019
+ $type = "posts";
1020
+ }
1021
+ ?>
1022
+
1023
+ <ul class="aiosp_menu">
1024
+ <li><a href="<?php echo $base_url ?>&type=posts">Posts</a>
1025
+ </li>
1026
+ <li><a href="<?php echo $base_url ?>&type=pages">Pages</a>
1027
+ </li>
1028
+ </ul>
1029
+
1030
+ <?php
1031
+
1032
+ if ($type == "posts") {
1033
+ echo("posts");
1034
+ } elseif ($type == "pages") {
1035
+ echo("pages");
1036
+ }
1037
+
1038
  }
1039
 
1040
+ function options_panel() {
1041
  $message = null;
1042
  $message_updated = __("All in One SEO Options Updated.", 'all_in_one_seo_pack');
1043
 
1526
  </div>
1527
  <?php
1528
 
1529
+ } // options_panel
1530
 
1531
  }
1532
 
1569
  //add_action('edit_category', array($aiosp, 'edit_category'));
1570
 
1571
  add_action('admin_menu', array($aiosp, 'admin_menu'));
1572
+ //add_action('admin_head', array($aiosp, 'admin_head'));
1573
 
1574
  ?>
all_in_one_seo_pack.pot CHANGED
@@ -1,264 +1,257 @@
1
- "Project-Id-Version: all in one seo pack\n"
2
- "POT-Creation-Date: \n"
3
- "PO-Revision-Date: 2007-10-26 15:54+0800\n"
4
- "Last-Translator: Leo <skyros@gmail.com>\n"
5
- "Language-Team: WordPress 中文团队\n"
6
- "MIME-Version: 1.0\n"
7
- "Content-Type: text/plain; charset=utf-8\n"
8
- "Content-Transfer-Encoding: 8bit\n"
9
- "X-Poedit-Language: \n"
10
- "X-Poedit-Country: \n"
11
- "X-Poedit-SourceCharset: utf-8\n"
12
- "X-Poedit-KeywordsList: __;_e\n"
13
- "X-Poedit-Basepath: .\n"
14
- "X-Poedit-SearchPath-0: \n"
15
-
16
- msgid "All in One SEO Pack"
17
- msgstr ""
18
-
19
- msgid "Title:"
20
- msgstr ""
21
-
22
- msgid "Keywords (comma separated):"
23
- msgstr ""
24
-
25
- msgid "Description:"
26
- msgstr ""
27
-
28
- msgid " characters. Most search engines use a maximum of 160 chars for the description."
29
- msgstr ""
30
-
31
- msgid "All in One SEO"
32
- msgstr ""
33
-
34
- msgid "All in One SEO Options Updated."
35
- msgstr ""
36
-
37
- msgid "All in One SEO Plugin Options"
38
- msgstr ""
39
-
40
- msgid "This is version "
41
- msgstr ""
42
-
43
- msgid "All in One SEO Plugin Release History"
44
- msgstr ""
45
-
46
- msgid "FAQ"
47
- msgstr ""
48
-
49
- msgid "All in One SEO Plugin Feedback"
50
- msgstr ""
51
-
52
- msgid "Feedback"
53
- msgstr ""
54
-
55
- msgid "All in One SEO Plugin Translations"
56
- msgstr ""
57
-
58
- msgid "Translations"
59
- msgstr ""
60
-
61
- msgid "Click for Help!"
62
- msgstr ""
63
-
64
- msgid "Home Title:"
65
- msgstr ""
66
-
67
- msgid "As the name implies, this will be the title of your homepage. This is independent of any other option. If not set, the default blog title will get used."
68
- msgstr ""
69
-
70
- msgid "Home Description:"
71
- msgstr ""
72
-
73
- msgid "The META description for your homepage. Independent of any other options, the default is no META description at all if this is not set."
74
- msgstr ""
75
-
76
- msgid "Home Keywords (comma separated):"
77
- msgstr ""
78
-
79
- msgid "A comma separated list of your most important keywords for your site that will be written as META keywords on your homepage. Don't stuff everything in here."
80
- msgstr ""
81
-
82
- msgid "Rewrite Titles:"
83
- msgstr ""
84
-
85
- msgid "Note that this is all about the title tag. This is what you see in your browser's window title bar. This is NOT visible on a page, only in the window title bar and of course in the source. If set, all page, post, category, search and archive page titles get rewritten. You can specify the format for most of them. For example: The default templates puts the title tag of posts like this: \"Blog Archive >> Blog Name >> Post Title\" (maybe I've overdone slightly). This is far from optimal. With the default post title format, Rewrite Title rewrites this to \"Post Title | Blog Name\". If you have manually defined a title (in one of the text fields for All in One SEO Plugin input) this will become the title of your post in the format string."
86
- msgstr ""
87
-
88
- msgid "Post Title Format:"
89
- msgstr ""
90
-
91
- msgid "The following macros are supported:"
92
- msgstr ""
93
-
94
- msgid "%blog_title% - Your blog title"
95
- msgstr ""
96
-
97
- msgid "%blog_description% - Your blog description"
98
- msgstr ""
99
-
100
- msgid "%post_title% - The original title of the post"
101
- msgstr ""
102
-
103
- msgid "%category_title% - The (main) category of the post"
104
- msgstr ""
105
-
106
- msgid "%category% - Alias for %category_title%"
107
- msgstr ""
108
-
109
- msgid "Page Title Format:"
110
- msgstr ""
111
-
112
- msgid "%page_title% - The original title of the page"
113
- msgstr ""
114
-
115
- msgid "Category Title Format:"
116
- msgstr ""
117
-
118
- msgid "%category_title% - The original title of the category"
119
- msgstr ""
120
-
121
- msgid "%category_description% - The description of the category"
122
- msgstr ""
123
-
124
- msgid "Archive Title Format:"
125
- msgstr ""
126
-
127
- msgid "%date% - The original archive title given by wordpress, e.g. \"2007\" or \"2007 August\""
128
- msgstr ""
129
-
130
- msgid "Tag Title Format:"
131
- msgstr ""
132
-
133
- msgid "%tag% - The name of the tag"
134
- msgstr ""
135
-
136
- msgid "Search Title Format:"
137
- msgstr ""
138
-
139
- msgid "%search% - What was searched for"
140
- msgstr ""
141
-
142
- msgid "Description Format:"
143
- msgstr ""
144
-
145
- msgid "%description% - The original description as determined by the plugin, e.g. the excerpt if one is set or an auto-generated one if that option is set"
146
- msgstr ""
147
-
148
- msgid "404 Title Format:"
149
- msgstr ""
150
-
151
- msgid "%request_url% - The original URL path, like \"/url-that-does-not-exist/\""
152
- msgstr ""
153
-
154
- msgid "%request_words% - The URL path in human readable form, like \"Url That Does Not Exist\""
155
- msgstr ""
156
-
157
- msgid "Use Categories for META keywords:"
158
- msgstr ""
159
-
160
- msgid "Check this if you want your categories for a given post used as the META keywords for this post (in addition to any keywords and tags you specify on the post edit page)."
161
- msgstr ""
162
-
163
- msgid "Use noindex for Categories:"
164
- msgstr ""
165
-
166
- msgid "Check this for excluding category pages from being crawled. Useful for avoiding duplicate content."
167
- msgstr ""
168
-
169
- msgid "Use noindex for Archives:"
170
- msgstr ""
171
-
172
- msgid "Check this for excluding archive pages from being crawled. Useful for avoiding duplicate content."
173
- msgstr ""
174
-
175
- msgid "Use noindex for Tag Archives:"
176
- msgstr ""
177
-
178
- msgid "Check this for excluding tag pages from being crawled. Useful for avoiding duplicate content."
179
- msgstr ""
180
-
181
- msgid "Autogenerate Descriptions:"
182
- msgstr ""
183
-
184
- msgid "Check this and your META descriptions will get autogenerated if there's no excerpt."
185
- msgstr ""
186
-
187
- msgid "Update Options"
188
- msgstr ""
189
-
190
- msgid "Additional Post Meta Tags:"
191
- msgstr ""
192
-
193
- msgid "Additional Page Meta Tags:"
194
- msgstr ""
195
-
196
- msgid "What you enter here will be copied verbatim to your header on post pages. You can enter whatever additional meta tags you want here, even references to stylesheets."
197
- msgstr ""
198
-
199
- msgid "What you enter here will be copied verbatim to your header on pages. You can enter whatever additional meta tags you want here, even references to stylesheets."
200
- msgstr ""
201
-
202
- msgid "%wp_title% - The original wordpress title, e.g. post_title for posts"
203
- msgstr ""
204
-
205
- msgid "Upgraded to newest version. Please revisit the options page to make sure you see the newest version."
206
- msgstr ""
207
-
208
- msgid "Upgrade failed"
209
- msgstr ""
210
-
211
- msgid "(Remember: Backup early, backup often!)"
212
- msgstr ""
213
-
214
- msgid "Please make sure that %s is writable."
215
- msgstr ""
216
-
217
- msgid "One Click Upgrade"
218
- msgstr ""
219
-
220
- msgid "Should I upgrade?"
221
- msgstr ""
222
-
223
- msgid "Additional META:"
224
- msgstr ""
225
-
226
- msgid "Could not download distribution (%s)"
227
- msgstr ""
228
-
229
- msgid "Could not download distribution (%s): %s"
230
- msgstr ""
231
-
232
- msgid "Could not open %s for writing"
233
- msgstr ""
234
-
235
- msgid "Please make sure %s is writable"
236
- msgstr ""
237
-
238
- msgid "Could not write to %s"
239
- msgstr ""
240
-
241
- msgid "Disable on this page/post:"
242
- msgstr ""
243
-
244
- msgid "Check this if you want your categories for a given post used as the META keywords for this post (in addition to any keywords and tags you specify on the post edit page)."
245
- msgstr ""
246
-
247
- msgid "Paged Format:"
248
- msgstr ""
249
-
250
- msgid "This string gets appended/prepended to titles when they are for paged index pages (like home or archive pages)."
251
- msgstr ""
252
-
253
- msgid "%page% - The page number"
254
- msgstr ""
255
-
256
- msgid "Part %page%"
257
- msgstr ""
258
-
259
- msgid "Log important events:"
260
- msgstr ""
261
-
262
- msgid "Check this and SEO pack will create a log of important events (all_in_one_seo_pack.log) in its plugin directory which might help debugging it. Make sure this directory is writable."
263
- msgstr ""
264
-
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: \n"
4
+ "POT-Creation-Date: \n"
5
+ "PO-Revision-Date: 2007-12-11 06:09+0200\n"
6
+ "Last-Translator: Baris Unver <baris.unver@beyn.org>\n"
7
+ "Language-Team: \n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=iso-8859-1\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+
12
+ msgid "All in One SEO Pack"
13
+ msgstr ""
14
+
15
+ msgid "Title:"
16
+ msgstr ""
17
+
18
+ msgid "Keywords (comma separated):"
19
+ msgstr ""
20
+
21
+ msgid "Description:"
22
+ msgstr ""
23
+
24
+ msgid " characters. Most search engines use a maximum of 160 chars for the description."
25
+ msgstr ""
26
+
27
+ msgid "All in One SEO"
28
+ msgstr ""
29
+
30
+ msgid "All in One SEO Options Updated."
31
+ msgstr ""
32
+
33
+ msgid "All in One SEO Plugin Options"
34
+ msgstr ""
35
+
36
+ msgid "This is version "
37
+ msgstr ""
38
+
39
+ msgid "All in One SEO Plugin Release History"
40
+ msgstr ""
41
+
42
+ msgid "FAQ"
43
+ msgstr ""
44
+
45
+ msgid "All in One SEO Plugin Feedback"
46
+ msgstr ""
47
+
48
+ msgid "Feedback"
49
+ msgstr ""
50
+
51
+ msgid "All in One SEO Plugin Translations"
52
+ msgstr ""
53
+
54
+ msgid "Translations"
55
+ msgstr ""
56
+
57
+ msgid "Click for Help!"
58
+ msgstr ""
59
+
60
+ msgid "Home Title:"
61
+ msgstr ""
62
+
63
+ msgid "As the name implies, this will be the title of your homepage. This is independent of any other option. If not set, the default blog title will get used."
64
+ msgstr ""
65
+
66
+ msgid "Home Description:"
67
+ msgstr ""
68
+
69
+ msgid "The META description for your homepage. Independent of any other options, the default is no META description at all if this is not set."
70
+ msgstr ""
71
+
72
+ msgid "Home Keywords (comma separated):"
73
+ msgstr ""
74
+
75
+ msgid "A comma separated list of your most important keywords for your site that will be written as META keywords on your homepage. Don't stuff everything in here."
76
+ msgstr ""
77
+
78
+ msgid "Rewrite Titles:"
79
+ msgstr ""
80
+
81
+ msgid "Note that this is all about the title tag. This is what you see in your browser's window title bar. This is NOT visible on a page, only in the window title bar and of course in the source. If set, all page, post, category, search and archive page titles get rewritten. You can specify the format for most of them. For example: The default templates puts the title tag of posts like this: \"Blog Archive >> Blog Name >> Post Title\" (maybe I've overdone slightly). This is far from optimal. With the default post title format, Rewrite Title rewrites this to \"Post Title | Blog Name\". If you have manually defined a title (in one of the text fields for All in One SEO Plugin input) this will become the title of your post in the format string."
82
+ msgstr ""
83
+
84
+ msgid "Post Title Format:"
85
+ msgstr ""
86
+
87
+ msgid "The following macros are supported:"
88
+ msgstr ""
89
+
90
+ msgid "%blog_title% - Your blog title"
91
+ msgstr ""
92
+
93
+ msgid "%blog_description% - Your blog description"
94
+ msgstr ""
95
+
96
+ msgid "%post_title% - The original title of the post"
97
+ msgstr ""
98
+
99
+ msgid "%category_title% - The (main) category of the post"
100
+ msgstr ""
101
+
102
+ msgid "%category% - Alias for %category_title%"
103
+ msgstr ""
104
+
105
+ msgid "Page Title Format:"
106
+ msgstr ""
107
+
108
+ msgid "%page_title% - The original title of the page"
109
+ msgstr ""
110
+
111
+ msgid "Category Title Format:"
112
+ msgstr ""
113
+
114
+ msgid "%category_title% - The original title of the category"
115
+ msgstr ""
116
+
117
+ msgid "%category_description% - The description of the category"
118
+ msgstr ""
119
+
120
+ msgid "Archive Title Format:"
121
+ msgstr ""
122
+
123
+ msgid "%date% - The original archive title given by wordpress, e.g. \"2007\" or \"2007 August\""
124
+ msgstr ""
125
+
126
+ msgid "Tag Title Format:"
127
+ msgstr ""
128
+
129
+ msgid "%tag% - The name of the tag"
130
+ msgstr ""
131
+
132
+ msgid "Search Title Format:"
133
+ msgstr ""
134
+
135
+ msgid "%search% - What was searched for"
136
+ msgstr ""
137
+
138
+ msgid "Description Format:"
139
+ msgstr ""
140
+
141
+ msgid "%description% - The original description as determined by the plugin, e.g. the excerpt if one is set or an auto-generated one if that option is set"
142
+ msgstr ""
143
+
144
+ msgid "404 Title Format:"
145
+ msgstr ""
146
+
147
+ msgid "%request_url% - The original URL path, like \"/url-that-does-not-exist/\""
148
+ msgstr ""
149
+
150
+ msgid "%request_words% - The URL path in human readable form, like \"Url That Does Not Exist\""
151
+ msgstr ""
152
+
153
+ msgid "Use Categories for META keywords:"
154
+ msgstr ""
155
+
156
+ msgid "Check this if you want your categories for a given post used as the META keywords for this post (in addition to any keywords and tags you specify on the post edit page)."
157
+ msgstr ""
158
+
159
+ msgid "Use noindex for Categories:"
160
+ msgstr ""
161
+
162
+ msgid "Check this for excluding category pages from being crawled. Useful for avoiding duplicate content."
163
+ msgstr ""
164
+
165
+ msgid "Use noindex for Archives:"
166
+ msgstr ""
167
+
168
+ msgid "Check this for excluding archive pages from being crawled. Useful for avoiding duplicate content."
169
+ msgstr ""
170
+
171
+ msgid "Use noindex for Tag Archives:"
172
+ msgstr ""
173
+
174
+ msgid "Check this for excluding tag pages from being crawled. Useful for avoiding duplicate content."
175
+ msgstr ""
176
+
177
+ msgid "Autogenerate Descriptions:"
178
+ msgstr ""
179
+
180
+ msgid "Check this and your META descriptions will get autogenerated if there's no excerpt."
181
+ msgstr ""
182
+
183
+ msgid "Update Options"
184
+ msgstr ""
185
+
186
+ msgid "Additional Post Meta Tags:"
187
+ msgstr ""
188
+
189
+ msgid "Additional Page Meta Tags:"
190
+ msgstr ""
191
+
192
+ msgid "What you enter here will be copied verbatim to your header on post pages. You can enter whatever additional meta tags you want here, even references to stylesheets."
193
+ msgstr ""
194
+
195
+ msgid "What you enter here will be copied verbatim to your header on pages. You can enter whatever additional meta tags you want here, even references to stylesheets."
196
+ msgstr ""
197
+
198
+ msgid "%wp_title% - The original wordpress title, e.g. post_title for posts"
199
+ msgstr ""
200
+
201
+ msgid "Upgraded to newest version. Please revisit the options page to make sure you see the newest version."
202
+ msgstr ""
203
+
204
+ msgid "Upgrade failed"
205
+ msgstr ""
206
+
207
+ msgid "(Remember: Backup early, backup often!)"
208
+ msgstr ""
209
+
210
+ msgid "Please make sure that %s is writable."
211
+ msgstr ""
212
+
213
+ msgid "One Click Upgrade"
214
+ msgstr ""
215
+
216
+ msgid "Should I upgrade?"
217
+ msgstr ""
218
+
219
+ msgid "Additional META:"
220
+ msgstr ""
221
+
222
+ msgid "Could not download distribution (%s)"
223
+ msgstr ""
224
+
225
+ msgid "Could not download distribution (%s): %s"
226
+ msgstr ""
227
+
228
+ msgid "Could not open %s for writing"
229
+ msgstr ""
230
+
231
+ msgid "Please make sure %s is writable"
232
+ msgstr ""
233
+
234
+ msgid "Could not write to %s"
235
+ msgstr ""
236
+
237
+ msgid "Disable on this page/post:"
238
+ msgstr ""
239
+
240
+ msgid "Paged Format:"
241
+ msgstr ""
242
+
243
+ msgid "This string gets appended/prepended to titles when they are for paged index pages (like home or archive pages)."
244
+ msgstr ""
245
+
246
+ msgid "%page% - The page number"
247
+ msgstr ""
248
+
249
+ msgid "Part %page%"
250
+ msgstr ""
251
+
252
+ msgid "Log important events:"
253
+ msgstr ""
254
+
255
+ msgid "Check this and SEO pack will create a log of important events (all_in_one_seo_pack.log) in its plugin directory which might help debugging it. Make sure this directory is writable."
256
+ msgstr ""
257
+