diff --git a/includes/class-tika-doc-pdf-indexer.php b/includes/class-tika-doc-pdf-indexer.php index 0e08f17..b31124d 100644 --- a/includes/class-tika-doc-pdf-indexer.php +++ b/includes/class-tika-doc-pdf-indexer.php @@ -225,7 +225,7 @@ public function load_plugin_textdomain() { * @see Tika_Doc_PDF_Indexer() * @return Main Tika_Doc_PDF_Indexer instance */ - public static function instance( $file = '', $version = '1.0.0' ) { + public static function instance( $file = '', $version = '1.0.5' ) { if ( is_null( self::$instance ) ) { self::$instance = new self( $file, $version ); } @@ -312,7 +312,7 @@ public function enable_doc_cpt() { * @param string $file File constructor. * @param string $version Plugin version. */ - public function __construct( $file = '', $version = '1.0.4' ) { + public function __construct( $file = '', $version = '1.0.5' ) { $this->_version = $version; $this->_token = 'tika_doc_pdf_indexer'; diff --git a/readme.txt b/readme.txt index 8982fb8..f4c9492 100644 --- a/readme.txt +++ b/readme.txt @@ -2,8 +2,8 @@ Contributors: carl-alberto Tags: wordpress, plugin Requires at least: 4.8 -Tested up to: 5.2.3 -Stable tag: 1.0.4 +Tested up to: 5.8.1 +Stable tag: 1.0.5 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -32,6 +32,10 @@ After plugin installation: == Changelog == += 1.0.5 = +* 2021-10-9 +* Made sure that pdf attachments when uploaded are indexed by the WP Solr plugin + = 1.0.4 = * 2019-11-6 * Made sure that pdf attachments when uploaded are indexed by the WP Solr plugin diff --git a/tika-doc-pdf-indexer.php b/tika-doc-pdf-indexer.php index 4816a16..fe14f05 100644 --- a/tika-doc-pdf-indexer.php +++ b/tika-doc-pdf-indexer.php @@ -1,13 +1,13 @@ settings ) ) { $instance->settings = Tika_Doc_PDF_Indexer_Settings::instance( $instance );