Skip to content
Browse files

little bid phpdoc

  • Loading branch information...
1 parent 83b2091 commit a294a88bcb3af3131aebd12ee129c732841d48ff @bueltge committed Nov 24, 2013
Showing with 15 additions and 11 deletions.
  1. +15 −11 remove-comments-absolute.php
View
26 remove-comments-absolute.php
@@ -173,7 +173,7 @@ public function __return_closed() {
}
/**
- * Change options for dont use comments
+ * Change options for don't use comments
* Remove meta boxes on edit pages
* Remove support on all post types for comments
* Remove menu-entries
@@ -420,13 +420,13 @@ public function filter_query() {
// redirect_canonical will do the rest
set_query_var( 'feed', '' );
}
-
+
/**
* Unset additional HTTP headers for pingback
- *
+ *
* @since 04/07/2013
- * @param $headers Array
- * @return $headers Array
+ * @param Array $headers
+ * @return Array $headers
*/
public function filter_wp_headers( $headers ) {
@@ -465,13 +465,16 @@ public function remove_profile_items() {
</script>
<?php
}
-
+
/**
* On posts where comments are closed, the plugin will remove the text 'Comments are closed.'
- *
+ *
* @access public
* @since 0.0.7
* @uses get_translations_for_domain
+ * @param $translation
+ * @param $text
+ * @param $domain
* @return string empty
*/
public function remove_theme_string( $translation, $text, $domain ) {
@@ -485,13 +488,14 @@ public function remove_theme_string( $translation, $text, $domain ) {
return $translation;
}
-
+
/**
* Replace comment related XML_RPC methods.
- *
+ *
* @access public
* @since 09/21/2013
- * @return array
+ * @param array $methods
+ * @return array $methods
*/
public function xmlrpc_replace_methods( $methods ) {
@@ -528,5 +532,5 @@ public function xmlrpc_placeholder_method() {
}
} // end class
-
+
} // end if class exists

0 comments on commit a294a88

Please sign in to comment.
Something went wrong with that request. Please try again.