<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Notes Log &#187; WordPress</title>
	<atom:link href="http://noteslog.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://noteslog.com</link>
	<description></description>
	<lastBuildDate>Sat, 15 May 2010 13:31:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to Add a Digg Button to a WordPress Post</title>
		<link>http://noteslog.com/post/how-to-add-a-digg-button/</link>
		<comments>http://noteslog.com/post/how-to-add-a-digg-button/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 21:36:07 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[Enzymes]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://noteslog.com/?p=282</guid>
		<description><![CDATA[digg_url = 'http://noteslog.com/post/how-to-add-a-digg-button/'; digg_title = 'How to Add a Digg Button to a WordPress Post'; See the Digg button? </p><div class="diggthis"><script type="text/javascript">
digg_url = 'http://noteslog.com/post/how-to-add-a-digg-button/';
digg_title = 'How to Add a Digg Button to a WordPress Post';
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div><p> is the enzyme I wrote for displaying it. I think it&#8217;s useful to have a means for adding a Digg button to a post only when and where you need it. Of course [...]]]></description>
			<content:encoded><![CDATA[<p></p><div class="diggthis"><script type="text/javascript">
digg_url = 'http://noteslog.com/post/how-to-add-a-digg-button/';
digg_title = 'How to Add a Digg Button to a WordPress Post';
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div><p> See the Digg button? <span style="color: #333399;">{[  1.diggthis()  ]}</span> is the enzyme I wrote for displaying it. I think it&#8217;s useful to have a means for adding a Digg button to a post only when and where you need it.</p>
<p><span id="more-282"></span></p>
<p>Of course you can put the same enzyme in a template (using the <span style="color: #333399;">metabolize</span> function), and you&#8217;ll see a Digg button into each and every post, but I prefer the on-demand way.</p>
<p>Now I&#8217;ll show you my setup.</p>
<h4>1. Add a &#8216;diggthis-code&#8217; custom field</h4>
<p>As usual, I add the enzymes I&#8217;m going to use over and over, into the post number 1, the one that WordPress gives you by default.</p>
<p>This custom field is for the code that <a href="http://digg.com/tools/integrate" target="_blank">Digg tells you to use</a>. I prefer to isolate external codes into their own custom fields, so this one is just for that:</p>
<p><pre><code class="html">&lt;script type=&quot;text/javascript&quot;&gt;
digg_url = 'WEBSITE_URL';
digg_title = 'TITLE';
&lt;/script&gt;
&lt;script src=&quot;http://digg.com/tools/diggthis.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</code></pre></p>
<h4>2. Add a &#8216;diggthis&#8217; custom field</h4>
<p>This custom field is for the enzyme:</p>
<p><pre class="ln-"><code class="php">$post = $this-&gt;post;
$url = post_permalink( $post-&gt;ID );
if( false !== strpos( $url, '://localhost/' ) ) {
  return '[no digg for localhost]';
}
$title = $post-&gt;post_title;
$code = $this-&gt;elaborate( &quot;1.diggthis-code&quot; );
$code = $code[0];
$code = str_replace( 'WEBSITE_URL', $url, $code );
$code = str_replace( 'TITLE', $title, $code );
$style = $this-&gt;substrate;
if( '' != $style ) {
  $style = ' style=&quot;' . $style . '&quot;';
}
$code = '&lt;/p&gt;&lt;div class=&quot;diggthis&quot;' . $style . '&gt;' . $code . '&lt;/div&gt;&lt;p&gt;';
//return htmlspecialchars( $code );
return $code;</code></pre></p>
<ul>
<li>Line 1: get the current post object</li>
<li>Lines 2-6: get values for the variables of the widget<br />
the localhost shortcircuit is a Digg requirement; if you don&#8217;t return, you&#8217;ll see an error</li>
<li>Lines 7-10: get the widget and set its variables</li>
<li>Lines 11-14: get custom style from the enzyme&#8217;s substrate, if any</li>
<li>Line 15: decorate the widget<br />
reverse P-wrap is needed because WordPress automatically applies a P-wrap and a DIV into a P is not allowed</li>
<li>Line 16: useful for debugging</li>
<li>Line 17: return the widget</li>
</ul>
<h4>3. Use it</h4>
<p>That&#8217;s it. For displaying a new Digg button now, right here </p><div class="diggthis" style="float: right; margin-left: 1em;"><script type="text/javascript">
digg_url = 'http://noteslog.com/post/how-to-add-a-digg-button/';
digg_title = 'How to Add a Digg Button to a WordPress Post';
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div><p> I wrote <span style="color: #333399;">{[ 1.diggthis( =float: right; margin-left: 1em;= ) ]}</span>. This time I overwrite the CSS for the class <span style="color: #333399;">diggthis</span> that I put into my theme:</p>
<p><pre><code class="css">.diggthis {
	float: left;
	margin-right: 1em;
}</code></pre></p>
<h4>Prior art</h4>
<ul>
<li><a href="http://www.aviransplace.com/digg-this-wordpress-plugin/" target="_blank">digg-this-wordpress-plugin</a></li>
<li><a href="http://cybernetnews.com/digg-button/" target="_blank">digg-button</a></li>
<li><a href="http://en.blog.wordpress.com/2007/02/22/digg-this/" target="_blank">digg-this</a></li>
<li><a href="http://www.ashbaughonline.com/2007/05/05/manually-adding-digg-button-to-wordpress-posts/">manually-adding-digg-button-to-wordpress-posts</a></li>
<li>&#8230; and many others</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/how-to-add-a-digg-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Action and Filter Hooks</title>
		<link>http://noteslog.com/post/wordpress-action-and-filter-hooks/</link>
		<comments>http://noteslog.com/post/wordpress-action-and-filter-hooks/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 21:11:36 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[Toolkit]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://noteslog.com/?p=221</guid>
		<description><![CDATA[These are all the action and filter calls in WP 2.5.0. For each call I show its arguments and where it occurs into the code. Actions function do_action( $tag, $arg = '' ) {...} -- wordpress-2.5.0/wp-includes/plugin.php (271) function do_action_ref_array( $tag, $args ) {...} -- wordpress-2.5.0/wp-includes/plugin.php (354) Fixed Name Actions A call takes the form do_action( [...]]]></description>
			<content:encoded><![CDATA[<p>These are all the action and filter calls in WP 2.5.0. For each call I show its arguments and where it occurs into the code.</p>
<p><span id="more-221"></span></p>
<h4>Actions</h4>
<p><pre>function do_action( $tag, $arg = '' ) {...}                                    -- wordpress-2.5.0/wp-includes/plugin.php (271)</pre></p>
<p><pre>function do_action_ref_array( $tag, $args ) {...}                              -- wordpress-2.5.0/wp-includes/plugin.php (354)</pre></p>
<h5>Fixed Name Actions</h5>
<p>A call takes the form <span style="text-decoration: underline;">do_action( &lt;hook&gt;, </span><span style="text-decoration: underline;">&lt;arg1&gt;, &lt;arg2&gt;, &#8230;</span><span style="text-decoration: underline;"> )</span></p>
<p><pre>HOOK                                             ARGS                          LOCATION
'_admin_menu'                                                                  -- wordpress-2.5.0/wp-admin/menu.php (72)
'activity_box_end'                                                             -- wordpress-2.5.0/wp-admin/index.php (115)
'add_attachment',                                $post_ID                      -- wordpress-2.5.0/wp-includes/post.php (2134)
'add_category_form_pre',                         $category                     -- wordpress-2.5.0/wp-admin/edit-category-form.php (15)
'add_link',                                      $link_id                      -- wordpress-2.5.0/wp-admin/includes/bookmark.php (139)
'add_link_category_form_pre',                    $category                     -- wordpress-2.5.0/wp-admin/edit-link-category-form.php (15)
'add_tag_form_pre',                              $tag                          -- wordpress-2.5.0/wp-admin/edit-tag-form.php (15)
'admin_footer',                                  ''                            -- wordpress-2.5.0/wp-admin/admin-footer.php (11)
'admin_footer',                                  ''                            -- wordpress-2.5.0/wp-admin/bookmarklet.php (104)
'admin_head'                                                                   -- wordpress-2.5.0/wp-admin/admin-header.php (57)
'admin_head'                                                                   -- wordpress-2.5.0/wp-admin/includes/media.php (140)
'admin_init'                                                                   -- wordpress-2.5.0/wp-admin/admin.php (44)
'admin_menu',                                    ''                            -- wordpress-2.5.0/wp-admin/menu.php (119)
'admin_notices'                                                                -- wordpress-2.5.0/wp-admin/menu-header.php (166)
'admin_page_access_denied'                                                     -- wordpress-2.5.0/wp-admin/menu.php (139)
'admin_print_scripts'                                                          -- wordpress-2.5.0/wp-admin/admin-header.php (51)
'admin_print_scripts'                                                          -- wordpress-2.5.0/wp-admin/includes/media.php (139)
'admin_xml_ns'                                                                 -- wordpress-2.5.0/wp-admin/admin-header.php (26)
'admin_xml_ns'                                                                 -- wordpress-2.5.0/wp-admin/includes/media.php (124)
'admin_xml_ns'                                                                 -- wordpress-2.5.0/wp-admin/update.php (149)
'adminmenu'                                                                    -- wordpress-2.5.0/wp-admin/menu-header.php (90)
'after_plugin_row',                              $plugin_file                  -- wordpress-2.5.0/wp-admin/plugins.php (159)
'akismet_spam_caught'                                                          -- wordpress-2.5.0/wp-content/plugins/akismet/akismet.php (208)
'akismet_tabs'                                                                 -- wordpress-2.5.0/wp-content/plugins/akismet/akismet.php (496)
'app_publish_post',                              $post_id                      -- wordpress-2.5.0/wp-includes/post.php (2890)
'atom_entry'                                                                   -- wordpress-2.5.0/wp-includes/feed-atom.php (50)
'atom_head'                                                                    -- wordpress-2.5.0/wp-includes/feed-atom.php (30)
'atom_ns'                                                                      -- wordpress-2.5.0/wp-includes/feed-atom-comments.php (14)
'atom_ns'                                                                      -- wordpress-2.5.0/wp-includes/feed-atom.php (18)
'blog_privacy_selector'                                                        -- wordpress-2.5.0/wp-admin/options-privacy.php (22)
'check_admin_referer',                           $action, $result              -- wordpress-2.5.0/wp-includes/pluggable.php (631)
'check_ajax_referer',                            $action, $result              -- wordpress-2.5.0/wp-includes/pluggable.php (655)
'check_comment_flood',                           $comment_author_IP, $comment_author_email, $comment_date_gmt
                                                                               -- wordpress-2.5.0/wp-includes/comment.php (339)
'clean_object_term_cache',                       $object_ids, $object_type     -- wordpress-2.5.0/wp-includes/taxonomy.php (1600)
'clean_page_cache',                              $id                           -- wordpress-2.5.0/wp-includes/post.php (2716)
'clean_post_cache',                              $id                           -- wordpress-2.5.0/wp-includes/post.php (2678)
'clean_term_cache',                              $ids, $taxonomy               -- wordpress-2.5.0/wp-includes/taxonomy.php (1645)
'comment_atom_entry',                            $comment-&gt;comment_ID, $comment_post-&gt;ID
                                                                               -- wordpress-2.5.0/wp-includes/feed-atom-comments.php (74)
'comment_closed',                                $comment_post_ID              -- wordpress-2.5.0/wp-comments-post.php (20)
'comment_flood_trigger',                         $time_lastcomment, $time_newcomment
                                                                               -- wordpress-2.5.0/wp-includes/comment.php (387)
'comment_form',                                  $post-&gt;ID                     -- wordpress-2.5.0/wp-content/themes/classic/comments-popup.php (89)
'comment_form',                                  $post-&gt;ID                     -- wordpress-2.5.0/wp-content/themes/classic/comments.php (68)
'comment_form',                                  $post-&gt;ID                     -- wordpress-2.5.0/wp-content/themes/default/comments-popup.php (89)
'comment_form',                                  $post-&gt;ID                     -- wordpress-2.5.0/wp-content/themes/default/comments.php (99)
'comment_id_not_found',                          $comment_post_ID              -- wordpress-2.5.0/wp-comments-post.php (17)
'comment_loop_start'                                                           -- wordpress-2.5.0/wp-includes/query.php (1540)
'comment_on_draft',                              $comment_post_ID              -- wordpress-2.5.0/wp-comments-post.php (23)
'comment_post',                                  $comment_ID, $commentdata['comment_approved']
                                                                               -- wordpress-2.5.0/wp-includes/comment.php (686)
'comment_relatedlinks_list'                                                    -- wordpress-2.5.0/wp-admin/edit-form-comment.php (59)
'commentrss2_item',                              $comment-&gt;comment_ID, $comment_post-&gt;ID
                                                                               -- wordpress-2.5.0/wp-includes/feed-rss2-comments.php (58)
'commentsrss2_head'                                                            -- wordpress-2.5.0/wp-includes/feed-rss2-comments.php (31)
'create_term',                                   $term_id, $tt_id              -- wordpress-2.5.0/wp-includes/taxonomy.php (1223)
'created_term',                                  $term_id, $tt_id              -- wordpress-2.5.0/wp-includes/taxonomy.php (1230)
'dashmenu'                                                                     -- wordpress-2.5.0/wp-admin/menu-header.php (34)
'dbx_post_advanced'                                                            -- wordpress-2.5.0/wp-admin/edit-form-advanced.php (296)
'dbx_post_sidebar'                                                             -- wordpress-2.5.0/wp-admin/edit-form-advanced.php (341)
'delete_attachment',                             $postid                       -- wordpress-2.5.0/wp-includes/post.php (2199)
'delete_comment',                                $comment_id                   -- wordpress-2.5.0/wp-includes/comment.php (486)
'delete_link',                                   $link_id                      -- wordpress-2.5.0/wp-admin/includes/bookmark.php (46)
'delete_post',                                   $postid                       -- wordpress-2.5.0/wp-includes/post.php (975)
'delete_term',                                   $term, $tt_id, $taxonomy      -- wordpress-2.5.0/wp-includes/taxonomy.php (1001)
'delete_user',                                   $id                           -- wordpress-2.5.0/wp-admin/includes/user.php (272)
'deleted_link',                                  $link_id                      -- wordpress-2.5.0/wp-admin/includes/bookmark.php (52)
'deleted_post',                                  $postid                       -- wordpress-2.5.0/wp-includes/post.php (1021)
'deprecated_file_included',                      $file, $replacement           -- wordpress-2.5.0/wp-includes/functions.php (1702)
'deprecated_function_run',                       $function, $replacement       -- wordpress-2.5.0/wp-includes/functions.php (1667)
'do_robots'                                                                    -- wordpress-2.5.0/wp-includes/template-loader.php (67)
'do_robots'                                                                    -- wordpress-2.5.0/wp-includes/template-loader.php (9)
'do_robotstxt'                                                                 -- wordpress-2.5.0/wp-includes/functions.php (943)
'edit_attachment',                               $post_ID                      -- wordpress-2.5.0/wp-includes/post.php (2132)
'edit_category_form',                            $category                     -- wordpress-2.5.0/wp-admin/edit-category-form.php (51)
'edit_category_form_pre',                        $category                     -- wordpress-2.5.0/wp-admin/edit-category-form.php (8)
'edit_comment',                                  $comment_ID                   -- wordpress-2.5.0/wp-includes/comment.php (792)
'edit_form_advanced'                                                           -- wordpress-2.5.0/wp-admin/edit-form-advanced.php (253)
'edit_link',                                     $link_id                      -- wordpress-2.5.0/wp-admin/includes/bookmark.php (137)
'edit_link_category_form',                       $category                     -- wordpress-2.5.0/wp-admin/edit-link-category-form.php (42)
'edit_link_category_form_pre',                   $category                     -- wordpress-2.5.0/wp-admin/edit-link-category-form.php (8)
'edit_page_form'                                                               -- wordpress-2.5.0/wp-admin/edit-page-form.php (187)
'edit_post',                                     $post_ID, $post               -- wordpress-2.5.0/wp-includes/post.php (1325)
'edit_post',                                     $post_id, $post               -- wordpress-2.5.0/wp-includes/comment.php (891)
'edit_post',                                     $post_id, $post               -- wordpress-2.5.0/wp-includes/post.php (1420)
'edit_tag_form',                                 $tag                          -- wordpress-2.5.0/wp-admin/edit-tag-form.php (39)
'edit_tag_form_pre',                             $tag                          -- wordpress-2.5.0/wp-admin/edit-tag-form.php (8)
'edit_term',                                     $term_id, $tt_id              -- wordpress-2.5.0/wp-includes/taxonomy.php (1478)
'edit_user_profile'                                                            -- wordpress-2.5.0/wp-admin/user-edit.php (324)
'edited_term',                                   $term_id, $tt_id              -- wordpress-2.5.0/wp-includes/taxonomy.php (1485)
'export_wp'                                                                    -- wordpress-2.5.0/wp-admin/includes/export.php (9)
'get_footer'                                                                   -- wordpress-2.5.0/wp-includes/general-template.php (15)
'get_header'                                                                   -- wordpress-2.5.0/wp-includes/general-template.php (6)
'get_sidebar'                                                                  -- wordpress-2.5.0/wp-includes/general-template.php (24)
'import_done',                                   'blogger'                     -- wordpress-2.5.0/wp-admin/import/blogger.php (466)
'import_done',                                   'blogware'                    -- wordpress-2.5.0/wp-admin/import/blogware.php (165)
'import_done',                                   'dotclear'                    -- wordpress-2.5.0/wp-admin/import/dotclear.php (618)
'import_done',                                   'greymatter'                  -- wordpress-2.5.0/wp-admin/import/greymatter.php (283)
'import_done',                                   'livejournal'                 -- wordpress-2.5.0/wp-admin/import/livejournal.php (141)
'import_done',                                   'mt'                          -- wordpress-2.5.0/wp-admin/import/mt.php (421)
'import_done',                                   'rss'                         -- wordpress-2.5.0/wp-admin/import/rss.php (144)
'import_done',                                   'textpattern'                 -- wordpress-2.5.0/wp-admin/import/textpattern.php (553)
'import_done',                                   'wordpress'                   -- wordpress-2.5.0/wp-admin/import/wordpress.php (331)
'import_end'                                                                   -- wordpress-2.5.0/wp-admin/import/wordpress.php (665)
'import_post_added',                             $post_id                      -- wordpress-2.5.0/wp-admin/import/wordpress.php (507)
'import_post_meta',                              $post_id, $_key, $value       -- wordpress-2.5.0/wp-admin/import/wordpress.php (516)
'import_start'                                                                 -- wordpress-2.5.0/wp-admin/import/wordpress.php (661)
'in_admin_footer',                               ''                            -- wordpress-2.5.0/wp-admin/admin-footer.php (6)
'init'                                                                         -- wordpress-2.5.0/wp-settings.php (469)
'link_relatedlinks_list'                                                       -- wordpress-2.5.0/wp-admin/edit-link-form.php (69)
'load_feed_engine'                                                             -- wordpress-2.5.0/wp-includes/rss.php (18)
'login_form'                                                                   -- wordpress-2.5.0/wp-login.php (388)
'login_head'                                                                   -- wordpress-2.5.0/wp-login.php (26)
'loop_end'                                                                     -- wordpress-2.5.0/wp-includes/query.php (1511)
'loop_start'                                                                   -- wordpress-2.5.0/wp-includes/query.php (1504)
'lost_password'                                                                -- wordpress-2.5.0/wp-login.php (246)
'lostpassword_form'                                                            -- wordpress-2.5.0/wp-login.php (255)
'lostpassword_post'                                                            -- wordpress-2.5.0/wp-login.php (76)
'manage_comments_nav',                           $comment_status               -- wordpress-2.5.0/wp-admin/edit-comments.php (174)
'manage_link_custom_column',                     $column_name, $link-&gt;link_id  -- wordpress-2.5.0/wp-admin/link-manager.php (201)
'manage_media_custom_column',                    $column_name, $id             -- wordpress-2.5.0/wp-admin/edit-attachment-rows.php (130)
'manage_media_media_column',                     $post-&gt;ID                     -- wordpress-2.5.0/wp-admin/edit-attachment-rows.php (55)
'manage_pages_custom_column',                    $column_name, $id             -- wordpress-2.5.0/wp-admin/includes/template.php (458)
'manage_posts_custom_column',                    $column_name, $id             -- wordpress-2.5.0/wp-admin/edit-post-rows.php (180)
'mce_options'                                                                  -- wordpress-2.5.0/wp-includes/js/tinymce/tiny_mce_config.php (180)
'media_buttons'                                                                -- wordpress-2.5.0/wp-includes/general-template.php (944)
'page_relatedlinks_list'                                                       -- wordpress-2.5.0/wp-admin/edit-page-form.php (154)
'password_reset',                                $user                         -- wordpress-2.5.0/wp-login.php (125)
'personal_options_update'                                                      -- wordpress-2.5.0/wp-admin/user-edit.php (101)
'pingback_post',                                 $comment_ID                   -- wordpress-2.5.0/xmlrpc.php (2320)
'plugins_loaded'                                                               -- wordpress-2.5.0/wp-settings.php (367)
'post_relatedlinks_list'                                                       -- wordpress-2.5.0/wp-admin/edit-form-advanced.php (173)
'posts_selection',                               $where . $groupby . $orderby . $limits . $join              
                                                                               -- wordpress-2.5.0/wp-includes/query.php (1406)
'pre_post_update',                               $post_ID                      -- wordpress-2.5.0/wp-includes/post.php (1287)
'private_to_published',                          $post-&gt;ID                     -- wordpress-2.5.0/wp-includes/post.php (2843)
'profile_personal_options'                                                     -- wordpress-2.5.0/wp-admin/user-edit.php (190)
'profile_update',                                $user_id                      -- wordpress-2.5.0/wp-includes/registration.php (199)
'publish_phone',                                 $post_ID                      -- wordpress-2.5.0/wp-mail.php (179)
'rdf_header'                                                                   -- wordpress-2.5.0/wp-includes/feed-rdf.php (31)
'rdf_item'                                                                     -- wordpress-2.5.0/wp-includes/feed-rdf.php (53)
'rdf_ns'                                                                       -- wordpress-2.5.0/wp-includes/feed-rdf.php (20)
'register_form'                                                                -- wordpress-2.5.0/wp-login.php (323)
'register_post',                                 $user_login, $user_email, $errors                             
                                                                               -- wordpress-2.5.0/wp-login.php (171)
'restrict_manage_posts'                                                        -- wordpress-2.5.0/wp-admin/edit.php (171)
'restrict_manage_posts'                                                        -- wordpress-2.5.0/wp-admin/upload.php (132)
'retreive_password',                             $user_login                   -- wordpress-2.5.0/wp-login.php (90)
'retrieve_password',                             $user_login                   -- wordpress-2.5.0/wp-login.php (91)
'retrieve_password_key',                         $user_login, $key             -- wordpress-2.5.0/wp-login.php (97)
'rightnow_end'                                                                 -- wordpress-2.5.0/wp-admin/index.php (114)
'rss2_head'                                                                    -- wordpress-2.5.0/wp-admin/includes/export.php (184)
'rss2_head'                                                                    -- wordpress-2.5.0/wp-includes/feed-rss2.php (30)
'rss2_item'                                                                    -- wordpress-2.5.0/wp-includes/feed-rss2.php (53)
'rss2_ns'                                                                      -- wordpress-2.5.0/wp-includes/feed-rss2.php (19)
'rss_head'                                                                     -- wordpress-2.5.0/wp-includes/feed-rss.php (22)
'rss_item'                                                                     -- wordpress-2.5.0/wp-includes/feed-rss.php (33)
'sanitize_comment_cookies'                                                     -- wordpress-2.5.0/wp-settings.php (382)
'save_post',                                     $post_ID, $post               -- wordpress-2.5.0/wp-includes/post.php (1327)
'save_post',                                     $post_id, $post               -- wordpress-2.5.0/wp-includes/post.php (1421)
'set_auth_cookie',                               $cookie, $expire              -- wordpress-2.5.0/wp-includes/pluggable.php (550)
'set_current_user'                                                             -- wordpress-2.5.0/wp-includes/pluggable.php (55)
'show_user_profile'                                                            -- wordpress-2.5.0/wp-admin/user-edit.php (322)
'shutdown'                                                                     -- wordpress-2.5.0/wp-settings.php (461)
'sidebar_admin_page'                                                           -- wordpress-2.5.0/wp-admin/widgets.php (318)
'sidebar_admin_setup'                                                          -- wordpress-2.5.0/wp-admin/widgets.php (11)
'sidemenu'                                                                     -- wordpress-2.5.0/wp-admin/menu-header.php (123)
'simple_edit_form',                              ''                            -- wordpress-2.5.0/wp-admin/edit-form.php (61)
'submitcomment_box'                                                            -- wordpress-2.5.0/wp-admin/edit-form-comment.php (62)
'submitlink_box'                                                               -- wordpress-2.5.0/wp-admin/edit-link-form.php (72)
'submitpage_box'                                                               -- wordpress-2.5.0/wp-admin/edit-page-form.php (157)
'submitpost_box'                                                               -- wordpress-2.5.0/wp-admin/edit-form-advanced.php (177)
'switch_theme',                                  $theme                        -- wordpress-2.5.0/wp-includes/theme.php (487)
'template_redirect'                                                            -- wordpress-2.5.0/wp-includes/template-loader.php (7)
'trackback_post',                                $wpdb-&gt;insert_id              -- wordpress-2.5.0/wp-trackback.php (97)
'transition_post_status',                        $new_status, $old_status, $post                      
                                                                               -- wordpress-2.5.0/wp-includes/post.php (1514)
'user_register',                                 $user_id                      -- wordpress-2.5.0/wp-includes/registration.php (201)
'widgets_init'                                                                 -- wordpress-2.5.0/wp-includes/widgets.php (1394)
'wp_blacklist_check',                            $author, $email, $url, $comment, $user_ip, $user_agent   
                                                                               -- wordpress-2.5.0/wp-includes/comment.php (410)
'wp_create_file_in_uploads',                     $file                         -- wordpress-2.5.0/wp-app.php (432)
'wp_create_file_in_uploads',                     $file, $id                    -- wordpress-2.5.0/wp-admin/custom-header.php (235)
'wp_dashboard_setup'                                                           -- wordpress-2.5.0/wp-admin/includes/dashboard.php (127)
'wp_delete_file',                                $opml_url                     -- wordpress-2.5.0/wp-admin/link-import.php (125)
'wp_footer'                                                                    -- wordpress-2.5.0/wp-includes/general-template.php (870)
'wp_head'                                                                      -- wordpress-2.5.0/wp-includes/general-template.php (866)
'wp_insert_post',                                $post_ID, $post               -- wordpress-2.5.0/wp-includes/post.php (1328)
'wp_insert_post',                                $post_id, $post               -- wordpress-2.5.0/wp-includes/post.php (1422)
'wp_login',                                      $credentials['user_login']    -- wordpress-2.5.0/wp-includes/user.php (52)
'wp_login_failed',                               $username                     -- wordpress-2.5.0/wp-includes/pluggable.php (424)
'wp_login_failed',                               $username                     -- wordpress-2.5.0/wp-includes/pluggable.php (430)
'wp_login_failed',                               $username                     -- wordpress-2.5.0/wp-includes/pluggable.php (435)
'wp_logout'                                                                    -- wordpress-2.5.0/wp-includes/pluggable.php (451)
'wp_meta'                                                                      -- wordpress-2.5.0/wp-includes/general-template.php (60)
'wp_print_scripts'                                                             -- wordpress-2.5.0/wp-includes/script-loader.php (411)
'wp_set_comment_status',                         $comment_id, $comment_status  -- wordpress-2.5.0/wp-includes/comment.php (737)
'wp_set_comment_status',                         $comment_id, 'delete'         -- wordpress-2.5.0/wp-includes/comment.php (499)
'wp_update_comment_count',                       $post_id, $new, $old          -- wordpress-2.5.0/wp-includes/comment.php (890)
'xmlrpc_call',                                   'blogger.deletePost'          -- wordpress-2.5.0/xmlrpc.php (1091)
'xmlrpc_call',                                   'blogger.editPost'            -- wordpress-2.5.0/xmlrpc.php (1042)
'xmlrpc_call',                                   'blogger.getPost'             -- wordpress-2.5.0/xmlrpc.php (830)
'xmlrpc_call',                                   'blogger.getRecentPosts'      -- wordpress-2.5.0/xmlrpc.php (865)
'xmlrpc_call',                                   'blogger.getTemplate'         -- wordpress-2.5.0/xmlrpc.php (919)
'xmlrpc_call',                                   'blogger.getUserInfo'         -- wordpress-2.5.0/xmlrpc.php (797)
'xmlrpc_call',                                   'blogger.getUsersBlogs'       -- wordpress-2.5.0/xmlrpc.php (765)
'xmlrpc_call',                                   'blogger.newPost'             -- wordpress-2.5.0/xmlrpc.php (993)
'xmlrpc_call',                                   'blogger.setTemplate'         -- wordpress-2.5.0/xmlrpc.php (956)
'xmlrpc_call',                                   'metaWeblog.editPost'         -- wordpress-2.5.0/xmlrpc.php (1382)
'xmlrpc_call',                                   'metaWeblog.getCategories'    -- wordpress-2.5.0/xmlrpc.php (1811)
'xmlrpc_call',                                   'metaWeblog.getPost'          -- wordpress-2.5.0/xmlrpc.php (1626)
'xmlrpc_call',                                   'metaWeblog.getRecentPosts'   -- wordpress-2.5.0/xmlrpc.php (1709)
'xmlrpc_call',                                   'metaWeblog.newMediaObject'   -- wordpress-2.5.0/xmlrpc.php (1853)
'xmlrpc_call',                                   'metaWeblog.newPost'          -- wordpress-2.5.0/xmlrpc.php (1133)
'xmlrpc_call',                                   'mt.getCategoryList'          -- wordpress-2.5.0/xmlrpc.php (1981)
'xmlrpc_call',                                   'mt.getPostCategories'        -- wordpress-2.5.0/xmlrpc.php (2015)
'xmlrpc_call',                                   'mt.getRecentPostTitles'      -- wordpress-2.5.0/xmlrpc.php (1927)
'xmlrpc_call',                                   'mt.getTrackbackPings'        -- wordpress-2.5.0/xmlrpc.php (2093)
'xmlrpc_call',                                   'mt.publishPost'              -- wordpress-2.5.0/xmlrpc.php (2137)
'xmlrpc_call',                                   'mt.setPostCategories'        -- wordpress-2.5.0/xmlrpc.php (2048)
'xmlrpc_call',                                   'mt.supportedMethods'         -- wordpress-2.5.0/xmlrpc.php (2067)
'xmlrpc_call',                                   'mt.supportedTextFilters'     -- wordpress-2.5.0/xmlrpc.php (2081)
'xmlrpc_call',                                   'pingback.extensions.getPingsbacks'                             
                                                                               -- wordpress-2.5.0/xmlrpc.php (2333)
'xmlrpc_call',                                   'pingback.ping'               -- wordpress-2.5.0/xmlrpc.php (2167)
'xmlrpc_call',                                   'wp.deleteCategory'           -- wordpress-2.5.0/xmlrpc.php (635)
'xmlrpc_call',                                   'wp.deletePage'               -- wordpress-2.5.0/xmlrpc.php (400)
'xmlrpc_call',                                   'wp.editPage'                 -- wordpress-2.5.0/xmlrpc.php (444)
'xmlrpc_call',                                   'wp.getAuthors'               -- wordpress-2.5.0/xmlrpc.php (549)
'xmlrpc_call',                                   'wp.getCommentCount'          -- wordpress-2.5.0/xmlrpc.php (698)
'xmlrpc_call',                                   'wp.getPage'                  -- wordpress-2.5.0/xmlrpc.php (240)
'xmlrpc_call',                                   'wp.getPageList'              -- wordpress-2.5.0/xmlrpc.php (498)
'xmlrpc_call',                                   'wp.getPageStatusList'        -- wordpress-2.5.0/xmlrpc.php (742)
'xmlrpc_call',                                   'wp.getPages'                 -- wordpress-2.5.0/xmlrpc.php (328)
'xmlrpc_call',                                   'wp.getPostStatusList'        -- wordpress-2.5.0/xmlrpc.php (720)
'xmlrpc_call',                                   'wp.newCategory'              -- wordpress-2.5.0/xmlrpc.php (579)
'xmlrpc_call',                                   'wp.newPage'                  -- wordpress-2.5.0/xmlrpc.php (368)
'xmlrpc_call',                                   'wp.suggestCategories'        -- wordpress-2.5.0/xmlrpc.php (667)
'xmlrpc_publish_post',                           $post_id                      -- wordpress-2.5.0/wp-includes/post.php (2888)</pre></p>
<h5>Variable Name Actions</h5>
<p>A call takes the form <span style="text-decoration: underline;">do_action( &lt;hook&gt;, </span><span style="text-decoration: underline;">&lt;arg1&gt;, &lt;arg2&gt;, &#8230;</span><span style="text-decoration: underline;"> )</span></p>
<p><pre>HOOK                                             ARGS                          LOCATION
&quot;${new_status}_$post-&gt;post_type&quot;,                $post-&gt;ID, $post              -- wordpress-2.5.0/wp-includes/post.php (1517)
&quot;${old_status}_to_$new_status&quot;,                  $post                         -- wordpress-2.5.0/wp-includes/post.php (1515)
&quot;add_option_{$name}&quot;,                            $name, $value                 -- wordpress-2.5.0/wp-includes/functions.php (375)
&quot;admin_head_{$content_func}&quot;                                                   -- wordpress-2.5.0/wp-admin/includes/media.php (142)
&quot;create_$taxonomy&quot;,                              $term_id, $tt_id              -- wordpress-2.5.0/wp-includes/taxonomy.php (1224)
&quot;created_$taxonomy&quot;,                             $term_id, $tt_id              -- wordpress-2.5.0/wp-includes/taxonomy.php (1231)
&quot;delete_$taxonomy&quot;,                              $term, $tt_id                 -- wordpress-2.5.0/wp-includes/taxonomy.php (1002)
&quot;edit_$taxonomy&quot;,                                $term_id, $tt_id              -- wordpress-2.5.0/wp-includes/taxonomy.php (1479)
&quot;edited_$taxonomy&quot;,                              $term_id, $tt_id              -- wordpress-2.5.0/wp-includes/taxonomy.php (1486)
&quot;load-$pagenow&quot;                                                                -- wordpress-2.5.0/wp-admin/admin.php (113)
&quot;media_upload_$tab&quot;                                                            -- wordpress-2.5.0/wp-admin/media-upload.php (39)
&quot;media_upload_$type&quot;                                                           -- wordpress-2.5.0/wp-admin/media-upload.php (37)
&quot;update_option_{$option_name}&quot;,                  $oldvalue, $_newvalue         -- wordpress-2.5.0/wp-includes/functions.php (333)
$page_hook                                                                     -- wordpress-2.5.0/wp-admin/admin.php (55)
'activate_' . $plugin                                                          -- wordpress-2.5.0/wp-admin/includes/plugin.php (111)
'admin_head-' . $page_hook                                                     -- wordpress-2.5.0/wp-admin/admin-header.php (54)
'admin_head-' . $plugin_page                                                   -- wordpress-2.5.0/wp-admin/admin-header.php (56)
'admin_print_scripts-' . $page_hook                                            -- wordpress-2.5.0/wp-admin/admin-header.php (48)
'admin_print_scripts-' . $plugin_page                                          -- wordpress-2.5.0/wp-admin/admin-header.php (50)
'deactivate_' . trim( $plugin )                                                -- wordpress-2.5.0/wp-admin/includes/plugin.php (129)
'do_feed_' . $feed,                              $wp_query-&gt;is_comment_feed    -- wordpress-2.5.0/wp-includes/functions.php (911)
'load-' . $page_hook                                                           -- wordpress-2.5.0/wp-admin/admin.php (51)
'load-' . $plugin_page                                                         -- wordpress-2.5.0/wp-admin/admin.php (64)
'wp_ajax_' . $_POST['action']                                                  -- wordpress-2.5.0/wp-admin/admin-ajax.php (583)</pre></p>
<h5>Fixed Name Actions (Array)</h5>
<p>A call takes the form <span style="text-decoration: underline;">do_action_ref_array( &lt;hook&gt;, &lt;array&gt; )</span></p>
<p><pre>HOOK                                             ARGS                          LOCATION
'check_passwords',                               array ( $user-&gt;user_login, &amp; $pass1, &amp; $pass2 )
                                                                               -- wordpress-2.5.0/wp-admin/includes/user.php (90)
'generate_rewrite_rules',                        array(&amp;$this)                 -- wordpress-2.5.0/wp-includes/rewrite.php (850)
'parse_query',                                   array(&amp;$this)                 -- wordpress-2.5.0/wp-includes/query.php (784)
'parse_request',                                 array(&amp;$this)                 -- wordpress-2.5.0/wp-includes/classes.php (172)
'phpmailer_init',                                array( &amp;$phpmailer )          -- wordpress-2.5.0/wp-includes/pluggable.php (394)
'pre_get_posts',                                 array(&amp;$this)                 -- wordpress-2.5.0/wp-includes/query.php (811)
'pre_ping',                                      array(&amp;$post_links, &amp;$pung)   -- wordpress-2.5.0/wp-includes/comment.php (1145)
'send_headers',                                  array(&amp;$this)                 -- wordpress-2.5.0/wp-includes/classes.php (226)
'wp',                                            array(&amp;$this)                 -- wordpress-2.5.0/wp-includes/classes.php (297)
'wp_authenticate',                               array(&amp;$credentials['user_login'], &amp;$credentials['user_password'])
                                                                               -- wordpress-2.5.0/wp-includes/user.php (45)</pre></p>
<h5>Variable Name Actions (Array)</h5>
<p>A call takes the form <span style="text-decoration: underline;">do_action_ref_array( &lt;hook&gt;, &lt;array&gt; )</span></p>
<p><pre>HOOK                                             ARGS                          LOCATION
$hook,                                           $args['args']                 -- wordpress-2.5.0/wp-cron.php (28)</pre></p>
<h4>Filters</h4>
<p><pre>function apply_filters($tag, $value) {...}                                     -- wordpress-2.5.0/wp-includes/plugin.php (131)</pre></p>
<h5>Fixed Name Filters</h5>
<p>A call takes the form <span style="text-decoration: underline;">apply_filters( &lt;hooh&gt;, &lt;arg1&gt;, &lt;arg2&gt;, &#8230; )</span></p>
<p><pre>HOOK                                             ARGS                          LOCATION
'_get_page_link',                                $link, $id                    -- wordpress-2.5.0/wp-includes/link-template.php (163)
'add_ping',                                      $new                          -- wordpress-2.5.0/wp-includes/post.php (1545)
'admin_body_class',                              ''                            -- wordpress-2.5.0/wp-admin/admin-header.php (60)
'all_options',                                   $all_options                  -- wordpress-2.5.0/wp-includes/functions.php (272)
'allowed_redirect_hosts',                        array($wpp['host']), isset($lp['host']) ? $lp['host'] : ''
                                                                               -- wordpress-2.5.0/wp-includes/pluggable.php (751)
'atom_enclosure',                                '&lt;link href=&quot;' . trim(htmlspecialchars($enclosure[0])) . '&quot; rel=&quot;enclosure&quot; length=&quot;' . trim($enclosure[1]) . '&quot; type=&quot;' . trim($enclosure[2]) . '&quot; /&gt;' . &quot;\n&quot;
                                                                               -- wordpress-2.5.0/wp-includes/feed.php (183)
'atom_service_url',                              (get_bloginfo('url').&quot;/wp-app.php/service&quot;)
                                                                               -- wordpress-2.5.0/xmlrpc.php (34)
'attachment_fields_to_edit',                     $form_fields, $post           -- wordpress-2.5.0/wp-admin/includes/media.php (587)
'attachment_fields_to_save',                     $post, $attachment            -- wordpress-2.5.0/wp-admin/includes/media.php (226)
'attachment_icon',                               $icon, $post-&gt;ID              -- wordpress-2.5.0/wp-includes/post-template.php (485)
'attachment_innerHTML',                          $innerHTML, $post-&gt;ID         -- wordpress-2.5.0/wp-includes/post-template.php (500)
'attachment_link',                               $link, $id                    -- wordpress-2.5.0/wp-includes/link-template.php (194)
'attachment_max_dims',                           $max_dims)                    -- wordpress-2.5.0/wp-includes/post-template.php (456)
'attribute_escape',                              $safe_text, $text             -- wordpress-2.5.0/wp-includes/formatting.php (1183)
'audio_upload_iframe_src',                       &quot;$media_upload_iframe_src&amp;amp;type=audio&quot;
                                                                               -- wordpress-2.5.0/wp-admin/includes/media.php (166)
'auth_cookie',                                   $cookie, $user_id, $expiration-- wordpress-2.5.0/wp-includes/pluggable.php (522)
'author_email',                                  get_comment_author_email()    -- wordpress-2.5.0/wp-includes/comment-template.php (68)
'author_feed_link',                              $link                         -- wordpress-2.5.0/wp-includes/link-template.php (336)
'author_link',                                   $link, $author_id, $author_nicename
                                                                               -- wordpress-2.5.0/wp-includes/author-template.php (401)
'author_rewrite_rules',                          $author_rewrite               -- wordpress-2.5.0/wp-includes/rewrite.php (834)
'bloginfo',                                      $output, $show                -- wordpress-2.5.0/wp-includes/general-template.php (157)
'bloginfo_rss',                                  get_bloginfo_rss($show), $show-- wordpress-2.5.0/wp-includes/feed.php (9)
'bloginfo_url',                                  $output, $show                -- wordpress-2.5.0/wp-includes/general-template.php (155)
'cat_row',                                       $output                       -- wordpress-2.5.0/wp-admin/includes/template.php (66)
'cat_rows',                                      $output                       -- wordpress-2.5.0/wp-admin/edit-link-categories.php (124)
'cat_rows',                                      $output                       -- wordpress-2.5.0/wp-admin/includes/template.php (30)
'category_description',                          $category-&gt;description, $category
                                                                               -- wordpress-2.5.0/wp-includes/classes.php (636)
'category_feed_link',                            $link, $feed                  -- wordpress-2.5.0/wp-includes/link-template.php (379)
'category_link',                                 $catlink, $category_id        -- wordpress-2.5.0/wp-includes/category-template.php (44)
'category_rewrite_rules',                        $category_rewrite             -- wordpress-2.5.0/wp-includes/rewrite.php (826)
'category_template',                             $template                     -- wordpress-2.5.0/wp-includes/theme.php (371)
'check_password',                                $check, $password, $hash, $user_id
                                                                               -- wordpress-2.5.0/wp-includes/pluggable.php (1145)
'check_password',                                $check, $password, $hash, $user_id
                                                                               -- wordpress-2.5.0/wp-includes/pluggable.php (1158)
'clean_url',                                     $url, $original_url, $context -- wordpress-2.5.0/wp-includes/formatting.php (1157)
'comment_author',                                get_comment_author()          -- wordpress-2.5.0/wp-includes/comment-template.php (38)
'comment_author_rss',                            get_comment_author()          -- wordpress-2.5.0/wp-includes/feed.php (100)
'comment_edit_pre',                              $comment-&gt;comment_content     -- wordpress-2.5.0/wp-admin/includes/comment.php (57)
'comment_edit_redirect',                         $location, $comment_id        -- wordpress-2.5.0/wp-admin/comment.php (216)
'comment_email',                                 $comment-&gt;comment_author_email-- wordpress-2.5.0/wp-includes/comment-template.php (89)
'comment_excerpt',                               get_comment_excerpt()         -- wordpress-2.5.0/wp-includes/comment-template.php (287)
'comment_feed_groupby',                          $cgroupby                     -- wordpress-2.5.0/wp-includes/query.php (1376)
'comment_feed_join',                             $cjoin                        -- wordpress-2.5.0/wp-includes/query.php (1374)
'comment_feed_join',                             ''                            -- wordpress-2.5.0/wp-includes/query.php (1433)
'comment_feed_where',                            &quot;WHERE comment_post_ID = '{$this-&gt;posts[0]-&gt;ID}' AND comment_approved = '1'&quot;
                                                                               -- wordpress-2.5.0/wp-includes/query.php (1434)
'comment_feed_where',                            $cwhere                       -- wordpress-2.5.0/wp-includes/query.php (1375)
'comment_flood_filter',                          false, $time_lastcomment, $time_newcomment
                                                                               -- wordpress-2.5.0/wp-includes/comment.php (385)
'comment_moderation_subject',                    $subject, $comment_id         -- wordpress-2.5.0/wp-includes/pluggable.php (900)
'comment_moderation_text',                       $notify_message, $comment_id  -- wordpress-2.5.0/wp-includes/pluggable.php (899)
'comment_notification_headers',                  $message_headers, $comment_id -- wordpress-2.5.0/wp-includes/pluggable.php (831)
'comment_notification_subject',                  $subject, $comment_id         -- wordpress-2.5.0/wp-includes/pluggable.php (830)
'comment_notification_text',                     $notify_message, $comment_id  -- wordpress-2.5.0/wp-includes/pluggable.php (829)
'comment_post_redirect',                         $location, $comment           -- wordpress-2.5.0/wp-comments-post.php (73)
'comment_save_pre',                              $comment_content              -- wordpress-2.5.0/wp-includes/comment.php (773)
'comment_status_links',                          $status_links                 -- wordpress-2.5.0/wp-admin/edit-comments.php (112)
'comment_text',                                  get_comment_text()            -- wordpress-2.5.0/wp-includes/comment-template.php (422)
'comment_text_rss',                              $comment_text                 -- wordpress-2.5.0/wp-includes/feed.php (109)
'comment_url',                                   get_comment_author_url()      -- wordpress-2.5.0/wp-includes/comment-template.php (173)
'comments_array',                                $comments, $post-&gt;ID          -- wordpress-2.5.0/wp-includes/comment-template.php (659)
'comments_number',                               $output, $number              -- wordpress-2.5.0/wp-includes/comment-template.php (398)
'comments_open',                                 $open, $post_id               -- wordpress-2.5.0/wp-includes/comment-template.php (573)
'comments_popup_link_attributes',                ''                            -- wordpress-2.5.0/wp-includes/comment-template.php (761)
'comments_popup_template',                       $template                     -- wordpress-2.5.0/wp-includes/theme.php (463)
'comments_rewrite_rules',                        $comments_rewrite             -- wordpress-2.5.0/wp-includes/rewrite.php (817)
'comments_template',                             TEMPLATEPATH . $file          -- wordpress-2.5.0/wp-includes/comment-template.php (664)
'content_save_pre',                              $content_struct['description']-- wordpress-2.5.0/xmlrpc.php (1205)
'content_save_pre',                              $content_struct['description']-- wordpress-2.5.0/xmlrpc.php (1524)
'cron_schedules',                                array() ), $schedules         -- wordpress-2.5.0/wp-includes/cron.php (138)
'dashboard_count_sentence',                      $sentence, $post_type_text, $cats_text, $tags_text, $pending_text
                                                                               -- wordpress-2.5.0/wp-admin/index.php (94)
'dashboard_incoming_links_feed',                 'http://blogsearch.google.com/blogsearch_feeds?hl=en&amp;scoring=d&amp;ie=utf-8&amp;num=10&amp;output=rss&amp;partner=wordpress&amp;q=link:' . trailingslashit( get_option('home') )
                                                                               -- wordpress-2.5.0/wp-admin/includes/dashboard.php (40)
'dashboard_incoming_links_link',                 'http://blogsearch.google.com/blogsearch?hl=en&amp;scoring=d&amp;partner=wordpress&amp;q=link:' . trailingslashit( get_option('home') )
                                                                               -- wordpress-2.5.0/wp-admin/includes/dashboard.php (39)
'dashboard_primary_feed',                        __( 'http://wordpress.org/development/feed/' )
                                                                               -- wordpress-2.5.0/wp-admin/includes/dashboard.php (66)
'dashboard_primary_link',                        __( 'http://wordpress.org/development/' )
                                                                               -- wordpress-2.5.0/wp-admin/includes/dashboard.php (65)
'dashboard_primary_title',                       __( 'WordPress Development Blog' )
                                                                               -- wordpress-2.5.0/wp-admin/includes/dashboard.php (67)
'dashboard_secondary_feed',                      __( 'http://planet.wordpress.org/feed/' )
                                                                               -- wordpress-2.5.0/wp-admin/includes/dashboard.php (88)
'dashboard_secondary_link',                      __( 'http://planet.wordpress.org/' )
                                                                               -- wordpress-2.5.0/wp-admin/includes/dashboard.php (87)
'dashboard_secondary_title',                     __( 'Other WordPress News' )  -- wordpress-2.5.0/wp-admin/includes/dashboard.php (89)
'date_rewrite_rules',                            $date_rewrite                 -- wordpress-2.5.0/wp-includes/rewrite.php (809)
'day_link',                                      get_option('home') . '/?m=' . $year . zeroise($month, 2) . zeroise($day, 2), $year, $month, $day
                                                                               -- wordpress-2.5.0/wp-includes/link-template.php (242)
'day_link',                                      get_option('home') . user_trailingslashit($daylink, 'day'), $year, $month, $day
                                                                               -- wordpress-2.5.0/wp-includes/link-template.php (240)
'default_content',                               $post_content                 -- wordpress-2.5.0/wp-admin/includes/post.php (166)
'default_excerpt',                               $post_excerpt                 -- wordpress-2.5.0/wp-admin/includes/post.php (168)
'default_feed',                                  'rss2'                        -- wordpress-2.5.0/wp-includes/feed.php (13)
'default_title',                                 $post_title                   -- wordpress-2.5.0/wp-admin/includes/post.php (167)
'deprecated_file_trigger_error',                 true                          -- wordpress-2.5.0/wp-includes/functions.php (1705)
'deprecated_function_trigger_error',             true                          -- wordpress-2.5.0/wp-includes/functions.php (1670)
'dynamic_sidebar_params',                        $params                       -- wordpress-2.5.0/wp-includes/widgets.php (240)
'edit_comment_link',                             $link, $comment-&gt;comment_ID   -- wordpress-2.5.0/wp-includes/link-template.php (517)
'edit_post_link',                                $link, $post-&gt;ID              -- wordpress-2.5.0/wp-includes/link-template.php (485)
'editor_max_image_size',                         array( $max_width, $max_height ), $size
                                                                               -- wordpress-2.5.0/wp-includes/media.php (37)
'ext2type',                                      array(...)                    -- wordpress-2.5.0/wp-includes/functions.php (1198)
'feed_link',                                     $output, $feed                -- wordpress-2.5.0/wp-includes/link-template.php (272)
'file_is_displayable_image',                     $result, $path                -- wordpress-2.5.0/wp-admin/includes/image.php (279)
'flash_uploader',                                $flash                        -- wordpress-2.5.0/wp-admin/includes/media.php (774)
'format_to_edit',                                $content                      -- wordpress-2.5.0/wp-includes/formatting.php (559)
'format_to_post',                                $content                      -- wordpress-2.5.0/wp-includes/formatting.php (566)
'found_posts',                                   $this-&gt;found_posts            -- wordpress-2.5.0/wp-includes/query.php (1443)
'found_posts_query',                             'SELECT FOUND_ROWS()'         -- wordpress-2.5.0/wp-includes/query.php (1441)
'gallery_style',                                 &quot;...&quot;                         -- wordpress-2.5.0/wp-includes/media.php (373)
'get_attached_file',                             $file, $attachment_id         -- wordpress-2.5.0/wp-includes/post.php (27)
'get_avatar',                                    $avatar, $id_or_email, $size, $default
                                                                               -- wordpress-2.5.0/wp-includes/pluggable.php (1261)
'get_bloginfo_rss',                              convert_chars($info), $show   -- wordpress-2.5.0/wp-includes/feed.php (5)
'get_bloginfo_rss',                              get_bloginfo( 'url' )         -- wordpress-2.5.0/wp-includes/feed.php (137)
'get_bookmarks',                                 $cache[ $key ], $r            -- wordpress-2.5.0/wp-includes/bookmark.php (123)
'get_bookmarks',                                 $results, $r                  -- wordpress-2.5.0/wp-includes/bookmark.php (225)
'get_comment',                                   $_comment                     -- wordpress-2.5.0/wp-includes/comment.php (131)
'get_comment_ID',                                $comment-&gt;comment_ID          -- wordpress-2.5.0/wp-includes/comment-template.php (301)
'get_comment_author',                            $author                       -- wordpress-2.5.0/wp-includes/comment-template.php (28)
'get_comment_author_IP',                         $comment-&gt;comment_author_IP   -- wordpress-2.5.0/wp-includes/comment-template.php (139)
'get_comment_author_email',                      $comment-&gt;comment_author_email-- wordpress-2.5.0/wp-includes/comment-template.php (53)
'get_comment_author_link',                       $return                       -- wordpress-2.5.0/wp-includes/comment-template.php (115)
'get_comment_author_url',                        $comment-&gt;comment_author_url  -- wordpress-2.5.0/wp-includes/comment-template.php (162)
'get_comment_author_url_link',                   $return                       -- wordpress-2.5.0/wp-includes/comment-template.php (201)
'get_comment_date',                              $date, $d                     -- wordpress-2.5.0/wp-includes/comment-template.php (234)
'get_comment_excerpt',                           $excerpt                      -- wordpress-2.5.0/wp-includes/comment-template.php (277)
'get_comment_text',                              $comment-&gt;comment_content     -- wordpress-2.5.0/wp-includes/comment-template.php (411)
'get_comment_time',                              $date, $d, $gmt               -- wordpress-2.5.0/wp-includes/comment-template.php (443)
'get_comment_type',                              $comment-&gt;comment_type        -- wordpress-2.5.0/wp-includes/comment-template.php (472)
'get_comments_number',                           $count                        -- wordpress-2.5.0/wp-includes/comment-template.php (372)
'get_edit_comment_link',                         $location                     -- wordpress-2.5.0/wp-includes/link-template.php (501)
'get_edit_post_link',                            get_bloginfo( 'wpurl' ) . &quot;/wp-admin/$file.php?action=edit&amp;amp;$var=$post-&gt;ID&quot;, $post-&gt;ID
                                                                               -- wordpress-2.5.0/wp-includes/link-template.php (470)
'get_editable_authors',                          $authors                      -- wordpress-2.5.0/wp-admin/includes/user.php (162)
'get_enclosed',                                  $pung                         -- wordpress-2.5.0/wp-includes/post.php (1565)
'get_lastpostdate',                              $lastpostdate, $timezone      -- wordpress-2.5.0/wp-includes/post.php (2589)
'get_lastpostmodified',                          $lastpostmodified, $timezone  -- wordpress-2.5.0/wp-includes/post.php (2634)
'get_nested_categories',                         $result                       -- wordpress-2.5.0/wp-admin/includes/template.php (165)
'get_others_drafts',                             $other_unpubs                 -- wordpress-2.5.0/wp-admin/includes/user.php (214)
'get_pagenum_link',                              $result                       -- wordpress-2.5.0/wp-includes/link-template.php (654)
'get_pages',                                     $cache[ $key ], $r            -- wordpress-2.5.0/wp-includes/post.php (1877)
'get_pages',                                     $pages, $r                    -- wordpress-2.5.0/wp-includes/post.php (1962)
'get_pages',                                     array(), $r                   -- wordpress-2.5.0/wp-includes/post.php (1951)
'get_pung',                                      $pung                         -- wordpress-2.5.0/wp-includes/post.php (1587)
'get_search_query',                              stripslashes( get_query_var( 's' ) )
                                                                               -- wordpress-2.5.0/wp-includes/general-template.php (997)
'get_tags',                                      $tags, $args                  -- wordpress-2.5.0/wp-includes/category.php (135)
'get_term',                                      $_term, $taxonomy             -- wordpress-2.5.0/wp-includes/taxonomy.php (303)
'get_terms',                                     $cache[$key], $taxonomies, $args
                                                                               -- wordpress-2.5.0/wp-includes/taxonomy.php (586)
'get_terms',                                     $terms, $taxonomies, $args    -- wordpress-2.5.0/wp-includes/taxonomy.php (719)
'get_terms',                                     array(), $taxonomies, $args   -- wordpress-2.5.0/wp-includes/taxonomy.php (687)
'get_the_excerpt',                               $output                       -- wordpress-2.5.0/wp-includes/post-template.php (152)
'get_the_guid',                                  $post-&gt;guid                   -- wordpress-2.5.0/wp-includes/post-template.php (74)
'get_the_modified_date',                         $the_time, $d                 -- wordpress-2.5.0/wp-includes/general-template.php (787)
'get_the_modified_time',                         $the_time, $d                 -- wordpress-2.5.0/wp-includes/general-template.php (827)
'get_the_modified_time',                         $time, $d, $gmt               -- wordpress-2.5.0/wp-includes/general-template.php (840)
'get_the_tags',                                  get_the_terms($id, 'post_tag')-- wordpress-2.5.0/wp-includes/category-template.php (478)
'get_the_time',                                  $the_time, $d                 -- wordpress-2.5.0/wp-includes/general-template.php (801)
'get_the_time',                                  $time, $d, $gmt               -- wordpress-2.5.0/wp-includes/general-template.php (813)
'get_to_ping',                                    $to_ping                     -- wordpress-2.5.0/wp-includes/post.php (1609)
'get_users_drafts',                              $query                        -- wordpress-2.5.0/wp-admin/includes/user.php (246)
'get_wp_title_rss',                              $title                        -- wordpress-2.5.0/wp-includes/feed.php (20)
'getarchives_join',                              &quot;&quot;, $r                        -- wordpress-2.5.0/wp-includes/general-template.php (397)
'getarchives_where',                             &quot;WHERE post_type = 'post' AND post_status = 'publish'&quot;, $r
                                                                               -- wordpress-2.5.0/wp-includes/general-template.php (396)
'gettext',                                       $l10n[$domain]-&gt;translate($text), $text
                                                                               -- wordpress-2.5.0/wp-includes/l10n.php (71)
'got_rewrite',                                   $got_rewrite                  -- wordpress-2.5.0/wp-admin/includes/misc.php (5)
'home_template',                                 $template                     -- wordpress-2.5.0/wp-includes/theme.php (410)
'htmledit_pre',                                  $output                       -- wordpress-2.5.0/wp-includes/formatting.php (1129)
'icon_dir',                                      ABSPATH . WPINC . '/images/crystal'
                                                                               -- wordpress-2.5.0/wp-includes/media.php (308)
'icon_dir',                                      ABSPATH . WPINC . '/images/crystal'
                                                                               -- wordpress-2.5.0/wp-includes/post.php (2406)
'icon_dir',                                      get_template_directory() . '/images'
                                                                               -- wordpress-2.5.0/wp-includes/post-template.php (434)
'icon_dir_uri',                                  trailingslashit(get_option('siteurl')) . WPINC . '/images/crystal'
                                                                               -- wordpress-2.5.0/wp-includes/post.php (2407)
'icon_dirs',                                     array($icon_dir =&gt; $icon_dir_uri)
                                                                               -- wordpress-2.5.0/wp-includes/post.php (2408)
'image_downsize',                                false, $id, $size             -- wordpress-2.5.0/wp-includes/media.php (65)
'image_send_to_editor',                          $html, $id, $alt, $title, $align, $url
                                                                               -- wordpress-2.5.0/wp-admin/includes/media.php (60)
'image_send_to_editor',                          $html, $id, $alt, $title, $align, $url
                                                                               -- wordpress-2.5.0/wp-includes/media.php (101)
'image_upload_iframe_src',                       &quot;$media_upload_iframe_src&amp;amp;type=image&quot;
                                                                               -- wordpress-2.5.0/wp-admin/includes/media.php (162)
'import_allow_create_users',                     true                          -- wordpress-2.5.0/wp-admin/import/wordpress.php (645)
'import_allow_fetch_attachments',                true                          -- wordpress-2.5.0/wp-admin/import/wordpress.php (650)
'import_attachment_size_limit',                  0                             -- wordpress-2.5.0/wp-admin/import/wordpress.php (655)
'import_post_meta_key',                          $key                          -- wordpress-2.5.0/wp-admin/import/wordpress.php (513)
'import_upload_size_limit',                      wp_max_upload_size()          -- wordpress-2.5.0/wp-admin/includes/template.php (1006)
'intermediate_image_sizes',                      $sizes                        -- wordpress-2.5.0/wp-admin/includes/image.php (100)
'intermediate_image_sizes',                      array('thumbnail', 'medium')  -- wordpress-2.5.0/wp-includes/post.php (2184)
'jpeg_quality',                                  $jpeg_quality                 -- wordpress-2.5.0/wp-includes/media.php (226)
'js_escape',                                     $safe_text, $text             -- wordpress-2.5.0/wp-includes/formatting.php (1177)
'kubrick_header_color',                          get_option('kubrick_header_color')
                                                                               -- wordpress-2.5.0/wp-content/themes/default/functions.php (60)
'kubrick_header_display',                        get_option('kubrick_header_display')
                                                                               -- wordpress-2.5.0/wp-content/themes/default/functions.php (72)
'kubrick_header_image',                          get_option('kubrick_header_image')
                                                                               -- wordpress-2.5.0/wp-content/themes/default/functions.php (31)
'language_attributes',                           $output                       -- wordpress-2.5.0/wp-includes/general-template.php (1020)
'link_cat_row',                                  $output                       -- wordpress-2.5.0/wp-admin/includes/template.php (95)
'link_category',                                 $cat-&gt;name                    -- wordpress-2.5.0/wp-includes/deprecated.php (1096)
'link_category',                                 $cat-&gt;name                    -- wordpress-2.5.0/wp-links-opml.php (32)
'link_category',                                 $category-&gt;name               -- wordpress-2.5.0/wp-admin/link-import.php (50)
'link_category',                                 $cat-&gt;name                    -- wordpress-2.5.0/wp-includes/bookmark-template.php (183)
'link_title',                                    $bookmark-&gt;link_name          -- wordpress-2.5.0/wp-links-opml.php (40)
'list_cats',                                     $cat_name, $category          -- wordpress-2.5.0/wp-includes/classes.php (631)
'list_cats',                                     $category-&gt;name, $category    -- wordpress-2.5.0/wp-includes/classes.php (711)
'list_cats',                                     $show_option_all              -- wordpress-2.5.0/wp-includes/category-template.php (242)
'list_cats',                                     $show_option_none             -- wordpress-2.5.0/wp-includes/category-template.php (247)
'list_terms_exclusions',                         $exclusions, $args            -- wordpress-2.5.0/wp-includes/taxonomy.php (634)
'locale',                                        $locale                       -- wordpress-2.5.0/wp-includes/l10n.php (34)
'locale',                                        $locale                       -- wordpress-2.5.0/wp-includes/l10n.php (43)
'locale_stylesheet_uri',                         $stylesheet_uri, $stylesheet_dir_uri
                                                                               -- wordpress-2.5.0/wp-includes/theme.php (39)
'login_errors',                                  $errors                       -- wordpress-2.5.0/wp-login.php (53)
'login_headertitle',                             __('Powered by WordPress')    -- wordpress-2.5.0/wp-login.php (30)
'login_message',                                 $message                      -- wordpress-2.5.0/wp-login.php (32)
'login_messages',                                $messages                     -- wordpress-2.5.0/wp-login.php (55)
'loginout',                                      $link                         -- wordpress-2.5.0/wp-includes/general-template.php (40)
'manage_link_columns',                           $link_columns                 -- wordpress-2.5.0/wp-admin/link-manager.php (127)
'manage_media_columns',                          $posts_columns                -- wordpress-2.5.0/wp-admin/includes/template.php (316)
'manage_pages_columns',                          $posts_columns                -- wordpress-2.5.0/wp-admin/includes/template.php (335)
'manage_pages_query',                            $query_str                    -- wordpress-2.5.0/wp-admin/edit-pages.php (56)
'manage_posts_columns',                          $posts_columns                -- wordpress-2.5.0/wp-admin/includes/template.php (300)
'mce_buttons',                                   array('bold', 'italic', 'strikethrough', '|', 'bullist', 'numlist', 'blockquote', '|', 'justifyleft', 'justifycenter', 'justifyright', '|', 'link', 'unlink', 'image', 'wp_more', '|', 'spellchecker', 'fullscreen',
                                                                               -- wordpress-2.5.0/wp-includes/js/tinymce/tiny_mce_config.php (120)
'mce_buttons_2',                                 array('formatselect', 'underline', 'justifyfull', 'forecolor', '|', 'pastetext', 'pasteword', 'removeformat', '|', 'media', 'charmap', '|', 'outdent', 'indent', '|', 'undo', 'redo',
                                                                               -- wordpress-2.5.0/wp-includes/js/tinymce/tiny_mce_config.php (123)
'mce_buttons_3',                                 array()                       -- wordpress-2.5.0/wp-includes/js/tinymce/tiny_mce_config.php (126)
'mce_buttons_4',                                 array()                       -- wordpress-2.5.0/wp-includes/js/tinymce/tiny_mce_config.php (129)
'mce_css',                                       $mce_css                      -- wordpress-2.5.0/wp-includes/js/tinymce/tiny_mce_config.php (55)
'mce_external_languages',                        array()                       -- wordpress-2.5.0/wp-includes/js/tinymce/tiny_mce_config.php (90)
'mce_external_plugins',                          array()                       -- wordpress-2.5.0/wp-includes/js/tinymce/tiny_mce_config.php (77)
'mce_spellchecker_languages',                    '+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv'
                                                                               -- wordpress-2.5.0/wp-includes/js/tinymce/tiny_mce_config.php (66)
'media_buttons_context',                         __('Add media: %s')           -- wordpress-2.5.0/wp-admin/includes/media.php (159)
'media_meta',                                    '', $post                     -- wordpress-2.5.0/wp-admin/includes/media.php (675)
'media_send_to_editor',                          $html, $send_id, $attachment  -- wordpress-2.5.0/wp-admin/includes/media.php (254)
'media_upload_default_tab',                      'type'                        -- wordpress-2.5.0/wp-admin/media-upload.php (31)
'media_upload_default_type',                     'file'                        -- wordpress-2.5.0/wp-admin/media-upload.php (25)
'media_upload_tabs',                             $_default_tabs                -- wordpress-2.5.0/wp-admin/includes/media.php (10)
'mod_rewrite_rules',                             $rules                        -- wordpress-2.5.0/wp-includes/rewrite.php (928)
'month_link',                                    get_option('home') . '/?m=' . $year . zeroise($month, 2), $year, $month
                                                                               -- wordpress-2.5.0/wp-includes/link-template.php (222)
'month_link',                                    get_option('home') . user_trailingslashit($monthlink, 'month'), $year, $month
                                                                               -- wordpress-2.5.0/wp-includes/link-template.php (220)
'ngettext',                                      $l10n[$domain]-&gt;ngettext($single, $plural, $number), $single, $plural, $number
                                                                               -- wordpress-2.5.0/wp-includes/l10n.php (189)
'nonce_life',                                    86400                         -- wordpress-2.5.0/wp-includes/pluggable.php (952)
'page_link',                                     $link, $id                    -- wordpress-2.5.0/wp-includes/link-template.php (140)
'page_rewrite_rules',                            $page_rewrite                 -- wordpress-2.5.0/wp-includes/rewrite.php (838)
'page_template',                                 $template                     -- wordpress-2.5.0/wp-includes/theme.php (429)
'phone_content',                                 $content                      -- wordpress-2.5.0/wp-mail.php (157)
'pings_open',                                    $open, $post_id               -- wordpress-2.5.0/wp-includes/comment-template.php (590)
'plugin_action_links',                           $action_links, $plugin_file, $plugin_info
                                                                               -- wordpress-2.5.0/wp-admin/plugins.php (141)
'post_comments_feed_link',                       $url                          -- wordpress-2.5.0/wp-includes/link-template.php (297)
'post_gallery', '',                              $attr                         -- wordpress-2.5.0/wp-includes/media.php (339)
'post_limits',                                   $limits                       -- wordpress-2.5.0/wp-includes/query.php (1403)
'post_limits_request',                           $limits                       -- wordpress-2.5.0/wp-includes/query.php (1415)
'post_link',                                     $permalink, $post             -- wordpress-2.5.0/wp-includes/link-template.php (115)
'post_link',                                     $permalink, $post             -- wordpress-2.5.0/wp-includes/link-template.php (118)
'post_mime_types',                               $post_mime_types              -- wordpress-2.5.0/wp-admin/includes/post.php (576)
'post_rewrite_rules',                            $post_rewrite                 -- wordpress-2.5.0/wp-includes/rewrite.php (805)
'post_stati',                                    $post_stati                   -- wordpress-2.5.0/wp-admin/includes/post.php (529)
'postmeta_form_limit',                           30                            -- wordpress-2.5.0/wp-admin/includes/template.php (786)
'posts_distinct',                                $distinct                     -- wordpress-2.5.0/wp-includes/query.php (1401)
'posts_distinct_request',                        $distinct                     -- wordpress-2.5.0/wp-includes/query.php (1413)
'posts_fields',                                  &quot;$wpdb-&gt;posts.*&quot;              -- wordpress-2.5.0/wp-includes/query.php (1402)
'posts_fields_request',                          $fields                       -- wordpress-2.5.0/wp-includes/query.php (1414)
'posts_groupby',                                 $groupby                      -- wordpress-2.5.0/wp-includes/query.php (1398)
'posts_groupby_request',                         $groupby                      -- wordpress-2.5.0/wp-includes/query.php (1410)
'posts_join',                                    $join                         -- wordpress-2.5.0/wp-includes/query.php (1342)
'posts_join_paged',                              $join                         -- wordpress-2.5.0/wp-includes/query.php (1399)
'posts_join_request',                            $join                         -- wordpress-2.5.0/wp-includes/query.php (1411)
'posts_orderby',                                 $q['orderby']                 -- wordpress-2.5.0/wp-includes/query.php (1400)
'posts_orderby_request',                         $orderby                      -- wordpress-2.5.0/wp-includes/query.php (1412)
'posts_request',                                 $request                      -- wordpress-2.5.0/wp-includes/query.php (1426)
'posts_results',                                 $this-&gt;posts                  -- wordpress-2.5.0/wp-includes/query.php (1430)
'posts_where',                                   $where                        -- wordpress-2.5.0/wp-includes/query.php (1341)
'posts_where_paged',                             $where                        -- wordpress-2.5.0/wp-includes/query.php (1397)
'posts_where_request',                           $where                        -- wordpress-2.5.0/wp-includes/query.php (1409)
'pre_category_nicename',                         $value                        -- wordpress-2.5.0/wp-includes/taxonomy.php (844)
'pre_comment_approved',                          $approved                     -- wordpress-2.5.0/wp-includes/comment.php (360)
'pre_comment_author_email',                      $_COOKIE['comment_author_email_'.COOKIEHASH]
                                                                               -- wordpress-2.5.0/wp-includes/comment.php (300)
'pre_comment_author_email',                      $commentdata['comment_author_email']
                                                                               -- wordpress-2.5.0/wp-includes/comment.php (628)
'pre_comment_author_name',                       $_COOKIE['comment_author_'.COOKIEHASH]
                                                                               -- wordpress-2.5.0/wp-includes/comment.php (293)
'pre_comment_author_name',                       $commentdata['comment_author']-- wordpress-2.5.0/wp-includes/comment.php (624)
'pre_comment_author_url',                        $_COOKIE['comment_author_url_'.COOKIEHASH]
                                                                               -- wordpress-2.5.0/wp-includes/comment.php (307)
'pre_comment_author_url',                        $commentdata['comment_author_url']
                                                                               -- wordpress-2.5.0/wp-includes/comment.php (627)
'pre_comment_content',                           $commentdata['comment_content']
                                                                               -- wordpress-2.5.0/wp-includes/comment.php (625)
'pre_comment_user_agent',                        $commentdata['comment_agent'] -- wordpress-2.5.0/wp-includes/comment.php (623)
'pre_comment_user_ip',                           $commentdata['comment_author_IP']
                                                                               -- wordpress-2.5.0/wp-includes/comment.php (626)
'pre_kses',                                      $string, $allowed_html, $allowed_protocols
                                                                               -- wordpress-2.5.0/wp-includes/kses.php (367)
'pre_remote_source',                             $linea, $pagelinkedto         -- wordpress-2.5.0/xmlrpc.php (2256)
'pre_upload_error',                              false                         -- wordpress-2.5.0/xmlrpc.php (1862)
'pre_user_description',                          $description                  -- wordpress-2.5.0/wp-includes/registration.php (152)
'pre_user_display_name',                         $display_name                 -- wordpress-2.5.0/wp-includes/registration.php (136)
'pre_user_email',                                $user_email                   -- wordpress-2.5.0/wp-includes/registration.php (132)
'pre_user_first_name',                           $first_name                   -- wordpress-2.5.0/wp-includes/registration.php (144)
'pre_user_id',                                   $commentdata['user_ID']       -- wordpress-2.5.0/wp-includes/comment.php (622)
'pre_user_last_name',                            $last_name                    -- wordpress-2.5.0/wp-includes/registration.php (148)
'pre_user_login',                                $user_login                   -- wordpress-2.5.0/wp-includes/registration.php (120)
'pre_user_login',                                sanitize_user(stripslashes($_REQUEST['user_login']), true)
                                                                               -- wordpress-2.5.0/wp-admin/users.php (177)
'pre_user_nicename',                             $user_nicename                -- wordpress-2.5.0/wp-includes/registration.php (124)
'pre_user_nickname',                             $nickname                     -- wordpress-2.5.0/wp-includes/registration.php (140)
'pre_user_url',                                  $user_url                     -- wordpress-2.5.0/wp-includes/registration.php (128)
'prepend_attachment',                            $p                            -- wordpress-2.5.0/wp-includes/post-template.php (513)
'preprocess_comment',                            $commentdata                  -- wordpress-2.5.0/wp-includes/comment.php (669)
'preview_post_link',                             add_query_arg('preview', 'true',permalink($post-&gt;ID))
                                                                               -- wordpress-2.5.0/wp-admin/edit-form-advanced.php (80)
'preview_post_link',                             add_query_arg('preview', 'true',permalink($post-&gt;ID))
                                                                               -- wordpress-2.5.0/wp-admin/edit-page-form.php (66)
'print_scripts_array',                           array_keys($this-&gt;to_print)   -- wordpress-2.5.0/wp-includes/script-loader.php (215)
'pub_priv_sql_capability',                       $cap                          -- wordpress-2.5.0/wp-includes/post.php (2527)
'query',                                         $query                        -- wordpress-2.5.0/wp-includes/wp-db.php (259)
'query_string',                                  $this-&gt;query_string           -- wordpress-2.5.0/wp-includes/classes.php (242)
'query_vars',                                    $this-&gt;public_query_vars      -- wordpress-2.5.0/wp-includes/classes.php (141)
'redirect_canonical',                            $redirect_url, $requested_url -- wordpress-2.5.0/wp-includes/canonical.php (194)
'register',                                      $link                         -- wordpress-2.5.0/wp-includes/general-template.php (55)
'registration_errors',                           $errors                       -- wordpress-2.5.0/wp-login.php (173)
'request',                                       $this-&gt;query_vars             -- wordpress-2.5.0/wp-includes/classes.php (170)
'request_filesystem_credentials',                '', $form_post, $type, $error -- wordpress-2.5.0/wp-admin/update.php (9)
'rewrite_rules',                                 $rules                        -- wordpress-2.5.0/wp-includes/rewrite.php (929)
'rewrite_rules_array',                           $this-&gt;rules                  -- wordpress-2.5.0/wp-includes/rewrite.php (851)
'richedit_pre',                                  $output                       -- wordpress-2.5.0/wp-includes/formatting.php (1122)
'richedit_pre',                                  ''                            -- wordpress-2.5.0/wp-includes/formatting.php (1112)
'role_has_cap',                                  $this-&gt;capabilities, $cap, $this-&gt;name
                                                                               -- wordpress-2.5.0/wp-includes/capabilities.php (122)
'root_rewrite_rules',                            $root_rewrite                 -- wordpress-2.5.0/wp-includes/rewrite.php (813)
'rss_enclosure',                                 '&lt;enclosure url=&quot;' . trim(htmlspecialchars($enclosure[0])) . '&quot; length=&quot;' . trim($enclosure[1]) . '&quot; type=&quot;' . trim($enclosure[2]) . '&quot; /&gt;' . &quot;\n&quot;
                                                                               -- wordpress-2.5.0/wp-includes/feed.php (168)
'salt',                                          $secret_key . $salt           -- wordpress-2.5.0/wp-includes/pluggable.php (1057)
'sanitize_title',                                $title                        -- wordpress-2.5.0/wp-includes/formatting.php (334)
'sanitize_user',                                 $username, $raw_username, $strict
                                                                               -- wordpress-2.5.0/wp-includes/formatting.php (329)
'script_loader_src',                             $src                          -- wordpress-2.5.0/wp-includes/script-loader.php (231)
'search_feed_link',                              $link                         -- wordpress-2.5.0/wp-includes/link-template.php (424)
'search_feed_link',                              $link                         -- wordpress-2.5.0/wp-includes/link-template.php (440)
'search_rewrite_rules',                          $search_rewrite               -- wordpress-2.5.0/wp-includes/rewrite.php (822)
'show_password_fields',                          true                          -- wordpress-2.5.0/wp-admin/user-edit.php (304)
'show_password_fields',                          true                          -- wordpress-2.5.0/wp-admin/users.php (425)
'single_cat_title',                              $cat-&gt;name                    -- wordpress-2.5.0/wp-includes/general-template.php (193)
'single_cat_title',                              get_the_category_by_ID($cat)  -- wordpress-2.5.0/wp-includes/general-template.php (182)
'single_cat_title',                              get_the_category_by_ID($cat)  -- wordpress-2.5.0/wp-includes/general-template.php (279)
'single_post_title',                             $post-&gt;post_title             -- wordpress-2.5.0/wp-includes/general-template.php (233)
'single_post_title',                             $title                        -- wordpress-2.5.0/wp-includes/general-template.php (267)
'single_tag_title',                              $my_tag-&gt;name                 -- wordpress-2.5.0/wp-includes/general-template.php (302)
'single_tag_title',                              $tag-&gt;name                    -- wordpress-2.5.0/wp-includes/general-template.php (201)
'status_header',                                 $status_header, $header, $text, $protocol
                                                                               -- wordpress-2.5.0/wp-includes/functions.php (857)
'stylesheet',                                    get_option('stylesheet')      -- wordpress-2.5.0/wp-includes/theme.php (7)
'stylesheet_directory',                          $stylesheet_dir, $stylesheet  -- wordpress-2.5.0/wp-includes/theme.php (13)
'stylesheet_directory_uri',                      $stylesheet_dir_uri, $stylesheet
                                                                               -- wordpress-2.5.0/wp-includes/theme.php (19)
'stylesheet_uri',                                $stylesheet_uri, $stylesheet_dir_uri
                                                                               -- wordpress-2.5.0/wp-includes/theme.php (25)
'tag_escape',                                    $safe_tag, $tag_name          -- wordpress-2.5.0/wp-includes/formatting.php (1189)
'tag_feed_link',                                 $link, $feed                  -- wordpress-2.5.0/wp-includes/link-template.php (408)
'tag_link',                                      $taglink, $tag_id             -- wordpress-2.5.0/wp-includes/category-template.php (474)
'tag_rewrite_rules',                             $tag_rewrite                  -- wordpress-2.5.0/wp-includes/rewrite.php (830)
'tag_rows',                                      $out                          -- wordpress-2.5.0/wp-admin/includes/template.php (278)
'tag_template',                                  $template                     -- wordpress-2.5.0/wp-includes/theme.php (381)
'tags_to_edit',                                  $tags_to_edit                 -- wordpress-2.5.0/wp-admin/includes/taxonomy.php (138)
'taxonomy_template',                             $template                     -- wordpress-2.5.0/wp-includes/theme.php (395)
'taxonomy_template',                             '%s: %l.'                     -- wordpress-2.5.0/wp-includes/taxonomy.php (2002)
'template',                                      get_option('template')        -- wordpress-2.5.0/wp-includes/theme.php (43)
'template_directory',                            $template_dir, $template      -- wordpress-2.5.0/wp-includes/theme.php (49)
'template_directory_uri',                        $template_dir_uri, $template  -- wordpress-2.5.0/wp-includes/theme.php (55)
'term_id_filter',                                $term_id, $tt_id              -- wordpress-2.5.0/wp-includes/taxonomy.php (1226)
'term_id_filter',                                $term_id, $tt_id              -- wordpress-2.5.0/wp-includes/taxonomy.php (1481)
'term_link',                                     $termlink, $term, $taxonomy   -- wordpress-2.5.0/wp-includes/taxonomy.php (1974)
'term_name',                                     $tag-&gt;name                    -- wordpress-2.5.0/wp-admin/includes/template.php (241)
'the_author',                                    $authordata-&gt;display_name     -- wordpress-2.5.0/wp-includes/author-template.php (21)
'the_author_email',                              get_the_author_email()        -- wordpress-2.5.0/wp-includes/author-template.php (199)
'the_category',                                  $category-&gt;name               -- wordpress-2.5.0/wp-admin/includes/template.php (198)
'the_category',                                  $category-&gt;name               -- wordpress-2.5.0/wp-admin/includes/template.php (227)
'the_category',                                  $category['cat_name']         -- wordpress-2.5.0/wp-admin/includes/template.php (173)
'the_category',                                  $thelist, $separator, $parents-- wordpress-2.5.0/wp-includes/category-template.php (167)
'the_category',                                  __('Uncategorized'), $separator, $parents
                                                                               -- wordpress-2.5.0/wp-includes/category-template.php (116)
'the_category',                                  get_catname(get_option('default_category'))
                                                                               -- wordpress-2.5.0/wp-admin/categories.php (173)
'the_category_rss',                              $the_list, $type              -- wordpress-2.5.0/wp-includes/feed.php (142)
'the_content',                                   $content                      -- wordpress-2.5.0/wp-includes/post-template.php (79)
'the_content',                                   $post-&gt;post_content           -- wordpress-2.5.0/wp-includes/comment.php (1047)
'the_content',                                   $text                         -- wordpress-2.5.0/wp-includes/formatting.php (832)
'the_content_export',                            $post-&gt;post_content           -- wordpress-2.5.0/wp-admin/includes/export.php (203)
'the_content_rss',                               $content                      -- wordpress-2.5.0/wp-includes/feed.php (42)
'the_date',                                      $the_date, $d, $before, $after-- wordpress-2.5.0/wp-includes/general-template.php (769)
'the_editor',                                    &quot;&lt;div id='editorcontainer'&gt;&lt;textarea class='' $rows cols='40' name='$id' tabindex='$tab_index' id='$id'&gt;%s&lt;/textarea&gt;&lt;/div&gt;\n&quot;
                                                                               -- wordpress-2.5.0/wp-includes/general-template.php (963)
'the_editor_content',                            $content                      -- wordpress-2.5.0/wp-includes/general-template.php (964)
'the_excerpt',                                   $post-&gt;post_excerpt           -- wordpress-2.5.0/wp-includes/comment.php (1049)
'the_excerpt',                                   get_the_excerpt()             -- wordpress-2.5.0/wp-includes/post-template.php (137)
'the_excerpt_rss',                               $output                       -- wordpress-2.5.0/wp-includes/feed.php (74)
'the_generator',                                 get_the_generator($type), $type
                                                                               -- wordpress-2.5.0/wp-includes/general-template.php (1156)
'the_meta_key',                                  &quot;&lt;li&gt;&lt;span class='post-meta-key'&gt;$key:&lt;/span&gt; $value&lt;/li&gt;\n&quot;, $key, $value
                                                                               -- wordpress-2.5.0/wp-includes/post-template.php (261)
'the_modified_date',                             get_the_modified_date($d), $d -- wordpress-2.5.0/wp-includes/general-template.php (778)
'the_modified_time',                             get_the_modified_time($d), $d -- wordpress-2.5.0/wp-includes/general-template.php (818)
'the_permalink',                                 get_permalink()               -- wordpress-2.5.0/wp-includes/link-template.php (5)
'the_permalink_rss',                             get_permalink()               -- wordpress-2.5.0/wp-includes/feed.php (78)
'the_posts',                                     $this-&gt;posts                  -- wordpress-2.5.0/wp-includes/query.php (1477)
'the_search_query',                              get_search_query()            -- wordpress-2.5.0/wp-includes/general-template.php (1001)
'the_tags',                                      get_the_term_list(0, 'post_tag', $before, $sep, $after)
                                                                               -- wordpress-2.5.0/wp-includes/category-template.php (482)
'the_time',                                      get_the_time( $d ), $d        -- wordpress-2.5.0/wp-includes/general-template.php (792)
'the_title',                                     $ak_post_title-&gt;post_title    -- wordpress-2.5.0/wp-includes/general-template.php (669)
'the_title',                                     $arc_title                    -- wordpress-2.5.0/wp-includes/general-template.php (511)
'the_title',                                     $page-&gt;post_title             -- wordpress-2.5.0/wp-includes/classes.php (564)
'the_title',                                     $post-&gt;post_title             -- wordpress-2.5.0/wp-includes/comment.php (1053)
'the_title',                                     $post-&gt;post_title             -- wordpress-2.5.0/wp-admin/edit.php (54)
'the_title',                                     $post-&gt;post_title             -- wordpress-2.5.0/wp-admin/upload.php (57)
'the_title',                                     $post-&gt;post_title, $nextpost  -- wordpress-2.5.0/wp-includes/deprecated.php (245)
'the_title',                                     $post-&gt;post_title, $post      -- wordpress-2.5.0/wp-includes/deprecated.php (210)
'the_title',                                     $title                        -- wordpress-2.5.0/wp-includes/post-template.php (64)
'the_title',                                     $title, $post                 -- wordpress-2.5.0/wp-includes/link-template.php (595)
'the_title_rss',                                 $post-&gt;post_title             -- wordpress-2.5.0/wp-admin/includes/export.php (195)
'the_title_rss',                                 $title                        -- wordpress-2.5.0/wp-includes/feed-atom-comments.php (52)
'the_title_rss',                                 $title                        -- wordpress-2.5.0/wp-includes/feed-rss2-comments.php (41)
'the_title_rss',                                 $title                        -- wordpress-2.5.0/wp-includes/feed.php (30)
'the_weekday',                                   $the_weekday                  -- wordpress-2.5.0/wp-includes/general-template.php (847)
'the_weekday_date',                              $the_weekday_date, $before, $after
                                                                               -- wordpress-2.5.0/wp-includes/general-template.php (861)
'theme_root',                                    ABSPATH . &quot;wp-content/themes&quot; -- wordpress-2.5.0/wp-includes/theme.php (336)
'theme_root_uri',                                get_option('siteurl') . &quot;/wp-content/themes&quot;, get_option('siteurl')
                                                                               -- wordpress-2.5.0/wp-includes/theme.php (340)
'tiny_mce_before_init',                          $initArray                    -- wordpress-2.5.0/wp-includes/js/tinymce/tiny_mce_config.php (173)
'tiny_mce_version',                              '20080327'                    -- wordpress-2.5.0/wp-includes/js/tinymce/tiny_mce_config.php (223)
'tiny_mce_version',                              '20080327'                    -- wordpress-2.5.0/wp-includes/script-loader.php (39)
'trackback_url',                                 $tb_url                       -- wordpress-2.5.0/wp-includes/comment-template.php (518)
'update_attached_file',                          $file, $attachment_id         -- wordpress-2.5.0/wp-includes/post.php (49)
'update_feedback',                               __('Deactivating the plugin') -- wordpress-2.5.0/wp-admin/includes/update.php (202)
'update_feedback',                               __('Installing the latest version')
                                                                               -- wordpress-2.5.0/wp-admin/includes/update.php (222)
'update_feedback',                               __('Removing the old version of the plugin')
                                                                               -- wordpress-2.5.0/wp-admin/includes/update.php (207)
'update_feedback',                               __('Unpacking the update')    -- wordpress-2.5.0/wp-admin/includes/update.php (188)
'update_feedback',                               sprintf(__('Downloading update from %s'), $package)
                                                                               -- wordpress-2.5.0/wp-admin/includes/update.php (176)
'update_footer',                                 ''                            -- wordpress-2.5.0/wp-admin/admin-footer.php (7)
'upload_dir',                                    $uploads                      -- wordpress-2.5.0/wp-includes/functions.php (1118)
'upload_mimes',                                  array(...)                    -- wordpress-2.5.0/wp-includes/functions.php (1215)
'upload_size_limit',                             min($u_bytes, $p_bytes), $u_bytes, $p_bytes
                                                                               -- wordpress-2.5.0/wp-admin/includes/template.php (1001)
'url_to_postid',                                 $url                          -- wordpress-2.5.0/wp-includes/rewrite.php (67)
'user_can_richedit',                             $wp_rich_edit                 -- wordpress-2.5.0/wp-includes/general-template.php (909)
'user_has_cap',                                  $this-&gt;allcaps, $caps, $args  -- wordpress-2.5.0/wp-includes/capabilities.php (267)
'user_registration_email',                       $user_email                   -- wordpress-2.5.0/wp-login.php (151)
'user_trailingslashit',                          $string, $type_of_url         -- wordpress-2.5.0/wp-includes/link-template.php (26)
'validate_username',                             $valid, $username             -- wordpress-2.5.0/wp-includes/registration.php (52)
'video_upload_iframe_src',                       &quot;$media_upload_iframe_src&amp;amp;type=video&quot;
                                                                               -- wordpress-2.5.0/wp-admin/includes/media.php (164)
'visual_editor',                                 array('tiny_mce')             -- wordpress-2.5.0/wp-includes/script-loader.php (33)
'widget_text',                                   $options[$number]['text']     -- wordpress-2.5.0/wp-includes/widgets.php (577)
'wp_admin_css',                                  &quot;&lt;link rel='stylesheet' href='&quot; . wp_admin_css_uri( $file ) . &quot;' type='text/css' /&gt;\n&quot;, $file
                                                                               -- wordpress-2.5.0/wp-includes/general-template.php (1136)
'wp_admin_css',                                  &quot;&lt;link rel='stylesheet' href='&quot; . wp_admin_css_uri( $rtl ) . &quot;' type='text/css' /&gt;\n&quot;, $rtl
                                                                               -- wordpress-2.5.0/wp-includes/general-template.php (1139)
'wp_admin_css_uri',                              $_file, $file                 -- wordpress-2.5.0/wp-includes/general-template.php (1131)
'wp_authenticate_user',                          $user, $password              -- wordpress-2.5.0/wp-includes/pluggable.php (428)
'wp_check_post_lock_window',                     AUTOSAVE_INTERVAL * 2         -- wordpress-2.5.0/wp-admin/includes/post.php (673)
'wp_create_file_in_uploads',                     $cropped, $_POST['attachment_id']
                                                                               -- wordpress-2.5.0/wp-admin/custom-header.php (289)
'wp_create_file_in_uploads',                     $image, $id                   -- wordpress-2.5.0/wp-admin/custom-header.php (240)
'wp_create_thumbnail',                           $thumbpath                    -- wordpress-2.5.0/wp-admin/includes/image.php (22)
'wp_dashboard_widgets',                          $dashboard_widgets            -- wordpress-2.5.0/wp-admin/includes/dashboard.php (139)
'wp_default_editor',                             $r                            -- wordpress-2.5.0/wp-includes/general-template.php (918)
'wp_delete_file',                                $file                         -- wordpress-2.5.0/wp-includes/post.php (2192)
'wp_delete_file',                                $intermediate['path']         -- wordpress-2.5.0/wp-includes/post.php (2187)
'wp_delete_file',                                $medium                       -- wordpress-2.5.0/wp-admin/custom-header.php (312)
'wp_delete_file',                                $original                     -- wordpress-2.5.0/wp-admin/custom-header.php (313)
'wp_delete_file',                                $thumbfile                    -- wordpress-2.5.0/wp-includes/post.php (2178)
'wp_dropdown_cats',                              $output                       -- wordpress-2.5.0/wp-includes/category-template.php (260)
'wp_dropdown_pages',                             $output                       -- wordpress-2.5.0/wp-includes/post-template.php (293)
'wp_dropdown_users',                             $output                       -- wordpress-2.5.0/wp-includes/user.php (287)
'wp_generate_attachment_metadata',               $metadata                     -- wordpress-2.5.0/wp-admin/includes/image.php (114)
'wp_generate_tag_cloud',                         $return, $tags, $args         -- wordpress-2.5.0/wp-includes/category-template.php (435)
'wp_generator_type',                             'xhtml'                       -- wordpress-2.5.0/wp-includes/general-template.php (1148)
'wp_get_attachment_metadata',                    $data, $post-&gt;ID              -- wordpress-2.5.0/wp-includes/post.php (2225)
'wp_get_attachment_thumb_file',                  $thumbfile, $post-&gt;ID         -- wordpress-2.5.0/wp-includes/post.php (2303)
'wp_get_attachment_thumb_url',                   $url, $post-&gt;ID               -- wordpress-2.5.0/wp-includes/post.php (2335)
'wp_get_attachment_url',                         $url, $post-&gt;ID               -- wordpress-2.5.0/wp-includes/post.php (2278)
'wp_handle_upload',                              array( 'file' =&gt; $name, 'url' =&gt; $upload[ 'url' ], 'type' =&gt; $type )
                                                                               -- wordpress-2.5.0/xmlrpc.php (1905)
'wp_handle_upload',                              array( 'file' =&gt; $new_file, 'url' =&gt; $url, 'type' =&gt; $type )
                                                                               -- wordpress-2.5.0/wp-admin/includes/file.php (186)
'wp_list_bookmarks',                             $output                       -- wordpress-2.5.0/wp-includes/bookmark-template.php (204)
'wp_list_categories',                            $output                       -- wordpress-2.5.0/wp-includes/category-template.php (326)
'wp_list_pages',                                 $output                       -- wordpress-2.5.0/wp-includes/post-template.php (339)
'wp_list_pages_excludes',                        explode(',', $r['exclude'])   -- wordpress-2.5.0/wp-includes/post-template.php (320)
'wp_mail',                                       compact( 'to', 'subject', 'message', 'headers' )
                                                                               -- wordpress-2.5.0/wp-includes/pluggable.php (261)
'wp_mail_charset',                               $charset                      -- wordpress-2.5.0/wp-includes/pluggable.php (385)
'wp_mail_content_type',                          $content_type                 -- wordpress-2.5.0/wp-includes/pluggable.php (370)
'wp_mail_from',                                  $from_email                   -- wordpress-2.5.0/wp-includes/pluggable.php (351)
'wp_mail_from_name',                             $from_name                    -- wordpress-2.5.0/wp-includes/pluggable.php (352)
'wp_mime_type_icon',                             $icon, $mime, $post_id        -- wordpress-2.5.0/wp-includes/post.php (2454)
'wp_parse_str',                                  $array                        -- wordpress-2.5.0/wp-includes/formatting.php (1284)
'wp_read_image_metadata',                        $meta, $file, $sourceImageType-- wordpress-2.5.0/wp-admin/includes/image.php (254)
'wp_read_image_metadata_types',                  array(IMAGETYPE_JPEG, IMAGETYPE_TIFF_II, IMAGETYPE_TIFF_MM)
                                                                               -- wordpress-2.5.0/wp-admin/includes/image.php (237)
'wp_redirect',                                   $location, $status            -- wordpress-2.5.0/wp-includes/pluggable.php (676)
'wp_redirect_status',                            $status, $location            -- wordpress-2.5.0/wp-includes/pluggable.php (677)
'wp_sprintf',                                    $fragment, $arg               -- wordpress-2.5.0/wp-includes/formatting.php (1339)
'wp_sprintf_l',                                  array(...)                    -- wordpress-2.5.0/wp-includes/formatting.php (1370)
'wp_tag_cloud',                                  $return, $args                -- wordpress-2.5.0/wp-includes/category-template.php (352)
'wp_title',                                      $title, $sep                  -- wordpress-2.5.0/wp-includes/general-template.php (246)
'wp_title_rss',                                  get_wp_title_rss($sep)        -- wordpress-2.5.0/wp-includes/feed.php (25)
'wp_update_attachment_metadata',                 $data, $post-&gt;ID              -- wordpress-2.5.0/wp-includes/post.php (2248)
'xmlrpc_methods',                                $this-&gt;methods                -- wordpress-2.5.0/xmlrpc.php (136)
'xmlrpc_text_filters',                           array()                       -- wordpress-2.5.0/xmlrpc.php (2082)
'year_link',                                     get_option('home') . '/?m=' . $year, $year
                                                                               -- wordpress-2.5.0/wp-includes/link-template.php (206)
'year_link',                                     get_option('home') . user_trailingslashit($yearlink, 'year'), $year
                                                                               -- wordpress-2.5.0/wp-includes/link-template.php (204)</pre></p>
<h5>Variable Name Filters</h5>
<p>A call takes the form <span style="text-decoration: underline;">apply_filters( &lt;hooh&gt;, &lt;arg1&gt;, &lt;arg2&gt;, &#8230; )</span></p>
<p><pre>HOOK                                             ARGS                          LOCATION
&quot;${field_no_prefix}_edit_pre&quot;,                   $value, $post_id              -- wordpress-2.5.0/wp-includes/post.php (773)
&quot;${field_no_prefix}_save_pre&quot;,                   $value                        -- wordpress-2.5.0/wp-includes/post.php (789)
&quot;${field}_pre&quot;,                                  $value                        -- wordpress-2.5.0/wp-includes/post.php (792)
&quot;${taxonomy}_$field&quot;,                            $value, $term_id, $context    -- wordpress-2.5.0/wp-includes/taxonomy.php (852)
&quot;${taxonomy}_${field}_rss&quot;,                      $value                        -- wordpress-2.5.0/wp-includes/taxonomy.php (848)
&quot;async_upload_{$type}&quot;,                          $id                           -- wordpress-2.5.0/wp-admin/async-upload.php (30)
&quot;edit_$field&quot;,                                   $value, $bookmark_id          -- wordpress-2.5.0/wp-includes/bookmark.php (298)
&quot;edit_$field&quot;,                                   $value, $post_id              -- wordpress-2.5.0/wp-includes/post.php (771)
&quot;edit_${taxonomy}_$field&quot;,                       $value, $term_id              -- wordpress-2.5.0/wp-includes/taxonomy.php (834)
&quot;edit_post_$field&quot;,                              $value, $post_id              -- wordpress-2.5.0/wp-includes/post.php (775)
&quot;edit_term_$field&quot;,                              $value, $term_id, $taxonomy   -- wordpress-2.5.0/wp-includes/taxonomy.php (833)
&quot;get_$taxonomy&quot;,                                 $_term, $taxonomy             -- wordpress-2.5.0/wp-includes/taxonomy.php (304)
&quot;get_the_generator_{$type}&quot;,                     $gen, $type                   -- wordpress-2.5.0/wp-includes/general-template.php (1187)
&quot;get_user_option_{$option}&quot;,                     $result, $option, $user       -- wordpress-2.5.0/wp-includes/user.php (98)
&quot;get_{$adjacent}_post_join&quot;,                     $join, $in_same_cat, $excluded_categories
                                                                               -- wordpress-2.5.0/wp-includes/link-template.php (566)
&quot;get_{$adjacent}_post_sort&quot;,                     &quot;ORDER BY p.post_date $order LIMIT 1&quot;
                                                                               -- wordpress-2.5.0/wp-includes/link-template.php (568)
&quot;get_{$adjacent}_post_where&quot;,                    $wpdb-&gt;prepare(&quot;WHERE p.post_date $op %s AND p.post_type = 'post' AND p.post_status = 'publish' $posts_in_ex_cats_sql&quot;, $current_post_date), $in_same_cat, $excluded_categories
                                                                               -- wordpress-2.5.0/wp-includes/link-template.php (567)
&quot;post_$field&quot;,                                   $value, $post_id, $context    -- wordpress-2.5.0/wp-includes/post.php (799)
&quot;pre_$field&quot;,                                    $value                        -- wordpress-2.5.0/wp-includes/bookmark.php (306)
&quot;pre_$field&quot;,                                    $value                        -- wordpress-2.5.0/wp-includes/post.php (788)
&quot;pre_${taxonomy}_$field&quot;,                        $value                        -- wordpress-2.5.0/wp-includes/taxonomy.php (841)
&quot;pre_post_$field&quot;,                               $value                        -- wordpress-2.5.0/wp-includes/post.php (791)
&quot;pre_term_$field&quot;,                               $value, $taxonomy             -- wordpress-2.5.0/wp-includes/taxonomy.php (840)
&quot;sanitize_option_{$option}&quot;,                     $value, $option               -- wordpress-2.5.0/wp-includes/formatting.php (1273)
&quot;term_$field&quot;,                                   $value, $term_id, $taxonomy, $context
                                                                               -- wordpress-2.5.0/wp-includes/taxonomy.php (851)
&quot;term_${field}_rss&quot;,                             $value, $taxonomy             -- wordpress-2.5.0/wp-includes/taxonomy.php (847)
&quot;term_links-$taxonomy&quot;,                          $term_links                   -- wordpress-2.5.0/wp-includes/category-template.php (526)
&quot;theme_mod_$name&quot;,                               $mods[$name]                  -- wordpress-2.5.0/wp-includes/theme.php (514)
&quot;theme_mod_$name&quot;,                               sprintf($default, get_template_directory_uri(), get_stylesheet_directory_uri())
                                                                               -- wordpress-2.5.0/wp-includes/theme.php (516)
&quot;wp_dashboard_widget_links_$widget_id&quot;,          $links                        -- wordpress-2.5.0/wp-admin/includes/dashboard.php (227)
&quot;{$type}_template&quot;,                              $template                     -- wordpress-2.5.0/wp-includes/theme.php (349)
$field,                                          $value, $bookmark_id, $context-- wordpress-2.5.0/wp-includes/bookmark.php (309)
$field,                                          $value, $post_id, $context    -- wordpress-2.5.0/wp-includes/post.php (797)
'explain_nonce_' . $verb . '-' . $noun,          __( 'Are you sure you want to do this?' ), $matches[4]
                                                                               -- wordpress-2.5.0/wp-includes/functions.php (1339)
'option_' . $setting,                            maybe_unserialize( $value )   -- wordpress-2.5.0/wp-includes/functions.php (243)
'pre_option_' . $option-&gt;option_name,            $value                        -- wordpress-2.5.0/wp-includes/functions.php (270)
'pre_option_' . $setting,                        false                         -- wordpress-2.5.0/wp-includes/functions.php (201)</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/wordpress-action-and-filter-hooks/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to load JavaScript in WordPress plugins</title>
		<link>http://noteslog.com/post/how-to-load-javascript-in-wordpress-plugins/</link>
		<comments>http://noteslog.com/post/how-to-load-javascript-in-wordpress-plugins/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 20:43:39 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[other]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://noteslog.com/?p=205</guid>
		<description><![CDATA[If you want to load some JavaScript files from your WordPress plugin you have at least two options. Head hooks When building up a page, just before the closing tag of the head element, a theme should call actions hooked on wp-head. Those actions only need to output what they want to include into the [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to load some JavaScript files from your WordPress plugin you have at least two options.</p>
<h4>Head hooks</h4>
<p>When building up a page, just before the closing tag of the head element, a theme should call actions hooked on <span style="color: #333399;">wp-head</span>. Those actions only need to output what they want to include into the head element, like script files.</p>
<p>What if a theme does not do that? Well, I&#8217;d include it into the so called &#8220;known issues&#8221;. For example, my last WordPress plugin, won&#8217;t work in this case. I think it&#8217;s better not to find a workaround, so that theme authors understand that they must follow WordPress standards.</p>
<p>On the other hand, there is also an <span style="color: #333399;">admin-head</span> hook, which is the <span style="color: #333399;">wp-head</span> hook counterpart when building up admin pages.  For example, you could use the following function.</p>
<p><pre class="chili-all"><code class="html">&lt;?php</code><code class="php">

function load_into_head() { 
	$ADMIN_VIEW = &quot;alert( 'Hello Admin!' );&quot;;
	$USERS_VIEW = &quot;alert( 'Hello World!' );&quot;;
	</code><code class="html">?&gt;
&lt;script type=&quot;text/javascript&quot;&gt;</code><code class="javascript">
	</code><code class="html">&lt;?php</code><code class="php">
		if( is_admin() ) { echo $ADMIN_VIEW; }
		else             { echo $USERS_VIEW; } 
	</code><code class="html">?&gt;</code><code class="javascript">
</code><code class="html">&lt;/script&gt;
	&lt;?php </code><code class="php">
}

add_action( is_admin() ? 'admin_head' : 'wp_head', 'load_into_head' );

</code><code class="html">?&gt;</code></pre>


</p>
<h4>Script API</h4>
<p>WordPress provides also a good Script API that will let you do anything you want with script files, following WordPress standards. These are the main functions:</p>
<ol>
<li><span style="color: #333399;">wp_deregister_script</span></li>
<li><span style="color: #333399;">wp_register_script</span></li>
<li><span style="color: #333399;">wp_enqueue_script</span></li>
<li><span style="color: #333399;">wp_print_scripts</span> (action hook)</li>
<li><span style="color: #333399;">print_scripts_array</span> (filter hook)</li>
</ol>
<p>The general idea is that you write a function for loading your scripts using <span style="color: #333399;">wp_deregister_script</span>, <span style="color: #333399;">wp_register_script</span>, and <span style="color: #333399;">wp_enqueue_script</span>, and hook it on <span style="color: #333399;">wp_print_scripts</span>. If you also need to fine tune the order in which files are loaded or if they have to be loaded at all, then you can write another function and hook it on <span style="color: #333399;">print_scripts_array</span>.</p>
<h5>deregister, register, and enqueue</h5>
<p><span style="color: #333399;">wp_register_script</span> let&#8217;s you create an alias and define dependencies for each script file. If a script file with the same alias was already registered, then your registration is ignored. This is a policy for conflict resolution (the first registration wins) that may help you, if you know it.</p>
<p><span style="color: #333399;">wp_deregister_script</span> let&#8217;s you remove an alias. If the alias you give doesn&#8217;t exist, nothing happens. Tipically you use this function for forcing a new registration of an already registered alias: first you deregister and then register again.</p>
<p><span style="color: #333399;">wp_enqueue_script</span> prepares the loading of a script. If the script was registered with some dependencies, this function automatically prepares their loading too, recursively, making sure each script will be loaded only once and before any script depending on it.</p>
<p>For example, jQuery 1.2.3 is registered by WordPress 2.5, but let&#8217;s say that you want to always download the latest version. You could use the following function.</p>
<p><pre class="chili-all"><code class="html">&lt;?php</code><code class="php">

function load_with_api() {
	wp_deregister_script( 'jquery' );
	wp_register_script( 'jquery', 'http://code.jquery.com/jquery-latest.pack.js', false, '' );

	//keep jQuery and Prototype compatible
	$url = get_bloginfo('wpurl').'/wp-content/plugins/my-plugin';
	wp_register_script( 'jquery_no_conflict', $url . '/jquery_no_conflict.js', array( 'jquery' ), '' );	
	wp_enqueue_script( 'jquery_no_conflict' );
}

add_action( 'wp_print_scripts', 'myOwnTheme_init' );

</code><code class="html">?&gt;</code></pre>


</p>
<p>Keeping jQuery and Prototype compatible is a needed functionality, because WordPress uses both and they both use <span style="color: #333399;">$</span> as a global symbol. In fact, the jQuery file packed with WordPress includes the compatibility setting.</p>
<h5>Fine tuning</h5>
<p>If you want your scripts to be loaded in a particular order, with one script before or after another, maybe with respect to one that was registered by WordPress itself, or by other plugins, then you can write a function for the <span style="color: #333399;">print_scripts_array</span> filter.</p>
<p>For example, to load the <span style="color: #333399;">jquery_no_conflict</span> file just after the <span style="color: #333399;">jquery</span> file, you can use the following function.</p>
<p><pre class="chili-all"><code class="html">&lt;?php</code><code class="php">

function jquery_no_conflict_follows_jquery( $js_array ) {
	if ( false === $jquery = array_search( 'jquery', $js_array ) )
		return $js_array;

	if ( false === $jquery_no_conflict = array_search( 'jquery_no_conflict', $js_array ) )
		return $js_array;

	if ( $jquery_no_conflict == $jquery + 1 )
		return $js_array;

	array_splice( $js_array, $jquery + 1, 0, 'jquery_no_conflict' );

	unset($js_array[$jquery_no_conflict + ($jquery_no_conflict &lt; $jquery ? 0 : 1)]);

	return $js_array;
}

add_filter( 'print_scripts_array', 'jquery_no_conflict_follows_jquery' );

</code><code class="html">?&gt;</code></pre>


</p>
<h4>My Own Theme</h4>
<p>If you want to see all this in action, you can install the <a href="http://wordpress.org/extend/plugins/my-own-theme/" target="_blank">My Own Theme</a> plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/how-to-load-javascript-in-wordpress-plugins/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>WP Chili Released</title>
		<link>http://noteslog.com/post/wp-chili-released/</link>
		<comments>http://noteslog.com/post/wp-chili-released/#comments</comments>
		<pubDate>Fri, 14 Mar 2008 22:04:20 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[Chili]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://noteslog.com/post/wp-chili-released/</guid>
		<description><![CDATA[A couple of days ago I released WP Chili, a simple WordPress plugin that installs Chili into WordPress and let&#8217;s you add client-side code highlighting to your posts, with extreme simplicity. After activating WP Chili, it&#8217;s just a matter of wrapping your snippets into code or pre-code elements, with the programming language of the snippet [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of days ago I released <a href="http://noteslog.com/chili/wp-chili/">WP Chili</a>, a simple WordPress plugin that installs <a href="http://noteslog.com/chili/">Chili</a> into WordPress and let&#8217;s you add client-side code highlighting to your posts, with extreme simplicity.</p>
<p>After activating WP Chili, it&#8217;s just a matter of wrapping your snippets into <u>code</u> or <u>pre-code</u> elements, with the programming language of the snippet as a class, like in the following example:</p>
<p><pre><code class="html">&lt;pre&gt;&lt;code class=&quot;php&quot;&gt;
echo &amp;quot;Hello $name&amp;quot;;
&lt;/code&gt;&lt;/pre&gt;</code></pre></p>
<p>When the post reaches your readers, the snippet is unescaped by their browser and highlighted by Chili 1.9 (downloaded from your server). Your readers will see the example rendered as:</p>
<p><pre><code class="php">echo &quot;Hello $name&quot;;</code></pre></p>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/wp-chili-released/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WordPress Rendering Troubles</title>
		<link>http://noteslog.com/post/wordpress-rendering-troubles/</link>
		<comments>http://noteslog.com/post/wordpress-rendering-troubles/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 22:41:59 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[Fixing]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://noteslog.com/post/wordpress-rendering-troubles/</guid>
		<description><![CDATA[WordPress has many helpers that allow authors to write down some text and have it nicely formatted for their readers, without having to care about HTML issues. It&#8217;s a great job, but sometimes it doesn&#8217;t do the right thing. This bug affects content and custom fields, which means that it&#8217;s more of a conceptual bug [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress has many helpers that allow authors to write down some text and have it nicely formatted for their readers, without having to care about HTML issues. It&#8217;s a great job, but sometimes it doesn&#8217;t do the right thing.</p>
<p>This bug affects content and custom fields, which means that it&#8217;s more of a conceptual bug than a coding bug. I wrote an <a href="http://noteslog.com/post/entity-enzyme-or-the-pacman-effect-strikes-back/">article</a> with a workaround for the content. Now, let&#8217;s see a simple fix for custom fields.</p>
<p>I&#8217;ll describe both problems I detected and give a solution based on changing some WordPress code. I know it&#8217;s not a perfect solution, but it works and it&#8217;s also relatively easy. In the snippets you&#8217;ll see the code as it&#8217;s supposed to get changed to. (with 3 lines of context before and after changed lines, each preceded by a <span style="text-decoration: underline;">//noteslog.com</span> comment)</p>
<p>WordPress Version: 2.3.1</p>
<h4>Problem: HTML Entities Conversion</h4>
<p>Custom fields that have HTML entities in their key or value are treated by WordPress weirdly. <a href="http://images.google.com/images?q=frustration&amp;hl=en&amp;rls=com.microsoft:en:IE-SearchBox&amp;rlz=1I7GGLJ&amp;um=1&amp;ie=UTF-8&amp;sa=X&amp;oi=images&amp;ct=title" target="_blank">Frustration</a> will appear soon after realizing that WordPress won&#8217;t return what you put in before.</p>
<p>If I write <span style="text-decoration: underline;">&amp;para;</span> inside the visual editor of a post, WordPress should assume that I want to visualize <span style="text-decoration: underline;">&amp;para;</span>. In fact it will pretend to do the right thing the first time I save the post. All subsequent times it will show a <span style="text-decoration: underline;">&para;</span> where I put a <span style="text-decoration: underline;">&amp;para;</span>.</p>
<p>If I write <span style="text-decoration: underline;">&amp;para;</span> inside the code editor of a post, WordPress should assume that I want to visualize <span style="text-decoration: underline;">&para;</span>, and it does the right thing (sort of, because I now have a <span style="text-decoration: underline;">&para;</span> inside the code too).</p>
<p>If I write <span style="text-decoration: underline;">&amp;para;</span> inside a custom field&#8217;s key or value, WordPress should assume that I want to visualize <span style="text-decoration: underline;">&para;</span> for my readers, and <span style="text-decoration: underline;">&amp;para;</span> for myself when I&#8217;m authoring the custom field. In fact WordPress does the wrong thing here again, because it&#8217;ll immediately convert <span style="text-decoration: underline;">&amp;para;</span> to <span style="text-decoration: underline;">&para;</span>.</p>
<h5>Solution</h5>
<p>This fix requires changing four lines in two files. We&#8217;ll use the PHP function <a href="http://php.net/manual/en/function.htmlspecialchars.php" target="_blank">htmlspecialchars</a> in place of the WordPress function <span style="text-decoration: underline;">attribute_escape</span>. After the fix, filters for <span style="text-decoration: underline;">&#8220;attribute_escape&#8221;</span> won&#8217;t get applied to custom fields keys and values. (this shouldn&#8217;t be a problem)</p>
<p><strong>Open</strong>: wp-admin/admin-ajax.php<br />
<strong>Search:</strong> function wp_ajax_meta_row<br />
<pre class="chili-all"><code class="php">add_action( 'shutdown', 'get_out_now', -1 );

function wp_ajax_meta_row( $pid, $mid, $key, $value ) {
//noteslog.com
	$value = htmlspecialchars( $value ); //attribute_escape($value);
	$key_js = addslashes(wp_specialchars($key, 'double'));
//noteslog.com
	$key = htmlspecialchars( $key ); //attribute_escape($key);
	$r .= &quot;&lt;tr id='meta-$mid'&gt;&lt;td valign='top'&gt;&quot;;
	$r .= &quot;&lt;input name='meta[$mid][key]' tabindex='6' onkeypress='return killSubmit(\&quot;theList.ajaxUpdater(&amp;#039;meta&amp;#039;,&amp;#039;meta-$mid&amp;#039;);\&quot;,event);' type='text' size='20' value='$key' /&gt;&quot;;
	$r .= &quot;&lt;/td&gt;&lt;td&gt;&lt;textarea name='meta[$mid][value]' tabindex='6' rows='2' cols='30'&gt;$value&lt;/textarea&gt;&lt;/td&gt;&lt;td align='center'&gt;&quot;;</code></pre></p>
<p><strong>Open</strong>: wp-admin/includes/template.php<br />
<strong>Search: </strong>function list_meta<br />
<pre class="chili-all"><code class="php">}

		$key_js = js_escape( $entry['meta_key'] );
//noteslog.com
		$entry['meta_key']   = htmlspecialchars($entry['meta_key']);//attribute_escape($entry['meta_key']);
//noteslog.com
		$entry['meta_value'] = htmlspecialchars($entry['meta_value']);//attribute_escape($entry['meta_value']);
		$entry['meta_id'] = (int) $entry['meta_id'];
		$r .= &quot;\n\t&lt;tr id='meta-{$entry['meta_id']}' class='$style'&gt;&quot;;
		$r .= &quot;\n\t\t&lt;td valign='top'&gt;&lt;input name='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' size='20' value='{$entry['meta_key']}' /&gt;&lt;/td&gt;&quot;;</code></pre></p>
<h4>Problem: White Space Trimming</h4>
<p>Custom fields that begin or end with white space in their key or value are trimmed. I can undestand that a key is more easily dealt with if it is trimmed before saving it into the database. But values should definitely retain all their white space AS IS.</p>
<h5>Solution</h5>
<p>This fix requires changing four lines in three files. We&#8217;ll add a <span style="text-decoration: underline;">$trim</span> parameter to the wordpress function <span style="text-decoration: underline;">maybe_serialize</span>, by default set to <span style="text-decoration: underline;">true</span>. Wherever we do not want a <span style="text-decoration: underline;">$data</span> value trimmed, we&#8217;ll call <span style="text-decoration: underline;">maybe_serialize</span> with a <span style="text-decoration: underline;">false</span> second argument.</p>
<p><strong>Open</strong>: wp-includes/functions.php<br />
<strong>Search</strong>: function maybe_serialize<br />
<pre class="chili-all"><code class="php">return true;
}

//noteslog.com
function maybe_serialize($data, $trim=true) { //($data)
//noteslog.com
	if ( $trim &amp;&amp; is_string($data) ) //( is_string($data) )
		$data = trim($data);
	elseif ( is_array($data) || is_object($data) )
		return serialize($data);</code></pre></p>
<p><strong>Open</strong>: wp-admin/includes/post.php<br />
<strong>Search</strong>: function add_meta<br />
<pre class="chili-all"><code class="php">$metakeyselect = $wpdb-&gt;escape( stripslashes( trim( $_POST['metakeyselect'] ) ) );
	$metakeyinput = $wpdb-&gt;escape( stripslashes( trim( $_POST['metakeyinput'] ) ) );
//noteslog.com
	$metavalue = maybe_serialize( stripslashes( ( $_POST['metavalue'] ) ), false ); //( stripslashes( trim( $_POST['metavalue'] ) ) );
	$metavalue = $wpdb-&gt;escape( $metavalue );

	if ( ('0' === $metavalue || !empty ( $metavalue ) ) &amp;&amp; ((('#NONE#' != $metakeyselect) &amp;&amp; !empty ( $metakeyselect) ) || !empty ( $metakeyinput) ) ) {
		// We have a key/value pair. If both the select and the</code></pre></p>
<p><strong>Open</strong>: wp-admin/includes/post.php<br />
<strong>Search</strong>: function update_meta<br />
<pre class="chili-all"><code class="php">if ( in_array($mkey, $protected) )
		return false;

//noteslog.com
	$mvalue = maybe_serialize( stripslashes( $mvalue ), false ); //( stripslashes( $mvalue ) );
	$mvalue = $wpdb-&gt;escape( $mvalue );
	$mid = (int) $mid;
	return $wpdb-&gt;query( &quot;UPDATE $wpdb-&gt;postmeta SET meta_key = '$mkey', meta_value = '$mvalue' WHERE meta_id = '$mid'&quot; );</code></pre></p>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/wordpress-rendering-troubles/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Enzymes 2.0 Released Today</title>
		<link>http://noteslog.com/post/enzymes-20-released-today/</link>
		<comments>http://noteslog.com/post/enzymes-20-released-today/#comments</comments>
		<pubDate>Sat, 10 Nov 2007 22:55:43 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[Enzymes]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://noteslog.com/post/enzymes-20-released-today/</guid>
		<description><![CDATA[Enzymes is a WordPress Plugin for retrieving properties and custom fields of posts, pages, and authors, right into the visual editor of posts and pages, and everywhere else. I&#8217;m releasing now Enzymes 2.0 which is quite a step forward. The features are a new syntax for retrieving properties of posts, pages, and authors; as well [...]]]></description>
			<content:encoded><![CDATA[<p>Enzymes is a WordPress Plugin for retrieving properties and custom fields of posts, pages, and authors, right into the visual editor of posts and pages, and everywhere else.</p>
<p>I&#8217;m releasing now Enzymes 2.0 which is quite a step forward. The features are</p>
<ul>
<li>a new syntax for retrieving properties of posts, pages, and authors; as well as the old syntax for custom fields</li>
<li>a new syntax for identifying posts and pages by means of their slugs; as well as the old syntax with their numbers</li>
<li>a new <u>elaborate</u> method allowing for an easier processing of indirect arguments</li>
<li>a new <u>merging</u> method helping at crafting how the pathway is built by evaluation enzymes</li>
<li>slash and backslash templating uniformly supported by transclusion and evaluation enzymes</li>
<li>a cleaner code</li>
<li><a href="http://noteslog.com/enzymes/">a new manual</a></li>
<li>new examples</li>
</ul>
<h5>A WordPress Plugin</h5>
<p>This version is available for <a href="http://wordpress.org/extend/plugins/enzymes/">download</a> from wordpress.org</p>
<h5>The previous version</h5>
<p>I released Enzymes 1.2 one year ago from mondotondo.com, and re-released it as version 1.3 one month ago from wordpress.org. Both were almost the same thing. Here are the only differences:</p>
<ul>
<li>updated the description header, accounting for the new address (notelog.com)</li>
<li>removed the signals to my server for activation / deactivation of the plugin</li>
<li>packaged as a wordpress plugin, available for download from wordpress.org</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/enzymes-20-released-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add semantics to WordPress posts</title>
		<link>http://noteslog.com/post/how-to-add-semantics-to-wordpress-posts/</link>
		<comments>http://noteslog.com/post/how-to-add-semantics-to-wordpress-posts/#comments</comments>
		<pubDate>Fri, 02 Mar 2007 09:49:35 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[Enzymes]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://noteslog.com/?p=151</guid>
		<description><![CDATA[Browsing the WordPress&#8217; ideas repository I&#8217;ve found one that could make WordPress fill the gap between a blog tool and a knowledge base: Structured Blogging. The fact that it got 60 votes but only 50% stars means two things: voting people are lazy thinkers it&#8217;s a difficult task at many levels Nonetheless it&#8217;s a good [...]]]></description>
			<content:encoded><![CDATA[<p>Browsing the WordPress&#8217; <a href="http://wordpress.org/extend/ideas/" target="_blank">ideas repository</a> I&#8217;ve found one that could make <a href="http://wordpress.org/" target="_blank">WordPress</a> fill the gap between a blog tool and a knowledge base: <a href="http://wordpress.org/extend/ideas/topic.php?id=217" target="_blank">Structured Blogging</a>.</p>
<p>The fact that it got 60 votes but only 50% stars means two things:</p>
<ol>
<li>voting people are lazy thinkers</li>
<li>it&#8217;s a difficult task at many levels</li>
</ol>
<p>Nonetheless it&#8217;s a good idea because this is and will be for many years to come the blogging era, where millions of authors <strong>post</strong> content to the Internet. There is no good reason for that content to be unstructured except lazyness and complexity.</p>
<p>Nothing can be done about lazyness but complexity can be substantially reduced. The solution needs:</p>
<ul>
<li>a mechanism for adding XML tags from some dictionary</li>
<li>a template system for showing XML content appropiately</li>
</ul>
<p>On the path to something readily usable (I hope Matt will provide it in WordPress 3.0), a mechanism could be a <a href="http://docs.jquery.com/Plugins" target="_blank">jQuery plugin</a> for the visual editor, and a template system could be based on <a href="/?page_id=77" target="_blank">Enzymes</a>.</p>
<h4>Autocompletion</h4>
<p>I think that <a href="http://tinymce.moxiecode.com/" target="_blank">tinyMCE</a> can be extended by plugins, but I don&#8217;t know how to. <a href="http://jquery.com/" target="_blank">jQuery</a> itself has an <a href="http://www.dyve.net/jquery/?autocomplete" target="_blank">autocompletion plugin</a> that could be used this way. When an author presses a &lt; key, the <a href="http://en.wikipedia.org/wiki/Autocompletion" target="_blank">autocompletion</a> gets triggered and the popup &#8230; pops up :-)</p>
<p>If you have ever used <a href="http://www.microsoft.com/windows/ie/ie6/downloads/recommended/ime/default.mspx" target="_blank">IME</a> (for Japanese for example), you should know what I mean. Options are organized in a hierarchy and you get the most relevant at the top, depending on the few characters already typed. XML dictionaries could be ajaxed and locally cached; they could be plugins that you install into your blog, or be web services too; they could be <a href="http://dublincore.org/" target="_blank">international standards</a> compliant or be completely custom.</p>
<p>The most-relevant-first feature of the autocompletion popup would be a big help for authors. If I already opened a Tag, then the most relevant options after pressing &lt; could be:</p>
<ol>
<li>the closing tag for that Tag</li>
<li>any tag that could be inside that Tag (properly sorted if needed)</li>
<li>any root of the cached dictionaries (if possible in Tag)</li>
<li>an option for accessing additional dictionaries (if possible in Tag)</li>
</ol>
<h4>Templates</h4>
<p>A PHP template for properly rendering XML content is very easy to write, and Enzymes could be used in the clockwork. In fact an Enzymes feature is the possibility of easily transcluding all the content of a post or a page by means of the special char *</p>
<p>The XML to HTML template can be transformed in an Enzymes template with a couple of PHP instructions, thus allowing you to almost copy and paste already available templates. Then you could apply a solution like this:</p>
<ol>
<li>write a private post or page with the XML content, using the autocompletion feature described above (say this post is #123)</li>
<li>write a public post or page with the Enzymes statement {[123.* /template.php]} in its content</li>
</ol>
<p>The post in 1. needs to be private because you don&#8217;t want it to appear on the blog as is, and 2. makes the transformation happen. As an added benefit, you can display that semantic content inside of a greater context, and you can transclude it wherever you want in your WordPress blog (as many times as you like).</p>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/how-to-add-semantics-to-wordpress-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Found the Culprit of the Pacman&#8217;s Effect</title>
		<link>http://noteslog.com/post/found-the-culprit-of-the-pacmans-effect/</link>
		<comments>http://noteslog.com/post/found-the-culprit-of-the-pacmans-effect/#comments</comments>
		<pubDate>Thu, 22 Feb 2007 12:22:50 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[Fixing]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://noteslog.com/?p=147</guid>
		<description><![CDATA[Some time ago I wrote Entity enzyme, or The pacman effect strikes back. It was an article about the pacman effect of the ampersand in WordPress and how to try to solve it with a simple enzyme. Recently I&#8217;ve discovered that it&#8217;s an escaping / unescaping issue still unresolved in WordPress 2.1, and it&#8217;s somewhat [...]]]></description>
			<content:encoded><![CDATA[<p>Some time ago I wrote <a title="Permanent Link: Entity enzyme, or The pacman effect strikes back" rel="bookmark" href="http://noteslog.com/?p=83">Entity enzyme, or The pacman effect strikes back</a>. It was an article about the pacman effect of the ampersand in WordPress and how to try to solve it with a simple enzyme. Recently I&#8217;ve discovered that it&#8217;s an escaping / unescaping issue still unresolved in WordPress 2.1, and it&#8217;s somewhat nastier than I initially thought.</p>
<p>If you want to write HTML entity codes in a post, and you need to represent that of an ampersand for example (it&#8217;s <span style="text-decoration: underline;">&amp;amp;</span>), then there is no way to get it right. In fact, WordPress will always resolve an entity code.</p>
<p>Thus, if you write <span style="text-decoration: underline;">&amp;amp;</span>, you&#8217;ll get <span style="text-decoration: underline;">&amp;</span> after the first save roundtrip, and if you try to escape the <span style="text-decoration: underline;">&amp;</span> into <span style="text-decoration: underline;">&amp;amp;</span> with <span style="text-decoration: underline;">&amp;amp;</span>, obtaining <span style="text-decoration: underline;">&amp;amp;amp;</span> (this looks weird but it&#8217;s the way to do it in plain HTML), then the first time you save the post you get <span style="text-decoration: underline;">&amp;amp;</span> back, and the second time you save the post you get <span style="text-decoration: underline;">&amp;</span> back.</p>
<p>In general if you write <span style="text-decoration: underline;">&amp;</span> followed by any number of <span style="text-decoration: underline;">amp;</span> (like <span style="text-decoration: underline;">&amp;amp;amp;amp;amp;amp;amp;amp;</span>) then WordPress will make the <span style="text-decoration: underline;">&amp;</span> eat up an <span style="text-decoration: underline;">amp;</span> at each saving roundtrip, hence the pacman effect.</p>
<p>But the title of my previous post about this issue was &#8220;the pacman effect <span style="text-decoration: underline;">strikes back.</span>&#8221; In fact it&#8217;s not only a problem of the post content but also of the custom fields, thus corrupting the last resort we WordPress bloggers have for content AS IS. And this is where I get really upset.</p>
<p>Last tuesday I found the culprit and asked the wp-hackers list wether they considered it a bug or not. I&#8217;m still waiting for an answer, so I hope this post will help me to broaden the question and understand if I need to submit it to WordPress Trac or go in for a hack myself.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/found-the-culprit-of-the-pacmans-effect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Highlight Mixed Language Source Code</title>
		<link>http://noteslog.com/post/mixed-language-snippets/</link>
		<comments>http://noteslog.com/post/mixed-language-snippets/#comments</comments>
		<pubDate>Fri, 16 Feb 2007 15:35:29 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[Chili]]></category>
		<category><![CDATA[Enzymes]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://noteslog.com/?p=143</guid>
		<description><![CDATA[Web pages contain many snippets from different languages, like HTML, PHP, CSS, and JavaScript. Chili 1.x cannot highlight mixed language source code automatically, but the forthcoming released Chili 2.0 will be is able to do that. Meanwhile, if you are using a Chili + Enzymes setup, then it&#8217;s possible to write an Enzymes template capable [...]]]></description>
			<content:encoded><![CDATA[<p>Web pages contain many snippets from different languages, like HTML, PHP, CSS, and JavaScript. Chili 1.x cannot highlight mixed language source code automatically, but the <span style="text-decoration: line-through;">forthcoming</span> released <a href="http://noteslog.com/post/chili-20-released-today/">Chili 2.0</a> <span style="text-decoration: line-through;">will be</span> is able to do that.</p>
<p>Meanwhile, if you are using a Chili + Enzymes setup, then it&#8217;s possible to write an Enzymes template capable of making Chili 1.x highlight a web page perfectly (expanding on my previous php template).</p>
<p>Here is the <span style="text-decoration: line-through;">new</span> updated (2007/02/19) <span style="text-decoration: underline;">chili-web.php</span> Enzymes template. At the moment it supports XHTML, and embedded CSS, JavaScript, and PHP snippets.</p>
<p><?php 
if( ! function_exists( 'format_code' ) ) {

	function snippet_wrap( $class, $code ) {
		return '' == $code ? '' : '<code class="'.$class.'">'.htmlentities( $code ).'</code>';
	}

	function snippet_php( $open, $code, $close ) {
		return snippet_wrap( 'html', $open ).snippet_wrap( 'php', $code ).snippet_wrap( 'html', $close );
	}

	function php_inside_html( $matches ) {
		list( $all, $before, $open, $code, $close ) = $matches;

		if( '' == $open ) 
			return snippet_wrap( 'html', $all );
		else 
			return snippet_wrap( 'html', $before ).snippet_php( $open, $code, $close );
	}

	function php_inside_css( $matches ) {
		list( $all, $before, $open, $code, $close ) = $matches;

		if( '' == $open ) 
			return snippet_wrap( 'css', $all );
		else 
			return snippet_wrap( 'css', $before ).snippet_php( $open, $code, $close );
	}

	function php_inside_javascript( $matches ) {
		list( $all, $before, $open, $code, $close ) = $matches;

		if( '' == $open ) 
			return snippet_wrap( 'javascript', $all );
		else 
			return snippet_wrap( 'javascript', $before ).snippet_php( $open, $code, $close );
	}

	function php_inside( $class, $code ) {
		return preg_replace_callback( '/(?:(.*?)(\<\?php\s)(.*?)(\?\>))|(?:.+)/si', "php_inside_$class", $code );
	}

	function snippet_web( $class, $open, $code, $close ) {
		return snippet_wrap( 'html', $open ).php_inside( $class, $code ).snippet_wrap( 'html', $close );
	}

	function format_code( $matches ) {
		list( $all, $before, $open, $tag, $code, $close ) = $matches;

		if( '' == $open ) {
			return php_inside( 'html', $all );
		}
		else {
			switch( $tag ) {
				case 'script': $class = 'javascript'; break;
				case 'style' : $class = 'css';        break;
				default      : $class = 'html';
			}
			return php_inside( 'html', $before ).snippet_web( $class, $open, $code, $close );
		}
	}

	function format_clean( $out ) {
		do {
			$len = strlen( $out );
			$out = preg_replace( '/(\<code class="(\w+)"\>[^<]*)\<\/code\>\<code class="\2"\>/is', '$1', $out );
		} while( $len != strlen( $out ) );
		return $out;
	}
}

?>
<pre class="chili-<?php 
	$tmp = preg_split( '/(?:\r?\n)+/', $this->result );
	if( count( $tmp ) > 28 ) echo 'clip';
	else echo 'all'; 
?>"><?php
	$out = preg_replace_callback( '/(?:(.*?)(\<(script|style)\b.*?\>)(.*?)(\<\/\3\>))|(?:.+)/is', 'format_code', $this->result );
	echo format_clean( $out );
?></pre></p>
<p>The WordPress file <span style="text-decoration: underline;">/wp-content /themes /default /comments-popup.php</span> is a page that uses all the supported languages, so it&#8217;s a good test for the previous template:</p>
<p><?php
/* Don't remove these lines. */
add_filter('comment_text', 'popuplinks');
while ( have_posts()) : the_post();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
     <title><?php echo get_option('blogname'); ?> - Comments on <?php the_title(); ?></title>

	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
	<style type="text/css" media="screen">
		@import url( <?php bloginfo('stylesheet_url'); ?> );
		body { margin: 3px; }
	</style>

</head>
<body id="commentspopup">

<h1 id="header"><a href="" title="<?php echo get_option('blogname'); ?>"><?php echo get_option('blogname'); ?></a></h1>

<h2 id="comments">Comments</h2>

<p><a href="<?php echo get_option('siteurl'); ?>/wp-commentsrss2.php?p=<?php echo $post->ID; ?>"><abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.</a></p>

<?php if ('open' == $post->ping_status) { ?>
<p>The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: <em><?php trackback_url() ?></em></p>
<?php } ?>

<?php
// this line is WordPress' motor, do not delete it.
$commenter = wp_get_current_commenter();
extract($commenter);
$comments = get_approved_comments($id);
$post = get_post($id);
if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
	echo(get_the_password_form());
} else { ?>

<?php if ($comments) { ?>
<ol id="commentlist">
<?php foreach ($comments as $comment) { ?>
	<li id="comment-<?php comment_ID() ?>">
	<?php comment_text() ?>
	<p><cite><?php comment_type('Comment', 'Trackback', 'Pingback'); ?> by <?php comment_author_link() ?> â€” <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite></p>
	</li>

<?php } // end for each comment ?>
</ol>
<?php } else { // this is displayed if there are no comments so far ?>
	<p>No comments yet.</p>
<?php } ?>

<?php if ('open' == $post->comment_status) { ?>
<h2>Leave a comment</h2>
<p>Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code><?php echo allowed_tags(); ?></code></p>

<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
	<p>
	  <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
	   <label for="author">Name</label>
	<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
	<input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" />
	</p>

	<p>
	  <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" />
	   <label for="email">E-mail</label>
	</p>

	<p>
	  <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" />
	   <label for="url"><abbr title="Universal Resource Locator">URL</abbr></label>
	</p>

	<p>
	  <label for="comment">Your Comment</label>
	<br />
	  <textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea>
	</p>

	<p>
	  <input name="submit" type="submit" tabindex="5" value="Say It!" />
	</p>
	<?php do_action('comment_form', $post->ID); ?>
</form>
<?php } else { // comments are closed ?>
<p>Sorry, the comment form is closed at this time.</p>
<?php }
} // end password check
?>

<div><strong><a href="javascript:window.close()">Close this window.</a></strong></div>

<?php // if you delete this the sky will fall on your head
endwhile;
?>

<!-- // this is just the end of the motor - don't touch that line either :) -->
<?php //} ?>
<p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>Wordpress</strong></a></cite></p>
<?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?>
<script type="text/javascript">
<!--
document.onkeypress = function esc(e) {
	if(typeof(e) == "undefined") { e=event; }
	if (e.keyCode == 27) { self.close(); }
}
// -->
</script>
</body>
</html></p>
<p>Chili &amp; Enzymes confirm to be a perfect match.</p>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/mixed-language-snippets/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WordPress Custom Fields Restyling</title>
		<link>http://noteslog.com/post/wordpress-custom-fields-restyling/</link>
		<comments>http://noteslog.com/post/wordpress-custom-fields-restyling/#comments</comments>
		<pubDate>Mon, 12 Feb 2007 23:20:44 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://noteslog.com/?p=131</guid>
		<description><![CDATA[I use Custom Fields a lot, always by means of Enzymes, for managing the code snippets I&#8217;m going to comment about. The Custom Fields section inside the post editing page shows added custom fields in a table whose columns change their width to fit the content, but the rows don&#8217;t change their height. I do [...]]]></description>
			<content:encoded><![CDATA[<p>I use <a href="http://codex.wordpress.org/Using_Custom_Fields" target="_blank">Custom Fields</a> a lot, always by means of <a href="/?page_id=77" target="_blank">Enzymes</a>, for <a href="/?p=81" target="_blank">managing the code snippets</a> I&#8217;m going to comment about.</p>
<p>The Custom Fields section inside the post editing page shows added custom fields in a table whose columns change their width to fit the content, but the rows don&#8217;t change their height. I do not like that design: a definition list is much better than a table there. The key is the definition term and the value is the definition data.</p>
<p>Here are some pictures about the results of my experiment. The first row is my restyling, and the second row is how the same data appear in the usual design. There are three custom fields already added to this post: <u>snippet1</u>, <u>snippet2</u>, and <u>snippet3</u>; in the right picture, a new <u>google</u> custom field is going to be added</p>
<p align="center"><a href="/blog/wp-content/uploads/2007/02/customfields1.png" target="_blank" title="customfields1.png"><img src="/blog/wp-content/uploads/2007/02/customfields1.thumbnail.png" alt="customfields1.png" /></a> , <a href="/blog/wp-content/uploads/2007/02/customfields2.png" target="_blank" title="customfields2.png"><img src="/blog/wp-content/uploads/2007/02/customfields2.thumbnail.png" alt="customfields2.png" /></a> , <a href="/blog/wp-content/uploads/2007/02/customfieldsnew.png" target="_blank" title="customfieldsnew.png"><img src="/blog/wp-content/uploads/2007/02/customfieldsnew.thumbnail.png" alt="customfieldsnew.png" /></a></p>
<p align="center"><a href="/blog/wp-content/uploads/2007/02/customfieldsold.png" target="_blank" title="customfieldsold.png"><img src="/blog/wp-content/uploads/2007/02/customfieldsold.thumbnail.png" alt="customfieldsold.png" /></a></p>
<h5>Features of my restyling</h5>
<ul>
<li>added fields and the new field are evenly represented by the classical definition list style, where definition data is indented below the definition term; this provides a powerful clue for identifying the key / value roles, thus making all the labels superfluous</li>
<li>space usage is smarter; the key spans all the available width; the value almost all of it, and its height is greater than usual too, thus allowing for a convenient inspection, for viewing and editing purposes; the vertical scrollbar is much more useful than the horizontal one</li>
<li>by clicking its key, a custom field gets expanded, thus showing its value and its two editing buttons, while the rest of the custom fields gets collapsed; showing only one custom field at a time helps keeping user&#8217;s attention focused</li>
<li>the selection box for chosing an already known-to-the-system key is replaced by a list of buttons, located above the key field; by clicking any of them, the key gets copied into the key field, so that the user can leave it alone or change it, if needed; the overall design is more coherent</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/wordpress-custom-fields-restyling/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
