Index: post-template.php
===================================================================
--- post-template.php (revision 8786)
+++ post-template.php (working copy)
@@ -1,21 +1,53 @@
guid);
}
+/**
+ * the_content() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 0.71
+ *
+ * @param unknown_type $more_link_text
+ * @param unknown_type $stripteaser
+ * @param unknown_type $more_file
+ */
function the_content($more_link_text = NULL, $stripteaser = 0, $more_file = '') {
$content = get_the_content($more_link_text, $stripteaser, $more_file);
$content = apply_filters('the_content', $content);
@@ -81,7 +163,18 @@
echo $content;
}
-
+/**
+ * get_the_content() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 0.71
+ *
+ * @param unknown_type $more_link_text
+ * @param unknown_type $stripteaser
+ * @param unknown_type $more_file
+ * @return unknown
+ */
function get_the_content($more_link_text = NULL, $stripteaser = 0, $more_file = '') {
global $id, $post, $more, $page, $pages, $multipage, $preview, $pagenow;
@@ -135,12 +228,28 @@
return $output;
}
-
+/**
+ * the_excerpt() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 0.71
+ * @uses apply_filters() -
+ */
function the_excerpt() {
echo apply_filters('the_excerpt', get_the_excerpt());
}
-
+/**
+ * get_the_excerpt() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 0.71
+ *
+ * @param unknown_type $deprecated
+ * @return unknown
+ */
function get_the_excerpt($deprecated = '') {
global $post;
$output = '';
@@ -155,6 +264,16 @@
return apply_filters('get_the_excerpt', $output);
}
+/**
+ * has_excerpt() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 2.3.0
+ *
+ * @param unknown_type $id
+ * @return unknown
+ */
function has_excerpt( $id = 0 ) {
$post = &get_post( $id );
return ( !empty( $post->post_excerpt ) );
@@ -245,6 +364,16 @@
echo " sticky";
}
+/**
+ * wp_link_pages() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 1.2.0
+ *
+ * @param unknown_type $args
+ * @return unknown
+ */
function wp_link_pages($args = '') {
$defaults = array(
'before' => '
' . __('Pages:'), 'after' => '
',
@@ -325,7 +454,16 @@
// Post-meta: Custom per-post fields.
//
-
+/**
+ * post_custom() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 1.5.0
+ *
+ * @param unknown_type $key
+ * @return unknown
+ */
function post_custom( $key = '' ) {
$custom = get_post_custom();
@@ -337,6 +475,14 @@
// this will probably change at some point...
+/**
+ * the_meta() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 1.2.0
+ * @uses apply_filters()
+ */
function the_meta() {
if ( $keys = get_post_custom_keys() ) {
echo "\n";
@@ -357,6 +503,16 @@
// Pages
//
+/**
+ * wp_dropdown_pages() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 2.1.0
+ *
+ * @param unknown_type $args
+ * @return unknown
+ */
function wp_dropdown_pages($args = '') {
$defaults = array(
'depth' => 0, 'child_of' => 0,
@@ -386,6 +542,16 @@
return $output;
}
+/**
+ * wp_list_pages() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 1.5.0
+ *
+ * @param unknown_type $args
+ * @return unknown
+ */
function wp_list_pages($args = '') {
$defaults = array(
'depth' => 0, 'show_date' => '',
@@ -436,12 +602,30 @@
// Page helpers
//
+/**
+ * walk_page_tree() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 2.1.0
+ *
+ * @return unknown
+ */
function walk_page_tree() {
$walker = new Walker_Page;
$args = func_get_args();
return call_user_func_array(array(&$walker, 'walk'), $args);
}
+/**
+ * walk_page_dropdown_tree() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 2.1.0
+ *
+ * @return unknown
+ */
function walk_page_dropdown_tree() {
$walker = new Walker_PageDropdown;
$args = func_get_args();
@@ -452,6 +636,17 @@
// Attachments
//
+/**
+ * the_attachment_link() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 2.0.0
+ *
+ * @param unknown_type $id
+ * @param unknown_type $fullsize
+ * @param unknown_type $max_dims
+ */
function the_attachment_link($id = 0, $fullsize = false, $deprecated = false, $permalink = false) {
if ( $fullsize )
echo wp_get_attachment_link($id, 'full', $permalink);
@@ -499,6 +694,17 @@
// deprecated: use wp_get_attachment_image_src()
+/**
+ * get_attachment_icon_src() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 2.1.0
+ *
+ * @param unknown_type $id
+ * @param unknown_type $fullsize
+ * @return unknown
+ */
function get_attachment_icon_src( $id = 0, $fullsize = false ) {
$id = (int) $id;
if ( !$post = & get_post($id) )
@@ -531,6 +737,18 @@
}
// deprecated: use wp_get_attachment_image()
+/**
+ * get_attachment_icon() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 2.0.0
+ *
+ * @param unknown_type $id
+ * @param unknown_type $fullsize
+ * @param unknown_type $max_dims
+ * @return unknown
+ */
function get_attachment_icon( $id = 0, $fullsize = false, $max_dims = false ) {
$id = (int) $id;
if ( !$post = & get_post($id) )
@@ -575,6 +793,18 @@
}
// deprecated: use wp_get_attachment_image()
+/**
+ * get_attachment_innerHTML() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 2.0.0
+ *
+ * @param unknown_type $id
+ * @param unknown_type $fullsize
+ * @param unknown_type $max_dims
+ * @return unknown
+ */
function get_attachment_innerHTML($id = 0, $fullsize = false, $max_dims = false) {
$id = (int) $id;
if ( !$post = & get_post($id) )
@@ -589,6 +819,16 @@
return apply_filters('attachment_innerHTML', $innerHTML, $post->ID);
}
+/**
+ * prepend_attachment() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 2.0.0
+ *
+ * @param unknown_type $content
+ * @return unknown
+ */
function prepend_attachment($content) {
global $post;
@@ -608,6 +848,15 @@
// Misc
//
+/**
+ * get_the_password_form() - {@internal Missing Short Description}}
+ *
+ * {@internal Missing Long Description}}
+ *
+ * @since 1.0.0
+ *
+ * @return unknown
+ */
function get_the_password_form() {
global $post;
$label = 'pwbox-'.(empty($post->ID) ? rand() : $post->ID);
@@ -626,9 +875,11 @@
* You can optional provide a template name and then the check will be specific to
* that template.
*
- * @package Template Tags
- * @global object $wp_query
+ * @since 2.5.0
+ * @uses $wp_query
+ *
* @param string $template The specific template name if specific matching is required
+ * @return bool False on failure, true if success
*/
function is_page_template($template = '') {
if (!is_page()) {