/var/www/wordpress/wp-admin/includes/admin.php
/var/www/wordpress/wp-admin/includes/bookmark.php
/var/www/wordpress/wp-admin/includes/class-ftp-pure.php
/var/www/wordpress/wp-admin/includes/class-ftp-sockets.php
/var/www/wordpress/wp-admin/includes/class-ftp.php
/var/www/wordpress/wp-admin/includes/class-pclzip.php
/var/www/wordpress/wp-admin/includes/class-wp-filesystem-base.php
/var/www/wordpress/wp-admin/includes/class-wp-filesystem-direct.php
/var/www/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php
/var/www/wordpress/wp-admin/includes/class-wp-filesystem-ftpsockets.php
/var/www/wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php
/var/www/wordpress/wp-admin/includes/class-wp-importer.php
/var/www/wordpress/wp-admin/includes/class-wp-upgrader.php
/var/www/wordpress/wp-admin/includes/comment.php
/var/www/wordpress/wp-admin/includes/continents-cities.php
/var/www/wordpress/wp-admin/includes/dashboard.php
/var/www/wordpress/wp-admin/includes/deprecated.php
/var/www/wordpress/wp-admin/includes/export.php
/var/www/wordpress/wp-admin/includes/file.php
/var/www/wordpress/wp-admin/includes/image-edit.php
/var/www/wordpress/wp-admin/includes/image.php
/var/www/wordpress/wp-admin/includes/import.php
/var/www/wordpress/wp-admin/includes/manifest.php
/var/www/wordpress/wp-admin/includes/media.php
/var/www/wordpress/wp-admin/includes/meta-boxes.php
/var/www/wordpress/wp-admin/includes/misc.php
/var/www/wordpress/wp-admin/includes/ms-deprecated.php
/var/www/wordpress/wp-admin/includes/ms.php
/var/www/wordpress/wp-admin/includes/nav-menu.php
/var/www/wordpress/wp-admin/includes/plugin-install.php
/var/www/wordpress/wp-admin/includes/plugin.php
/var/www/wordpress/wp-admin/includes/post.php
/var/www/wordpress/wp-admin/includes/schema.php
/var/www/wordpress/wp-admin/includes/taxonomy.php
/var/www/wordpress/wp-admin/includes/template.php
/var/www/wordpress/wp-admin/includes/theme-install.php
/var/www/wordpress/wp-admin/includes/theme.php
/var/www/wordpress/wp-admin/includes/update-core.php
/var/www/wordpress/wp-admin/includes/update.php
/var/www/wordpress/wp-admin/includes/upgrade.php
/var/www/wordpress/wp-admin/includes/user.php
/var/www/wordpress/wp-admin/includes/widgets.php
/var/www/wordpress/wp-admin/js/revisions-js.php
/var/www/wordpress/wp-admin/maint/repair.php
/var/www/wordpress/wp-admin/admin-ajax.php
/var/www/wordpress/wp-admin/admin-footer.php
/var/www/wordpress/wp-admin/admin-functions.php
/var/www/wordpress/wp-admin/admin-header.php
/var/www/wordpress/wp-admin/admin-post.php
/var/www/wordpress/wp-admin/admin.php
/var/www/wordpress/wp-admin/async-upload.php
/var/www/wordpress/wp-admin/comment.php
/var/www/wordpress/wp-admin/custom-background.php
/var/www/wordpress/wp-admin/custom-header.php
/var/www/wordpress/wp-admin/edit-attachment-rows.php
/var/www/wordpress/wp-admin/edit-comments.php
/var/www/wordpress/wp-admin/edit-form-advanced.php
/var/www/wordpress/wp-admin/edit-form-comment.php
/var/www/wordpress/wp-admin/edit-link-categories.php
/var/www/wordpress/wp-admin/edit-link-category-form.php
/var/www/wordpress/wp-admin/edit-link-form.php
/var/www/wordpress/wp-admin/edit-post-rows.php
/var/www/wordpress/wp-admin/edit-tag-form.php
/var/www/wordpress/wp-admin/edit-tags.php
/var/www/wordpress/wp-admin/edit.php
/var/www/wordpress/wp-admin/export.php
/var/www/wordpress/wp-admin/gears-manifest.php
/var/www/wordpress/wp-admin/import.php
/var/www/wordpress/wp-admin/index-extra.php
/var/www/wordpress/wp-admin/index.php
/var/www/wordpress/wp-admin/install-helper.php
/var/www/wordpress/wp-admin/install.php
/var/www/wordpress/wp-admin/link-add.php
/var/www/wordpress/wp-admin/link-category.php
/var/www/wordpress/wp-admin/link-manager.php
/var/www/wordpress/wp-admin/link-parse-opml.php
/var/www/wordpress/wp-admin/link.php
/var/www/wordpress/wp-admin/load-scripts.php
/var/www/wordpress/wp-admin/load-styles.php
/var/www/wordpress/wp-admin/media-new.php
/var/www/wordpress/wp-admin/media-upload.php
/var/www/wordpress/wp-admin/media.php
/var/www/wordpress/wp-admin/menu-header.php
/var/www/wordpress/wp-admin/menu.php
/var/www/wordpress/wp-admin/moderation.php
/var/www/wordpress/wp-admin/ms-admin.php
/var/www/wordpress/wp-admin/ms-delete-site.php
/var/www/wordpress/wp-admin/ms-edit.php
/var/www/wordpress/wp-admin/ms-options.php
/var/www/wordpress/wp-admin/ms-sites.php
/var/www/wordpress/wp-admin/ms-themes.php
/var/www/wordpress/wp-admin/ms-upgrade-network.php
/var/www/wordpress/wp-admin/ms-users.php
/var/www/wordpress/wp-admin/my-sites.php
/var/www/wordpress/wp-admin/nav-menus.php
/var/www/wordpress/wp-admin/network.php
/var/www/wordpress/wp-admin/options-discussion.php
/var/www/wordpress/wp-admin/options-general.php
/var/www/wordpress/wp-admin/options-head.php
/var/www/wordpress/wp-admin/options-media.php
/var/www/wordpress/wp-admin/options-permalink.php
/var/www/wordpress/wp-admin/options-privacy.php
/var/www/wordpress/wp-admin/options-reading.php
/var/www/wordpress/wp-admin/options-writing.php
/var/www/wordpress/wp-admin/options.php
/var/www/wordpress/wp-admin/plugin-editor.php
/var/www/wordpress/wp-admin/plugin-install.php
/var/www/wordpress/wp-admin/plugins.php
/var/www/wordpress/wp-admin/post-new.php
/var/www/wordpress/wp-admin/post.php
/var/www/wordpress/wp-admin/press-this.php
/var/www/wordpress/wp-admin/profile.php
/var/www/wordpress/wp-admin/revision.php
/var/www/wordpress/wp-admin/setup-config.php
/var/www/wordpress/wp-admin/sidebar.php
/var/www/wordpress/wp-admin/theme-editor.php
/var/www/wordpress/wp-admin/theme-install.php
/var/www/wordpress/wp-admin/themes.php
/var/www/wordpress/wp-admin/tools.php
/var/www/wordpress/wp-admin/update-core.php
/var/www/wordpress/wp-admin/update.php
/var/www/wordpress/wp-admin/upgrade-functions.php
/var/www/wordpress/wp-admin/upgrade.php
/var/www/wordpress/wp-admin/upload.php
/var/www/wordpress/wp-admin/user-edit.php
/var/www/wordpress/wp-admin/user-new.php
/var/www/wordpress/wp-admin/users.php
/var/www/wordpress/wp-admin/widgets.php
/var/www/wordpress/wp-content/languages/ru_RU.php
/var/www/wordpress/wp-content/plugins/akismet/akismet.php
/var/www/wordpress/wp-content/plugins/rh/rh.php
/var/www/wordpress/wp-content/plugins/hello.php
/var/www/wordpress/wp-content/plugins/index.php
/var/www/wordpress/wp-content/themes/twentyten/404.php
/var/www/wordpress/wp-content/themes/twentyten/archive.php
/var/www/wordpress/wp-content/themes/twentyten/attachment.php
/var/www/wordpress/wp-content/themes/twentyten/author.php
/var/www/wordpress/wp-content/themes/twentyten/category.php
/var/www/wordpress/wp-content/themes/twentyten/comments.php
/var/www/wordpress/wp-content/themes/twentyten/footer.php
/var/www/wordpress/wp-content/themes/twentyten/functions.php
/var/www/wordpress/wp-content/themes/twentyten/header.php
/var/www/wordpress/wp-content/themes/twentyten/index.php
/var/www/wordpress/wp-content/themes/twentyten/loop.php
/var/www/wordpress/wp-content/themes/twentyten/onecolumn-page.php
/var/www/wordpress/wp-content/themes/twentyten/page.php
/var/www/wordpress/wp-content/themes/twentyten/search.php
/var/www/wordpress/wp-content/themes/twentyten/sidebar-footer.php
/var/www/wordpress/wp-content/themes/twentyten/sidebar.php
/var/www/wordpress/wp-content/themes/twentyten/single.php
/var/www/wordpress/wp-content/themes/twentyten/tag.php
/var/www/wordpress/wp-content/themes/index.php
/var/www/wordpress/wp-content/index.php
/var/www/wordpress/wp-includes/js/tinymce/langs/wp-langs.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/utils/Logger.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/EnchantSpell.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/GoogleSpell.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/PSpell.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/PSpellShell.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/SpellChecker.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/includes/general.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/config.php
/var/www/wordpress/wp-includes/js/tinymce/plugins/spellchecker/rpc.php
/var/www/wordpress/wp-includes/js/tinymce/wp-mce-help.php
/var/www/wordpress/wp-includes/js/tinymce/wp-tinymce.php
/var/www/wordpress/wp-includes/pomo/entry.php
/var/www/wordpress/wp-includes/pomo/mo.php
/var/www/wordpress/wp-includes/pomo/po.php
/var/www/wordpress/wp-includes/pomo/streams.php
/var/www/wordpress/wp-includes/pomo/translations.php
/var/www/wordpress/wp-includes/Text/Diff/Engine/native.php
/var/www/wordpress/wp-includes/Text/Diff/Engine/shell.php
/var/www/wordpress/wp-includes/Text/Diff/Engine/string.php
/var/www/wordpress/wp-includes/Text/Diff/Engine/xdiff.php
/var/www/wordpress/wp-includes/Text/Diff/Renderer/inline.php
/var/www/wordpress/wp-includes/Text/Diff/Renderer.php
/var/www/wordpress/wp-includes/Text/Diff.php
/var/www/wordpress/wp-includes/theme-compat/comments-popup.php
/var/www/wordpress/wp-includes/theme-compat/comments.php
/var/www/wordpress/wp-includes/theme-compat/footer.php
/var/www/wordpress/wp-includes/theme-compat/header.php
/var/www/wordpress/wp-includes/theme-compat/sidebar.php
/var/www/wordpress/wp-includes/atomlib.php
/var/www/wordpress/wp-includes/author-template.php
/var/www/wordpress/wp-includes/bookmark-template.php
/var/www/wordpress/wp-includes/bookmark.php
/var/www/wordpress/wp-includes/cache.php
/var/www/wordpress/wp-includes/canonical.php
/var/www/wordpress/wp-includes/capabilities.php
/var/www/wordpress/wp-includes/category-template.php
/var/www/wordpress/wp-includes/category.php
/var/www/wordpress/wp-includes/class-feed.php
/var/www/wordpress/wp-includes/class-http.php
/var/www/wordpress/wp-includes/class-IXR.php
/var/www/wordpress/wp-includes/class-json.php
/var/www/wordpress/wp-includes/class-oembed.php
/var/www/wordpress/wp-includes/class-phpass.php
/var/www/wordpress/wp-includes/class-phpmailer.php
/var/www/wordpress/wp-includes/class-pop3.php
/var/www/wordpress/wp-includes/class-simplepie.php
/var/www/wordpress/wp-includes/class-smtp.php
/var/www/wordpress/wp-includes/class-snoopy.php
/var/www/wordpress/wp-includes/class.wp-dependencies.php
/var/www/wordpress/wp-includes/class.wp-scripts.php
/var/www/wordpress/wp-includes/class.wp-styles.php
/var/www/wordpress/wp-includes/classes.php
/var/www/wordpress/wp-includes/comment-template.php
#CodeDescriptions
1<?php
2/**
3 * Comment template functions
4 *
5 * These functions are meant to live inside of the WordPress loop.
6 *
7 * @package WordPress
8 * @subpackage Template
9 */
10
11/**
12 * Retrieve the author of the current comment.
13 *
14 * If the comment has an empty comment_author field, then 'Anonymous' person is
15 * assumed.
16 *
17 * @since 1.5.0
18 * @uses apply_filters() Calls 'get_comment_author' hook on the comment author
19 *
20 * @param int $comment_ID The ID of the comment for which to retrieve the author. Optional.
21 * @return string The comment author
22 */
23function get_comment_author( $comment_ID = 0 ) {
24 $comment = get_comment( $comment_ID );
25 if ( empty($comment->comment_author) ) {
26 if (!empty($comment->user_id)){
27 $user=get_userdata($comment->user_id);
28 $author=$user->user_login;
29 } else {
30 $author = __('Anonymous');
31 }
32 } else {
33 $author = $comment->comment_author;
34 }
35 return apply_filters('get_comment_author', $author);
36}
37
38/**
39 * Displays the author of the current comment.
40 *
41 * @since 0.71
42 * @uses apply_filters() Calls 'comment_author' on comment author before displaying
43 *
44 * @param int $comment_ID The ID of the comment for which to print the author. Optional.
45 */
46function comment_author( $comment_ID = 0 ) {
47 $author = apply_filters('comment_author', get_comment_author( $comment_ID ) );
48 echo $author;//Cross Site Scripting
49}
50
51/**
52 * Retrieve the email of the author of the current comment.
53 *
54 * @since 1.5.0
55 * @uses apply_filters() Calls the 'get_comment_author_email' hook on the comment author email
56 * @uses $comment
57 *
58 * @param int $comment_ID The ID of the comment for which to get the author's email. Optional.
59 * @return string The current comment author's email
60 */
61function get_comment_author_email( $comment_ID = 0 ) {
62 $comment = get_comment( $comment_ID );
63 return apply_filters('get_comment_author_email', $comment->comment_author_email);//Connection Handling
64}
65
66/**
67 * Display the email of the author of the current global $comment.
68 *
69 * Care should be taken to protect the email address and assure that email
70 * harvesters do not capture your commentors' email address. Most assume that
71 * their email address will not appear in raw form on the blog. Doing so will
72 * enable anyone, including those that people don't want to get the email
73 * address and use it for their own means good and bad.
74 *
75 * @since 0.71
76 * @uses apply_filters() Calls 'author_email' hook on the author email
77 *
78 * @param int $comment_ID The ID of the comment for which to print the author's email. Optional.
79 */
80function comment_author_email( $comment_ID = 0 ) {
81 echo apply_filters('author_email', get_comment_author_email( $comment_ID ) );//Connection Handling
82}
83
84/**
85 * Display the html email link to the author of the current comment.
86 *
87 * Care should be taken to protect the email address and assure that email
88 * harvesters do not capture your commentors' email address. Most assume that
89 * their email address will not appear in raw form on the blog. Doing so will
90 * enable anyone, including those that people don't want to get the email
91 * address and use it for their own means good and bad.
92 *
93 * @since 0.71
94 * @uses apply_filters() Calls 'comment_email' hook for the display of the comment author's email
95 * @uses get_comment_author_email_link() For generating the link
96 * @global object $comment The current Comment row object
97 *
98 * @param string $linktext The text to display instead of the comment author's email address
99 * @param string $before The text or HTML to display before the email link.
100 * @param string $after The text or HTML to display after the email link.
101 */
102function comment_author_email_link($linktext='', $before='', $after='') {
103 if ( $link = get_comment_author_email_link( $linktext, $before, $after ) )
104 echo $link;//Cross Site Scripting
105}
106
107/**
108 * Return the html email link to the author of the current comment.
109 *
110 * Care should be taken to protect the email address and assure that email
111 * harvesters do not capture your commentors' email address. Most assume that
112 * their email address will not appear in raw form on the blog. Doing so will
113 * enable anyone, including those that people don't want to get the email
114 * address and use it for their own means good and bad.
115 *
116 * @since 2.7
117 * @uses apply_filters() Calls 'comment_email' hook for the display of the comment author's email
118 * @global object $comment The current Comment row object
119 *
120 * @param string $linktext The text to display instead of the comment author's email address
121 * @param string $before The text or HTML to display before the email link.
122 * @param string $after The text or HTML to display after the email link.
123 */
124function get_comment_author_email_link($linktext='', $before='', $after='') {
125 global $comment;
126 $email = apply_filters('comment_email', $comment->comment_author_email);//Connection Handling
127 if ((!empty($email)) && ($email != '@')) {
128 $display = ($linktext != '') ? $linktext : $email;
129 $return = $before;
130 $return .= "<a href='mailto:$email'>$display</a>";//Connection Handling
131 $return .= $after;
132 return $return;
133 } else {
134 return '';
135 }
136}
137
138/**
139 * Retrieve the html link to the url of the author of the current comment.
140 *
141 * @since 1.5.0
142 * @uses apply_filters() Calls 'get_comment_author_link' hook on the complete link HTML or author
143 *
144 * @param int $comment_ID The ID of the comment for which to get the author's link. Optional.
145 * @return string Comment Author name or HTML link for author's URL
146 */
147function get_comment_author_link( $comment_ID = 0 ) {
148 /** @todo Only call these functions when they are needed. Include in if... else blocks */
149 $url = get_comment_author_url( $comment_ID );
150 $author = get_comment_author( $comment_ID );
151
152 if ( empty( $url ) || 'http://' == $url )
153 $return = $author;
154 else
155 $return = "<a href='$url' rel='external nofollow' class='url'>$author</a>";
156 return apply_filters('get_comment_author_link', $return);
157}
158
159/**
160 * Display the html link to the url of the author of the current comment.
161 *
162 * @since 0.71
163 * @see get_comment_author_link() Echoes result
164 *
165 * @param int The ID of the comment for which to print the author's link. Optional.
166 */
167function comment_author_link( $comment_ID = 0 ) {
168 echo get_comment_author_link( $comment_ID );
169}
170
171/**
172 * Retrieve the IP address of the author of the current comment.
173 *
174 * @since 1.5.0
175 * @uses $comment
176 * @uses apply_filters()
177 *
178 * @param int $comment_ID The ID of the comment for which to get the author's IP address. Optional.
179 * @return string The comment author's IP address.
180 */
181function get_comment_author_IP( $comment_ID = 0 ) {
182 $comment = get_comment( $comment_ID );
183 return apply_filters('get_comment_author_IP', $comment->comment_author_IP);
184}
185
186/**
187 * Display the IP address of the author of the current comment.
188 *
189 * @since 0.71
190 * @see get_comment_author_IP() Echoes Result
191 *
192 * @param int $comment_ID The ID of the comment for which to print the author's IP address. Optional.
193 */
194function comment_author_IP( $comment_ID = 0 ) {
195 echo get_comment_author_IP( $comment_ID );
196}
197
198/**
199 * Retrieve the url of the author of the current comment.
200 *
201 * @since 1.5.0
202 * @uses apply_filters() Calls 'get_comment_author_url' hook on the comment author's URL
203 *
204 * @param int $comment_ID The ID of the comment for which to get the author's URL. Optional.
205 * @return string
206 */
207function get_comment_author_url( $comment_ID = 0 ) {
208 $comment = get_comment( $comment_ID );
209 $url = ('http://' == $comment->comment_author_url) ? '' : $comment->comment_author_url;
210 $url = esc_url( $url, array('http', 'https') );
211 return apply_filters('get_comment_author_url', $url);
212}
213
214/**
215 * Display the url of the author of the current comment.
216 *
217 * @since 0.71
218 * @uses apply_filters()
219 * @uses get_comment_author_url() Retrieves the comment author's URL
220 *
221 * @param int $comment_ID The ID of the comment for which to print the author's URL. Optional.
222 */
223function comment_author_url( $comment_ID = 0 ) {
224 echo apply_filters('comment_url', get_comment_author_url( $comment_ID ));
225}
226
227/**
228 * Retrieves the HTML link of the url of the author of the current comment.
229 *
230 * $linktext parameter is only used if the URL does not exist for the comment
231 * author. If the URL does exist then the URL will be used and the $linktext
232 * will be ignored.
233 *
234 * Encapsulate the HTML link between the $before and $after. So it will appear
235 * in the order of $before, link, and finally $after.
236 *
237 * @since 1.5.0
238 * @uses apply_filters() Calls the 'get_comment_author_url_link' on the complete HTML before returning.
239 *
240 * @param string $linktext The text to display instead of the comment author's email address
241 * @param string $before The text or HTML to display before the email link.
242 * @param string $after The text or HTML to display after the email link.
243 * @return string The HTML link between the $before and $after parameters
244 */
245function get_comment_author_url_link( $linktext = '', $before = '', $after = '' ) {
246 $url = get_comment_author_url();
247 $display = ($linktext != '') ? $linktext : $url;
248 $display = str_replace( 'http://www.', '', $display );
249 $display = str_replace( 'http://', '', $display );
250 if ( '/' == substr($display, -1) )
251 $display = substr($display, 0, -1);
252 $return = "$before<a href='$url' rel='external'>$display</a>$after";
253 return apply_filters('get_comment_author_url_link', $return);
254}
255
256/**
257 * Displays the HTML link of the url of the author of the current comment.
258 *
259 * @since 0.71
260 * @see get_comment_author_url_link() Echoes result
261 *
262 * @param string $linktext The text to display instead of the comment author's email address
263 * @param string $before The text or HTML to display before the email link.
264 * @param string $after The text or HTML to display after the email link.
265 */
266function comment_author_url_link( $linktext = '', $before = '', $after = '' ) {
267 echo get_comment_author_url_link( $linktext, $before, $after );
268}
269
270/**
271 * Generates semantic classes for each comment element
272 *
273 * @since 2.7.0
274 *
275 * @param string|array $class One or more classes to add to the class list
276 * @param int $comment_id An optional comment ID
277 * @param int $post_id An optional post ID
278 * @param bool $echo Whether comment_class should echo or return
279 */
280function comment_class( $class = '', $comment_id = null, $post_id = null, $echo = true ) {
281 // Separates classes with a single space, collates classes for comment DIV
282 $class = 'class="' . join( ' ', get_comment_class( $class, $comment_id, $post_id ) ) . '"';
283 if ( $echo)
284 echo $class;//Cross Site Scripting
285 else
286 return $class;
287}
288
289/**
290 * Returns the classes for the comment div as an array
291 *
292 * @since 2.7.0
293 *
294 * @param string|array $class One or more classes to add to the class list
295 * @param int $comment_id An optional comment ID
296 * @param int $post_id An optional post ID
297 * @return array Array of classes
298 */
299function get_comment_class( $class = '', $comment_id = null, $post_id = null ) {
300 global $comment_alt, $comment_depth, $comment_thread_alt;
301
302 $comment = get_comment($comment_id);
303
304 $classes = array();
305
306 // Get the comment type (comment, trackback),
307 $classes[] = ( empty( $comment->comment_type ) ) ? 'comment' : $comment->comment_type;
308
309 // If the comment author has an id (registered), then print the log in name
310 if ( $comment->user_id > 0 && $user = get_userdata($comment->user_id) ) {
311 // For all registered users, 'byuser'
312 $classes[] = 'byuser';
313 $classes[] = 'comment-author-' . sanitize_html_class($user->user_nicename, $comment->user_id);
314 // For comment authors who are the author of the post
315 if ( $post = get_post($post_id) ) {
316 if ( $comment->user_id === $post->post_author )
317 $classes[] = 'bypostauthor';
318 }
319 }
320
321 if ( empty($comment_alt) )
322 $comment_alt = 0;
323 if ( empty($comment_depth) )
324 $comment_depth = 1;
325 if ( empty($comment_thread_alt) )
326 $comment_thread_alt = 0;
327
328 if ( $comment_alt % 2 ) {
329 $classes[] = 'odd';
330 $classes[] = 'alt';
331 } else {
332 $classes[] = 'even';
333 }
334
335 $comment_alt++;
336
337 // Alt for top-level comments
338 if ( 1 == $comment_depth ) {
339 if ( $comment_thread_alt % 2 ) {
340 $classes[] = 'thread-odd';
341 $classes[] = 'thread-alt';
342 } else {
343 $classes[] = 'thread-even';
344 }
345 $comment_thread_alt++;
346 }
347
348 $classes[] = "depth-$comment_depth";
349
350 if ( !empty($class) ) {
351 if ( !is_array( $class ) )
352 $class = preg_split('#\s+#', $class);
353 $classes = array_merge($classes, $class);
354 }
355
356 $classes = array_map('esc_attr', $classes);
357
358 return apply_filters('comment_class', $classes, $class, $comment_id, $post_id);
359}
360
361/**
362 * Retrieve the comment date of the current comment.
363 *
364 * @since 1.5.0
365 * @uses apply_filters() Calls 'get_comment_date' hook with the formated date and the $d parameter respectively
366 * @uses $comment
367 *
368 * @param string $d The format of the date (defaults to user's config)
369 * @param int $comment_ID The ID of the comment for which to get the date. Optional.
370 * @return string The comment's date
371 */
372function get_comment_date( $d = '', $comment_ID = 0 ) {
373 $comment = get_comment( $comment_ID );
374 if ( '' == $d )
375 $date = mysql2date(get_option('date_format'), $comment->comment_date);
376 else
377 $date = mysql2date($d, $comment->comment_date);
378 return apply_filters('get_comment_date', $date, $d);
379}
380
381/**
382 * Display the comment date of the current comment.
383 *
384 * @since 0.71
385 *
386 * @param string $d The format of the date (defaults to user's config)
387 * @param int $comment_ID The ID of the comment for which to print the date. Optional.
388 */
389function comment_date( $d = '', $comment_ID = 0 ) {
390 echo get_comment_date( $d, $comment_ID );
391}
392
393/**
394 * Retrieve the excerpt of the current comment.
395 *
396 * Will cut each word and only output the first 20 words with '...' at the end.
397 * If the word count is less than 20, then no truncating is done and no '...'
398 * will appear.
399 *
400 * @since 1.5.0
401 * @uses $comment
402 * @uses apply_filters() Calls 'get_comment_excerpt' on truncated comment
403 *
404 * @param int $comment_ID The ID of the comment for which to get the excerpt. Optional.
405 * @return string The maybe truncated comment with 20 words or less
406 */
407function get_comment_excerpt( $comment_ID = 0 ) {
408 $comment = get_comment( $comment_ID );
409 $comment_text = strip_tags($comment->comment_content);
410 $blah = explode(' ', $comment_text);
411 if (count($blah) > 20) {
412 $k = 20;
413 $use_dotdotdot = 1;
414 } else {
415 $k = count($blah);
416 $use_dotdotdot = 0;
417 }
418 $excerpt = '';
419 for ($i=0; $i<$k; $i++) {
420 $excerpt .= $blah[$i] . ' ';
421 }
422 $excerpt .= ($use_dotdotdot) ? '...' : '';
423 return apply_filters('get_comment_excerpt', $excerpt);
424}
425
426/**
427 * Display the excerpt of the current comment.
428 *
429 * @since 1.2.0
430 * @uses apply_filters() Calls 'comment_excerpt' hook before displaying excerpt
431 *
432 * @param int $comment_ID The ID of the comment for which to print the excerpt. Optional.
433 */
434function comment_excerpt( $comment_ID = 0 ) {
435 echo apply_filters('comment_excerpt', get_comment_excerpt($comment_ID) );
436}
437
438/**
439 * Retrieve the comment id of the current comment.
440 *
441 * @since 1.5.0
442 * @uses $comment
443 * @uses apply_filters() Calls the 'get_comment_ID' hook for the comment ID
444 *
445 * @return int The comment ID
446 */
447function get_comment_ID() {
448 global $comment;
449 return apply_filters('get_comment_ID', $comment->comment_ID);
450}
451
452/**
453 * Displays the comment id of the current comment.
454 *
455 * @since 0.71
456 * @see get_comment_ID() Echoes Result
457 */
458function comment_ID() {
459 echo get_comment_ID();
460}
461
462/**
463 * Retrieve the link to a given comment.
464 *
465 * @since 1.5.0
466 * @uses $comment
467 *
468 * @param object|string|int $comment Comment to retrieve.
469 * @param array $args Optional args.
470 * @return string The permalink to the given comment.
471 */
472function get_comment_link( $comment = null, $args = array() ) {
473 global $wp_rewrite, $in_comment_loop;
474
475 $comment = get_comment($comment);
476
477 // Backwards compat
478 if ( !is_array($args) ) {
479 $page = $args;
480 $args = array();
481 $args['page'] = $page;
482 }
483
484 $defaults = array( 'type' => 'all', 'page' => '', 'per_page' => '', 'max_depth' => '' );
485 $args = wp_parse_args( $args, $defaults );
486
487 if ( '' === $args['per_page'] && get_option('page_comments') )
488 $args['per_page'] = get_option('comments_per_page');
489
490 if ( empty($args['per_page']) ) {
491 $args['per_page'] = 0;
492 $args['page'] = 0;
493 }
494
495 if ( $args['per_page'] ) {
496 if ( '' == $args['page'] )
497 $args['page'] = ( !empty($in_comment_loop) ) ? get_query_var('cpage') : get_page_of_comment( $comment->comment_ID, $args );
498
499 if ( $wp_rewrite->using_permalinks() )
500 $link = user_trailingslashit( trailingslashit( get_permalink( $comment->comment_post_ID ) ) . 'comment-page-' . $args['page'], 'comment' );
501 else
502 $link = add_query_arg( 'cpage', $args['page'], get_permalink( $comment->comment_post_ID ) );
503 } else {
504 $link = get_permalink( $comment->comment_post_ID );
505 }
506
507 return apply_filters( 'get_comment_link', $link . '#comment-' . $comment->comment_ID, $comment, $args );
508}
509
510/**
511 * Retrieves the link to the current post comments.
512 *
513 * @since 1.5.0
514 *
515 * @param int $post_id Optional post id
516 * @return string The link to the comments
517 */
518function get_comments_link($post_id = 0) {
519 return get_permalink($post_id) . '#comments';
520}
521
522/**
523 * Displays the link to the current post comments.
524 *
525 * @since 0.71
526 *
527 * @param string $deprecated Not Used
528 * @param bool $deprecated_2 Not Used
529 */
530function comments_link( $deprecated = '', $deprecated_2 = '' ) {
531 if ( !empty( $deprecated ) )
532 _deprecated_argument( __FUNCTION__, '0.72' );
533 if ( !empty( $deprecated_2 ) )
534 _deprecated_argument( __FUNCTION__, '1.3' );
535 echo get_comments_link();
536}
537
538/**
539 * Retrieve the amount of comments a post has.
540 *
541 * @since 1.5.0
542 * @uses apply_filters() Calls the 'get_comments_number' hook on the number of comments
543 *
544 * @param int $post_id The Post ID
545 * @return int The number of comments a post has
546 */
547function get_comments_number( $post_id = 0 ) {
548 global $id;
549 $post_id = (int) $post_id;
550
551 if ( !$post_id )
552 $post_id = (int) $id;
553
554 $post = get_post($post_id);
555 if ( ! isset($post->comment_count) )
556 $count = 0;
557 else
558 $count = $post->comment_count;
559
560 return apply_filters('get_comments_number', $count, $post_id);
561}
562
563/**
564 * Display the language string for the number of comments the current post has.
565 *
566 * @since 0.71
567 * @uses $id
568 * @uses apply_filters() Calls the 'comments_number' hook on the output and number of comments respectively.
569 *
570 * @param string $zero Text for no comments
571 * @param string $one Text for one comment
572 * @param string $more Text for more than one comment
573 * @param string $deprecated Not used.
574 */
575function comments_number( $zero = false, $one = false, $more = false, $deprecated = '' ) {
576 global $id;
577
578 if ( !empty( $deprecated ) )
579 _deprecated_argument( __FUNCTION__, '1.3' );
580
581 $number = get_comments_number($id);
582
583 if ( $number > 1 )
584 $output = str_replace('%', number_format_i18n($number), ( false === $more ) ? __('% Comments') : $more);
585 elseif ( $number == 0 )
586 $output = ( false === $zero ) ? __('No Comments') : $zero;
587 else // must be one
588 $output = ( false === $one ) ? __('1 Comment') : $one;
589
590 echo apply_filters('comments_number', $output, $number);
591}
592
593/**
594 * Retrieve the text of the current comment.
595 *
596 * @since 1.5.0
597 * @uses $comment
598 *
599 * @param int $comment_ID The ID of the comment for which to get the text. Optional.
600 * @return string The comment content
601 */
602function get_comment_text( $comment_ID = 0 ) {
603 $comment = get_comment( $comment_ID );
604 return apply_filters('get_comment_text', $comment->comment_content);
605}
606
607/**
608 * Displays the text of the current comment.
609 *
610 * @since 0.71
611 * @uses apply_filters() Passes the comment content through the 'comment_text' hook before display
612 * @uses get_comment_text() Gets the comment content
613 *
614 * @param int $comment_ID The ID of the comment for which to print the text. Optional.
615 */
616function comment_text( $comment_ID = 0 ) {
617 echo apply_filters('comment_text', get_comment_text() );
618}
619
620/**
621 * Retrieve the comment time of the current comment.
622 *
623 * @since 1.5.0
624 * @uses $comment
625 * @uses apply_filter() Calls 'get_comment_time' hook with the formatted time, the $d parameter, and $gmt parameter passed.
626 *
627 * @param string $d Optional. The format of the time (defaults to user's config)
628 * @param bool $gmt Whether to use the GMT date
629 * @param bool $translate Whether to translate the time (for use in feeds)
630 * @return string The formatted time
631 */
632function get_comment_time( $d = '', $gmt = false, $translate = true ) {
633 global $comment;
634 $comment_date = $gmt ? $comment->comment_date_gmt : $comment->comment_date;
635 if ( '' == $d )
636 $date = mysql2date(get_option('time_format'), $comment_date, $translate);
637 else
638 $date = mysql2date($d, $comment_date, $translate);
639 return apply_filters('get_comment_time', $date, $d, $gmt, $translate);
640}
641
642/**
643 * Display the comment time of the current comment.
644 *
645 * @since 0.71
646 *
647 * @param string $d Optional. The format of the time (defaults to user's config)
648 */
649function comment_time( $d = '' ) {
650 echo get_comment_time($d);
651}
652
653/**
654 * Retrieve the comment type of the current comment.
655 *
656 * @since 1.5.0
657 * @uses $comment
658 * @uses apply_filters() Calls the 'get_comment_type' hook on the comment type
659 *
660 * @param int $comment_ID The ID of the comment for which to get the type. Optional.
661 * @return string The comment type
662 */
663function get_comment_type( $comment_ID = 0 ) {
664 $comment = get_comment( $comment_ID );
665 if ( '' == $comment->comment_type )
666 $comment->comment_type = 'comment';
667
668 return apply_filters('get_comment_type', $comment->comment_type);
669}
670
671/**
672 * Display the comment type of the current comment.
673 *
674 * @since 0.71
675 *
676 * @param string $commenttxt The string to display for comment type
677 * @param string $trackbacktxt The string to display for trackback type
678 * @param string $pingbacktxt The string to display for pingback type
679 */
680function comment_type($commenttxt = false, $trackbacktxt = false, $pingbacktxt = false) {
681 if ( false === $commenttxt ) $commenttxt = _x( 'Comment', 'noun' );
682 if ( false === $trackbacktxt ) $trackbacktxt = __( 'Trackback' );
683 if ( false === $pingbacktxt ) $pingbacktxt = __( 'Pingback' );
684 $type = get_comment_type();
685 switch( $type ) {
686 case 'trackback' :
687 echo $trackbacktxt;//Cross Site Scripting
688 break;
689 case 'pingback' :
690 echo $pingbacktxt;//Cross Site Scripting
691 break;
692 default :
693 echo $commenttxt;//Cross Site Scripting
694 }
695}
696
697/**
698 * Retrieve The current post's trackback URL.
699 *
700 * There is a check to see if permalink's have been enabled and if so, will
701 * retrieve the pretty path. If permalinks weren't enabled, the ID of the
702 * current post is used and appended to the correct page to go to.
703 *
704 * @since 1.5.0
705 * @uses apply_filters() Calls 'trackback_url' on the resulting trackback URL
706 * @uses $id
707 *
708 * @return string The trackback URL after being filtered
709 */
710function get_trackback_url() {
711 global $id;
712 if ( '' != get_option('permalink_structure') ) {
713 $tb_url = trailingslashit(get_permalink()) . user_trailingslashit('trackback', 'single_trackback');
714 } else {
715 $tb_url = get_option('siteurl') . '/wp-trackback.php?p=' . $id;
716 }
717 return apply_filters('trackback_url', $tb_url);
718}
719
720/**
721 * Displays the current post's trackback URL.
722 *
723 * @since 0.71
724 * @uses get_trackback_url() Gets the trackback url for the current post
725 *
726 * @param bool $deprecated_echo Remove backwards compat in 2.5
727 * @return void|string Should only be used to echo the trackback URL, use get_trackback_url() for the result instead.
728 */
729function trackback_url( $deprecated_echo = true ) {
730 if ( $deprecated_echo !== true )
731 _deprecated_argument( __FUNCTION__, '2.5', __('Use <code>get_trackback_url()</code> instead if you do not want the value echoed.') );
732 if ( $deprecated_echo )
733 echo get_trackback_url();
734 else
735 return get_trackback_url();
736}
737
738/**
739 * Generates and displays the RDF for the trackback information of current post.
740 *
741 * Deprecated in 3.0.0, and restored in 3.0.1.
742 *
743 * @since 0.71
744 *
745 * @param int $deprecated Not used (Was $timezone = 0)
746 */
747function trackback_rdf( $deprecated = '' ) {
748 if ( !empty( $deprecated ) )
749 _deprecated_argument( __FUNCTION__, '2.5' );
750
751 echo '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
752 xmlns:dc="http://purl.org/dc/elements/1.1/"
753 xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
754 <rdf:Description rdf:about="';
755 the_permalink();
756 echo '"'."\n";
757 echo ' dc:identifier="';
758 the_permalink();
759 echo '"'."\n";
760 echo ' dc:title="'.str_replace('--', '--', wptexturize(strip_tags(get_the_title()))).'"'."\n";
761 echo ' trackback:ping="'.get_trackback_url().'"'." />\n";
762 echo '</rdf:RDF>';
763}
764
765/**
766 * Whether the current post is open for comments.
767 *
768 * @since 1.5.0
769 * @uses $post
770 *
771 * @param int $post_id An optional post ID to check instead of the current post.
772 * @return bool True if the comments are open
773 */
774function comments_open( $post_id=NULL ) {
775
776 $_post = get_post($post_id);
777
778 $open = ( 'open' == $_post->comment_status );
779 return apply_filters( 'comments_open', $open, $post_id );
780}
781
782/**
783 * Whether the current post is open for pings.
784 *
785 * @since 1.5.0
786 * @uses $post
787 *
788 * @param int $post_id An optional post ID to check instead of the current post.
789 * @return bool True if pings are accepted
790 */
791function pings_open( $post_id = NULL ) {
792
793 $_post = get_post($post_id);
794
795 $open = ( 'open' == $_post->ping_status );
796 return apply_filters( 'pings_open', $open, $post_id );
797}
798
799/**
800 * Displays form token for unfiltered comments.
801 *
802 * Will only display nonce token if the current user has permissions for
803 * unfiltered html. Won't display the token for other users.
804 *
805 * The function was backported to 2.0.10 and was added to versions 2.1.3 and
806 * above. Does not exist in versions prior to 2.0.10 in the 2.0 branch and in
807 * the 2.1 branch, prior to 2.1.3. Technically added in 2.2.0.
808 *
809 * Backported to 2.0.10.
810 *
811 * @since 2.1.3
812 * @uses $post Gets the ID of the current post for the token
813 */
814function wp_comment_form_unfiltered_html_nonce() {
815 global $post;
816
817 $post_id = 0;
818 if ( !empty($post) )
819 $post_id = $post->ID;
820
821 if ( current_user_can('unfiltered_html') )
822 wp_nonce_field('unfiltered-html-comment_' . $post_id, '_wp_unfiltered_html_comment', false);
823}
824
825/**
826 * Loads the comment template specified in $file.
827 *
828 * Will not display the comments template if not on single post or page, or if
829 * the post does not have comments.
830 *
831 * Uses the WordPress database object to query for the comments. The comments
832 * are passed through the 'comments_array' filter hook with the list of comments
833 * and the post ID respectively.
834 *
835 * The $file path is passed through a filter hook called, 'comments_template'
836 * which includes the TEMPLATEPATH and $file combined. Tries the $filtered path
837 * first and if it fails it will require the default comment themplate from the
838 * default theme. If either does not exist, then the WordPress process will be
839 * halted. It is advised for that reason, that the default theme is not deleted.
840 *
841 * @since 1.5.0
842 * @global array $comment List of comment objects for the current post
843 * @uses $wpdb
844 * @uses $id
845 * @uses $post
846 * @uses $withcomments Will not try to get the comments if the post has none.
847 *
848 * @param string $file Optional, default '/comments.php'. The file to load
849 * @param bool $separate_comments Optional, whether to separate the comments by comment type. Default is false.
850 * @return null Returns null if no comments appear
851 */
852function comments_template( $file = '/comments.php', $separate_comments = false ) {
853 global $wp_query, $withcomments, $post, $wpdb, $id, $comment, $user_login, $user_ID, $user_identity, $overridden_cpage;
854
855 if ( !(is_single() || is_page() || $withcomments) || empty($post) )
856 return;
857
858 if ( empty($file) )
859 $file = '/comments.php';
860
861 $req = get_option('require_name_email');
862
863 /**
864 * Comment author information fetched from the comment cookies.
865 *
866 * @uses wp_get_current_commenter()
867 */
868 $commenter = wp_get_current_commenter();
869
870 /**
871 * The name of the current comment author escaped for use in attributes.
872 */
873 $comment_author = $commenter['comment_author']; // Escaped by sanitize_comment_cookies()
874
875 /**
876 * The email address of the current comment author escaped for use in attributes.
877 */
878 $comment_author_email = $commenter['comment_author_email']; // Escaped by sanitize_comment_cookies()//Connection Handling
879
880 /**
881 * The url of the current comment author escaped for use in attributes.
882 */
883 $comment_author_url = esc_url($commenter['comment_author_url']);
884
885 /** @todo Use API instead of SELECTs. */
886 if ( $user_ID) {
887 $comments = $wpdb->get_results($wpdb->prepare("SELECT * FROM $wpdb->comments WHERE comment_post_ID = %d AND (comment_approved = '1' OR ( user_id = %d AND comment_approved = '0' ) ) ORDER BY comment_date_gmt", $post->ID, $user_ID));
888 } else if ( empty($comment_author) ) {
889 $comments = get_comments( array('post_id' => $post->ID, 'status' => 'approve', 'order' => 'ASC') );
890 } else {
891 $comments = $wpdb->get_results($wpdb->prepare("SELECT * FROM $wpdb->comments WHERE comment_post_ID = %d AND ( comment_approved = '1' OR ( comment_author = %s AND comment_author_email = %s AND comment_approved = '0' ) ) ORDER BY comment_date_gmt", $post->ID, wp_specialchars_decode($comment_author,ENT_QUOTES), $comment_author_email));
892 }
893
894 // keep $comments for legacy's sake
895 $wp_query->comments = apply_filters( 'comments_array', $comments, $post->ID );
896 $comments = &$wp_query->comments;
897 $wp_query->comment_count = count($wp_query->comments);
898 update_comment_cache($wp_query->comments);
899
900 if ( $separate_comments ) {
901 $wp_query->comments_by_type = &separate_comments($comments);
902 $comments_by_type = &$wp_query->comments_by_type;
903 }
904
905 $overridden_cpage = FALSE;
906 if ( '' == get_query_var('cpage') && get_option('page_comments') ) {
907 set_query_var( 'cpage', 'newest' == get_option('default_comments_page') ? get_comment_pages_count() : 1 );
908 $overridden_cpage = TRUE;
909 }
910
911 if ( !defined('COMMENTS_TEMPLATE') || !COMMENTS_TEMPLATE)
912 define('COMMENTS_TEMPLATE', true);
913
914 $include = apply_filters('comments_template', STYLESHEETPATH . $file );//Arbitrary code inclusion
915 if ( file_exists( $include ) )
916 require( $include );//Arbitrary code inclusion
917 elseif ( file_exists( TEMPLATEPATH . $file ) )
918 require( TEMPLATEPATH . $file );//Arbitrary code inclusion
919 else // Backward compat code will be removed in a future release
920 require( ABSPATH . WPINC . '/theme-compat/comments.php');
921}
922
923/**
924 * Displays the JS popup script to show a comment.
925 *
926 * If the $file parameter is empty, then the home page is assumed. The defaults
927 * for the window are 400px by 400px.
928 *
929 * For the comment link popup to work, this function has to be called or the
930 * normal comment link will be assumed.
931 *
932 * @since 0.71
933 * @global string $wpcommentspopupfile The URL to use for the popup window
934 * @global int $wpcommentsjavascript Whether to use JavaScript. Set when function is called
935 *
936 * @param int $width Optional. The width of the popup window
937 * @param int $height Optional. The height of the popup window
938 * @param string $file Optional. Sets the location of the popup window
939 */
940function comments_popup_script($width=400, $height=400, $file='') {
941 global $wpcommentspopupfile, $wpcommentsjavascript;//Arbitrary file disclosing
942
943 if (empty ($file)) {
944 $wpcommentspopupfile = ''; // Use the index.
945 } else {
946 $wpcommentspopupfile = $file;//Arbitrary file disclosing
947 }
948
949 $wpcommentsjavascript = 1;
950 $javascript = "<script type='text/javascript'>\nfunction wpopen (macagna) {\n window.open(macagna, '_blank', 'width=$width,height=$height,scrollbars=yes,status=yes');\n}\n</script>\n";
951 echo $javascript;//Cross Site Scripting
952}
953
954/**
955 * Displays the link to the comments popup window for the current post ID.
956 *
957 * Is not meant to be displayed on single posts and pages. Should be used on the
958 * lists of posts
959 *
960 * @since 0.71
961 * @uses $id
962 * @uses $wpcommentspopupfile
963 * @uses $wpcommentsjavascript
964 * @uses $post
965 *
966 * @param string $zero The string to display when no comments
967 * @param string $one The string to display when only one comment is available
968 * @param string $more The string to display when there are more than one comment
969 * @param string $css_class The CSS class to use for comments
970 * @param string $none The string to display when comments have been turned off
971 * @return null Returns null on single posts and pages.
972 */
973function comments_popup_link( $zero = false, $one = false, $more = false, $css_class = '', $none = false ) {
974 global $id, $wpcommentspopupfile, $wpcommentsjavascript;//Arbitrary file disclosing
975
976 if ( false === $zero ) $zero = __( 'No Comments' );
977 if ( false === $one ) $one = __( '1 Comment' );
978 if ( false === $more ) $more = __( '% Comments' );
979 if ( false === $none ) $none = __( 'Comments Off' );
980
981 $number = get_comments_number( $id );
982
983 if ( 0 == $number && !comments_open() && !pings_open() ) {
984 echo '<span' . ((!empty($css_class)) ? ' class="' . esc_attr( $css_class ) . '"' : '') . '>' . $none . '</span>';
985 return;
986 }
987
988 if ( post_password_required() ) {
989 echo __('Enter your password to view comments.');
990 return;
991 }
992
993 echo '<a href="';
994 if ( $wpcommentsjavascript ) {
995 if ( empty( $wpcommentspopupfile ) )
996 $home = home_url();
997 else
998 $home = get_option('siteurl');
999 echo $home . '/' . $wpcommentspopupfile . '?comments_popup=' . $id;//Cross Site Scripting
1000 echo '" onclick="wpopen(this.href); return false"';
/var/www/wordpress/wp-includes/comment.php
/var/www/wordpress/wp-includes/compat.php
/var/www/wordpress/wp-includes/cron.php
/var/www/wordpress/wp-includes/default-constants.php
/var/www/wordpress/wp-includes/default-embeds.php
/var/www/wordpress/wp-includes/default-filters.php
/var/www/wordpress/wp-includes/default-widgets.php
/var/www/wordpress/wp-includes/deprecated.php
/var/www/wordpress/wp-includes/feed-atom-comments.php
/var/www/wordpress/wp-includes/feed-atom.php
/var/www/wordpress/wp-includes/feed-rdf.php
/var/www/wordpress/wp-includes/feed-rss.php
/var/www/wordpress/wp-includes/feed-rss2-comments.php
/var/www/wordpress/wp-includes/feed-rss2.php
/var/www/wordpress/wp-includes/feed.php
/var/www/wordpress/wp-includes/formatting.php
/var/www/wordpress/wp-includes/functions.php
/var/www/wordpress/wp-includes/functions.wp-scripts.php
/var/www/wordpress/wp-includes/functions.wp-styles.php
/var/www/wordpress/wp-includes/general-template.php
/var/www/wordpress/wp-includes/http.php
/var/www/wordpress/wp-includes/kses.php
/var/www/wordpress/wp-includes/l10n.php
/var/www/wordpress/wp-includes/link-template.php
/var/www/wordpress/wp-includes/load.php
/var/www/wordpress/wp-includes/locale.php
/var/www/wordpress/wp-includes/media.php
/var/www/wordpress/wp-includes/meta.php
/var/www/wordpress/wp-includes/ms-blogs.php
/var/www/wordpress/wp-includes/ms-default-constants.php
/var/www/wordpress/wp-includes/ms-default-filters.php
/var/www/wordpress/wp-includes/ms-deprecated.php
/var/www/wordpress/wp-includes/ms-files.php
/var/www/wordpress/wp-includes/ms-functions.php
/var/www/wordpress/wp-includes/ms-load.php
/var/www/wordpress/wp-includes/ms-settings.php
/var/www/wordpress/wp-includes/nav-menu-template.php
/var/www/wordpress/wp-includes/nav-menu.php
/var/www/wordpress/wp-includes/pluggable-deprecated.php
/var/www/wordpress/wp-includes/pluggable.php
/var/www/wordpress/wp-includes/plugin.php
/var/www/wordpress/wp-includes/post-template.php
/var/www/wordpress/wp-includes/post-thumbnail-template.php
/var/www/wordpress/wp-includes/post.php
/var/www/wordpress/wp-includes/query.php
/var/www/wordpress/wp-includes/registration-functions.php
/var/www/wordpress/wp-includes/registration.php
/var/www/wordpress/wp-includes/rewrite.php
/var/www/wordpress/wp-includes/rss-functions.php
/var/www/wordpress/wp-includes/rss.php
/var/www/wordpress/wp-includes/script-loader.php
/var/www/wordpress/wp-includes/shortcodes.php
/var/www/wordpress/wp-includes/taxonomy.php
/var/www/wordpress/wp-includes/template-loader.php
/var/www/wordpress/wp-includes/theme.php
/var/www/wordpress/wp-includes/update.php
/var/www/wordpress/wp-includes/user.php
/var/www/wordpress/wp-includes/vars.php
/var/www/wordpress/wp-includes/version.php
/var/www/wordpress/wp-includes/widgets.php
/var/www/wordpress/wp-includes/wp-db.php
/var/www/wordpress/wp-includes/wp-diff.php
/var/www/wordpress/index.php
/var/www/wordpress/wp-activate.php
/var/www/wordpress/wp-app.php
/var/www/wordpress/wp-atom.php
/var/www/wordpress/wp-blog-header.php
/var/www/wordpress/wp-comments-post.php
/var/www/wordpress/wp-commentsrss2.php
/var/www/wordpress/wp-config-sample.php
/var/www/wordpress/wp-cron.php
/var/www/wordpress/wp-feed.php
/var/www/wordpress/wp-links-opml.php
/var/www/wordpress/wp-load.php
/var/www/wordpress/wp-login.php
/var/www/wordpress/wp-mail.php
/var/www/wordpress/wp-pass.php
/var/www/wordpress/wp-rdf.php
/var/www/wordpress/wp-register.php
/var/www/wordpress/wp-rss.php
/var/www/wordpress/wp-rss2.php
/var/www/wordpress/wp-settings.php
/var/www/wordpress/wp-signup.php
/var/www/wordpress/wp-trackback.php
/var/www/wordpress/xmlrpc.php