「 月別アーカイブ:2014年12月 」 一覧
-
WordPressを読む 82 /blog/wp-content/plugins/crayon-syntax-highlighter/crayon_settings.class.php
/blog/wp-content/plugins/crayon-syntax-h …
-
WordPressを読む 81 /blog/wp-content/plugins/crayon-syntax-highlighter/util/crayon_log.class.php
/blog/wp-content/plugins/crayon-syntax-h …
-
WordPressを読む 80 /blog/wp-content/plugins/crayon-syntax-highlighter/util/crayon_timer.class.php
/blog/wp-content/plugins/crayon-syntax-h …
-
WordPressを読む 79 /blog/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php
/blog/wp-content/plugins/crayon-syntax-h …
-
WordPressを読む 78 /blog/wp-content/plugins/crayon-syntax-highlighter/global.php
/blog/wp-content/plugins/crayon-syntax-h …
-
WordPressを読む 77 /blog/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php
/blog/wp-content/plugins/crayon-syntax-h …
-
WordPressを読む 76 /blog/wp-content/plugins/akismet/wrapper.php
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293<?phpglobal $wpcom_api_key, $akismet_api_host, $akismet_api_port;$wpcom_api_key = defined( 'WPCOM_API_KEY' ) ? constant( 'WPCOM_API_KEY' ) : '';$akismet_api_host = Akismet::get_api_key() . '.rest.akismet.com';$akismet_api_port = 80;function akismet_test_mode() {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::is_test_mode()' );return Akismet::is_test_mode();}function akismet_http_post( $request, $host, $path, $port = 80, $ip = null ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::http_post()' );$path = str_replace( '/1.1/', '', $path );return Akismet::http_post( $request, $path, $ip );}function akismet_microtime() {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::_get_microtime()' );return Akismet::_get_microtime();}function akismet_delete_old() {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::delete_old_comments()' );return Akismet::delete_old_comments();}function akismet_delete_old_metadata() {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::delete_old_comments_meta()' );return Akismet::delete_old_comments_meta();}function akismet_check_db_comment( $id, $recheck_reason = 'recheck_queue' ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::check_db_comment()' );return Akismet::check_db_comment( $id, $recheck_reason );}function akismet_rightnow() {_deprecated_function( __FUNCTION__, '3.0', 'Akismet_Admin::rightnow_stats()' );if ( !class_exists( 'Akismet_Admin' ) )return false;return Akismet_Admin::rightnow_stats();}function akismet_admin_init() {_deprecated_function( __FUNCTION__, '3.0' );}function akismet_version_warning() {_deprecated_function( __FUNCTION__, '3.0' );}function akismet_load_js_and_css() {_deprecated_function( __FUNCTION__, '3.0' );}function akismet_nonce_field( $action = -1 ) {_deprecated_function( __FUNCTION__, '3.0', 'wp_nonce_field' );return wp_nonce_field( $action );}function akismet_plugin_action_links( $links, $file ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet_Admin::plugin_action_links()' );return Akismet_Admin::plugin_action_links( $links, $file );}function akismet_conf() {_deprecated_function( __FUNCTION__, '3.0' );}function akismet_stats_display() {_deprecated_function( __FUNCTION__, '3.0' );}function akismet_stats() {_deprecated_function( __FUNCTION__, '3.0', 'Akismet_Admin::dashboard_stats()' );return Akismet_Admin::dashboard_stats();}function akismet_admin_warnings() {_deprecated_function( __FUNCTION__, '3.0' );}function akismet_comment_row_action( $a, $comment ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet_Admin::comment_row_action()' );return Akismet_Admin::comment_row_actions( $a, $comment );}function akismet_comment_status_meta_box( $comment ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet_Admin::comment_status_meta_box()' );return Akismet_Admin::comment_status_meta_box( $comment );}function akismet_comments_columns( $columns ) {_deprecated_function( __FUNCTION__, '3.0' );return $columns;}function akismet_comment_column_row( $column, $comment_id ) {_deprecated_function( __FUNCTION__, '3.0' );}function akismet_text_add_link_callback( $m ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet_Admin::text_add_link_callback()' );return Akismet_Admin::text_add_link_callback( $m );}function akismet_text_add_link_class( $comment_text ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet_Admin::text_add_link_class()' );return Akismet_Admin::text_add_link_class( $comment_text );}function akismet_check_for_spam_button( $comment_status ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet_Admin::check_for_spam_button()' );return Akismet_Admin::check_for_spam_button( $comment_status );}function akismet_submit_nonspam_comment( $comment_id ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::submit_nonspam_comment()' );return Akismet::submit_nonspam_comment( $comment_id );}function akismet_submit_spam_comment( $comment_id ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::submit_spam_comment()' );return Akismet::submit_spam_comment( $comment_id );}function akismet_transition_comment_status( $new_status, $old_status, $comment ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::transition_comment_status()' );return Akismet::transition_comment_status( $new_status, $old_status, $comment );}function akismet_spam_count( $type = false ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet_Admin::get_spam_count()' );return Akismet_Admin::get_spam_count( $type );}function akismet_recheck_queue() {_deprecated_function( __FUNCTION__, '3.0', 'Akismet_Admin::recheck_queue()' );return Akismet_Admin::recheck_queue();}function akismet_remove_comment_author_url() {_deprecated_function( __FUNCTION__, '3.0', 'Akismet_Admin::remove_comment_author_url()' );return Akismet_Admin::remove_comment_author_url();}function akismet_add_comment_author_url() {_deprecated_function( __FUNCTION__, '3.0', 'Akismet_Admin::add_comment_author_url()' );return Akismet_Admin::add_comment_author_url();}function akismet_check_server_connectivity() {_deprecated_function( __FUNCTION__, '3.0', 'Akismet_Admin::check_server_connectivity()' );return Akismet_Admin::check_server_connectivity();}function akismet_get_server_connectivity( $cache_timeout = 86400 ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet_Admin::()' );return Akismet_Admin::get_server_connectivity( $cache_timeout );}function akismet_server_connectivity_ok() {_deprecated_function( __FUNCTION__, '3.0' );return true;}function akismet_admin_menu() {_deprecated_function( __FUNCTION__, '3.0', 'Akismet_Admin::admin_menu()' );return Akismet_Admin::admin_menu();}function akismet_load_menu() {_deprecated_function( __FUNCTION__, '3.0', 'Akismet_Admin::load_menu()' );return Akismet_Admin::load_menu();}function akismet_init() {_deprecated_function( __FUNCTION__, '3.0' );}function akismet_get_key() {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::get_api_key()' );return Akismet::get_api_key();}function akismet_check_key_status( $key, $ip = null ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::check_key_status()' );return Akismet::check_key_status( $key, $ip );}function akismet_update_alert( $response ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::update_alert()' );return Akismet::update_alert( $response );}function akismet_verify_key( $key, $ip = null ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::verify_key()' );return Akismet::verify_key( $key, $ip );}function akismet_get_user_roles( $user_id ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::get_user_roles()' );return Akismet::get_user_roles( $user_id );}function akismet_result_spam( $approved ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::comment_is_spam()' );return Akismet::comment_is_spam( $approved );}function akismet_result_hold( $approved ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::comment_needs_moderation()' );return Akismet::comment_needs_moderation( $approved );}function akismet_get_user_comments_approved( $user_id, $comment_author_email, $comment_author, $comment_author_url ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::get_user_comments_approved()' );return Akismet::get_user_comments_approved( $user_id, $comment_author_email, $comment_author, $comment_author_url );}function akismet_update_comment_history( $comment_id, $message, $event = null ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::update_comment_history()' );return Akismet::update_comment_history( $comment_id, $message, $event );}function akismet_get_comment_history( $comment_id ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::get_comment_history()' );return Akismet::get_comment_history( $comment_id );}function akismet_cmp_time( $a, $b ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::_cmp_time()' );return Akismet::_cmp_time( $a, $b );}function akismet_auto_check_update_meta( $id, $comment ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::auto_check_update_meta()' );return Akismet::auto_check_update_meta( $id, $comment );}function akismet_auto_check_comment( $commentdata ) {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::auto_check_comment()' );return Akismet::auto_check_comment( $commentdata );}function akismet_get_ip_address() {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::get_ip_address()' );return Akismet::get_ip_address();}function akismet_cron_recheck() {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::cron_recheck()' );return Akismet::cron_recheck();}function akismet_add_comment_nonce() {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::add_comment_nonce()' );return Akismet::add_comment_nonce( $post_id );}function akismet_fix_scheduled_recheck() {_deprecated_function( __FUNCTION__, '3.0', 'Akismet::fix_scheduled_recheck()' );return Akismet::fix_scheduled_recheck();}function akismet_spam_comments() {_deprecated_function( __FUNCTION__, '3.0' );return array();}function akismet_spam_totals() {_deprecated_function( __FUNCTION__, '3.0' );return array();}function akismet_manage_page() {_deprecated_function( __FUNCTION__, '3.0' );}function akismet_caught() {_deprecated_function( __FUNCTION__, '3.0' );}function redirect_old_akismet_urls() {_deprecated_function( __FUNCTION__, '3.0' );}function akismet_kill_proxy_check( $option ) {_deprecated_function( __FUNCTION__, '3.0' );return 0;}
-
WordPressを読む 75 /blog/wp-content/plugins/akismet/class.akismet-widget.php
/blog/wp-content/plugins/akismet/class.a …
-
WordPressを読む 74 /blog/wp-content/plugins/akismet/class.akismet.php
/blog/wp-content/plugins/akismet/class.a …
-
WordPressを読む 73 /blog/wp-content/plugins/akismet/akismet.php
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758<?php/*** @package Akismet*//*Plugin Name: AkismetPlugin URI: http://akismet.com/Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from comment and trackback spam</strong>. It keeps your site protected from spam even while you sleep. To get started: 1) Click the "Activate" link to the left of this description, 2) <a href="http://akismet.com/get/">Sign up for an Akismet API key</a>, and 3) Go to your Akismet configuration page, and save your API key.Version: 3.0.3Author: AutomatticAuthor URI: http://automattic.com/wordpress-plugins/License: GPLv2 or laterText Domain: akismet*//*This program is free software; you can redistribute it and/ormodify it under the terms of the GNU General Public Licenseas published by the Free Software Foundation; either version 2of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free SoftwareFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.*/// Make sure we don't expose any info if called directlyif ( !function_exists( 'add_action' ) ) {echo 'Hi there! I\'m just a plugin, not much I can do when called directly.';exit;}define( 'AKISMET_VERSION', '3.0.3' );define( 'AKISMET__MINIMUM_WP_VERSION', '3.1' );define( 'AKISMET__PLUGIN_URL', plugin_dir_url( __FILE__ ) );define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );define( 'AKISMET_DELETE_LIMIT', 100000 );register_activation_hook( __FILE__, array( 'Akismet', 'plugin_activation' ) );register_deactivation_hook( __FILE__, array( 'Akismet', 'plugin_deactivation' ) );require_once( AKISMET__PLUGIN_DIR . 'class.akismet.php' );require_once( AKISMET__PLUGIN_DIR . 'class.akismet-widget.php' );add_action( 'init', array( 'Akismet', 'init' ) );if ( is_admin() ) {require_once( AKISMET__PLUGIN_DIR . 'class.akismet-admin.php' );add_action( 'init', array( 'Akismet_Admin', 'init' ) );}//add wrapper class around deprecated akismet functions that are referenced elsewhererequire_once( AKISMET__PLUGIN_DIR . 'wrapper.php' );