Permalink
Browse files

Remove functions deprecated in version 3.1.0.

  • Loading branch information...
1 parent 8d5bc78 commit 954469c95c1e42872b95289e27b3004aa2693ada @beastaugh beastaugh committed Apr 17, 2012
Showing with 1 addition and 109 deletions.
  1. +0 −109 app/api/deprecated.php
  2. +1 −0 changelog.txt
View
109 app/api/deprecated.php
@@ -78,113 +78,4 @@ function tarski_doctitle($sep = '·') {
echo $doctitle;
}
-/**
- * If debug mode is enabled, use uncompressed (development mode) JavaScript.
- *
- * @since 2.7
- * @deprecated 3.1.0
- *
- * @see TARSKI_DEBUG
- * @uses _tarski_compressible_asset_path
- *
- * @param string $path
- * @return string
- */
-function tarski_js($path) {
- _deprecated_function(__FUNCTION__, '3.1.0');
-
- return tarski_asset_path($path);
-}
-
-/**
- * If debug mode is enabled, use uncompressed (development mode) CSS.
- *
- * @since 2.7
- * @deprecated 3.1.0
- *
- * @see TARSKI_DEBUG
- * @uses _tarski_compressible_asset_path
- *
- * @param string $path
- * @return string
- */
-function tarski_css($path) {
- _deprecated_function(__FUNCTION__, '3.1.0');
-
- return tarski_asset_path($path);
-}
-
-/**
- * Adds JavaScript to the Tarski Options page.
- *
- * @since 1.4
- * @deprecated 3.1.0
- *
- * @uses get_bloginfo
- * @uses wp_enqueue_script
- *
- * @return void
-*/
-function tarski_inject_scripts() {
- _deprecated_function(__FUNCTION__, '3.1.0');
-}
-
-/**
- * Returns the number of authors who have published posts.
- *
- * @since 2.0.3
- * @deprecated 3.1.0
- *
- * @global object $wpdb
- * @return integer
- */
-function tarski_count_authors() {
- _deprecated_function(__FUNCTION__, '3.1.0');
-
- global $wpdb;
- return count($wpdb->get_col($wpdb->prepare(
- "SELECT post_author, COUNT(DISTINCT post_author)
- FROM $wpdb->posts
- WHERE post_status = 'publish'
- GROUP BY post_author"
- ), 1));
-}
-
-/**
- * Determines whether Tarski should show authors.
- *
- * @since 2.0.3
- * @deprecated 3.1.0
- *
- * @uses tarski_count_authors()
- *
- * @global object $wpdb
- * @return boolean
- */
-function tarski_should_show_authors() {
- _deprecated_function(__FUNCTION__, '3.1.0');
-
- $show_authors = tarski_count_authors() > 1;
- return (bool) apply_filters('tarski_show_authors', $show_authors);
-}
-
-/**
- * Re-saves Tarski's 'show_authors' option.
- *
- * If more than one author is detected, it will turn the 'show_authors'
- * option on; otherwise it will turn it off.
- *
- * @since 2.0.3
- * @deprecated 3.1.0
- *
- * @uses tarski_should_show_authors
- */
-function tarski_resave_show_authors() {
- _deprecated_function(__FUNCTION__, '3.1.0');
-
- if (get_option('tarski_options')) {
- update_tarski_option('show_authors', tarski_should_show_authors());
- }
-}
-
?>
View
1 changelog.txt
@@ -15,6 +15,7 @@
* Deprecated `tarski_version` in favour of core `wp_get_theme` function.
* Added white background to main content wrapper.
* Replaced use of deprecated `add_custom_background` function.
+ * Removed functions deprecated in version 3.1.0.
### Version 3.1.3

0 comments on commit 954469c

Please sign in to comment.