Changeset 2961838
- Timestamp:
- 09/01/2023 10:56:11 PM (3 years ago)
- Location:
- meta-optimizer
- Files:
-
- 21 added
- 5 edited
-
tags/1.2.2 (added)
-
tags/1.2.2/WPMetaOptimizer.php (added)
-
tags/1.2.2/assets (added)
-
tags/1.2.2/assets/style.min.css (added)
-
tags/1.2.2/assets/wpmo.js (added)
-
tags/1.2.2/inc (added)
-
tags/1.2.2/inc/Actions.php (added)
-
tags/1.2.2/inc/Base.php (added)
-
tags/1.2.2/inc/CommentQueries.php (added)
-
tags/1.2.2/inc/Helpers.php (added)
-
tags/1.2.2/inc/Install.php (added)
-
tags/1.2.2/inc/Integration.php (added)
-
tags/1.2.2/inc/MetaQuery.php (added)
-
tags/1.2.2/inc/Options.php (added)
-
tags/1.2.2/inc/PostQueries.php (added)
-
tags/1.2.2/inc/Queries.php (added)
-
tags/1.2.2/inc/TermQueries.php (added)
-
tags/1.2.2/inc/UserQueries.php (added)
-
tags/1.2.2/inc/index.php (added)
-
tags/1.2.2/index.php (added)
-
tags/1.2.2/readme.txt (added)
-
trunk/WPMetaOptimizer.php (modified) (1 diff)
-
trunk/inc/Helpers.php (modified) (2 diffs)
-
trunk/inc/Install.php (modified) (1 diff)
-
trunk/inc/Options.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
meta-optimizer/trunk/WPMetaOptimizer.php
r2961404 r2961838 3 3 /*! 4 4 * Plugin Name: Meta Optimizer 5 * Version: 1.2. 15 * Version: 1.2.2 6 6 * Plugin URI: https://parsakafi.github.io/wp-meta-optimizer 7 7 * Description: You can use Meta Optimizer to make your WordPress website load faster if you use meta information, for example Post/Comment/User/Term metas. -
meta-optimizer/trunk/inc/Helpers.php
r2961404 r2961838 141 141 return null; 142 142 143 } elseif ( is_array( $metaValue ) ) {143 } elseif ( is_array( $metaValue ) && ! isset( $metaValue['wpmoai0'] ) ) { 144 144 $metaValue = $this->reIndexMetaValue( [ $metaValue ] ); 145 145 } … … 164 164 165 165 return $result; 166 166 167 } else { 168 if ( is_array( $metaValue ) && ! isset( $metaValue['wpmoai0'] ) ) 169 $metaValue = $this->reIndexMetaValue( [ $metaValue ] ); 170 167 171 $metaValue = maybe_serialize( $metaValue ); 168 172 -
meta-optimizer/trunk/inc/Install.php
r2961404 r2961838 72 72 $oldVersion = get_option( 'wp_meta_optimizer_version', '1.0' ); 73 73 74 if ( version_compare( $oldVersion, '1.2. 1', '<' ) ) {74 if ( version_compare( $oldVersion, '1.2.2', '<' ) ) { 75 75 $newPluginOptions['import'] = [ 76 76 'post' => 1, -
meta-optimizer/trunk/inc/Options.php
r2961342 r2961838 377 377 <td> 378 378 <input type="number" name="import_items_number" id="import_items_number" 379 class="small-text" step="1" min="1" max=" 10"380 value="<?php echo esc_attr( $this->getOption( 'import_items_number', 1) ) ?>"379 class="small-text" step="1" min="1" max="30" 380 value="<?php echo esc_attr( $this->getOption( 'import_items_number', 5 ) ) ?>" 381 381 placeholder="1"> 382 382 <p class="description"><?php _e( 'The import scheduler runs every minute, and you can set the number of items to import.', 'meta-optimizer' ) ?></p> -
meta-optimizer/trunk/readme.txt
r2961404 r2961838 5 5 Requires at least: 5.0 6 6 Tested up to: 6.3.1 7 Stable tag: 1.2. 17 Stable tag: 1.2.2 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 98 98 == Changelog == 99 99 100 = 1.2.2 = 101 * Fix save array when insert new meta row 102 100 103 = 1.2.1 = 101 104 * NumericVal meta value & change field type when create db table field
Note: See TracChangeset
for help on using the changeset viewer.