Skip to content

Commit 495cfc9

Browse files
committed
Deploying version 2.7.2
1 parent abd5943 commit 495cfc9

File tree

7 files changed

+36
-16
lines changed

7 files changed

+36
-16
lines changed

class/Common/Sql/Table.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -666,13 +666,14 @@ public function get_structure_info( $table, $table_structure = array(), $state_d
666666

667667
// $defs = mysql defaults, looks up the default for that particular column, used later on to prevent empty inserts values for that column
668668
// $ints = holds a list of the possible integer types so as to not wrap them in quotation marks later in the insert statements
669-
$defs = array();
670-
$ints = array();
671-
$bins = array();
672-
$bits = array();
673-
$points = array();
674-
$field_set = array();
675-
$use_primary_keys = true;
669+
$defs = array();
670+
$ints = array();
671+
$bins = array();
672+
$bits = array();
673+
$points = array();
674+
$field_set = array();
675+
$this->primary_keys = array();
676+
$use_primary_keys = true;
676677

677678
foreach ( $table_structure as $struct ) {
678679
if (

languages/wp-migrate-db-en.pot

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: wp-migrate-db-pro\n"
1010
"Report-Msgid-Bugs-To: nom@deliciousbrains.com\n"
11-
"POT-Creation-Date: 2025-02-11 09:42+0000\n"
11+
"POT-Creation-Date: 2025-02-12 10:21+0000\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -1091,6 +1091,7 @@ msgstr ""
10911091

10921092
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:744
10931093
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:745
1094+
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:746
10941095
#, php-format
10951096
msgid ""
10961097
"Failed to retrieve table structure for table '%s', please ensure your "
@@ -1099,47 +1100,55 @@ msgstr ""
10991100

11001101
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:817
11011102
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:840
1103+
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:841
11021104
#, php-format
11031105
msgid "Error creating temporary table. Table \"%s\" does not exist."
11041106
msgstr ""
11051107

11061108
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:868
11071109
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:891
1110+
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:892
11081111
#, php-format
11091112
msgid "Delete any existing table %s"
11101113
msgstr ""
11111114

11121115
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:879
11131116
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:902
1117+
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:903
11141118
#, php-format
11151119
msgid "Table structure of table %s"
11161120
msgstr ""
11171121

11181122
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:887
11191123
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:910
1124+
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:911
11201125
msgid ""
11211126
"Failed to generate the create table query, please ensure your database is "
11221127
"online. (#126)"
11231128
msgstr ""
11241129

11251130
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:945
11261131
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:968
1132+
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:969
11271133
#, php-format
11281134
msgid "Data contents of table %s"
11291135
msgstr ""
11301136

11311137
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1072
11321138
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1095
1139+
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1096
11331140
msgid "Failed to write the gzipped SQL data to the file. (#127)"
11341141
msgstr ""
11351142

11361143
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1079
11371144
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1102
1145+
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1103
11381146
msgid "Failed to write the SQL data to the file. (#128)"
11391147
msgstr ""
11401148

11411149
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1151
11421150
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1174
1151+
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1175
11431152
#, php-format
11441153
msgid ""
11451154
"The imported table `%1s` contains characters which are invalid in the target "
@@ -1151,6 +1160,7 @@ msgstr ""
11511160

11521161
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1154
11531162
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1177
1163+
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1178
11541164
#, php-format
11551165
msgid ""
11561166
"The table `%1s` contains characters which are invalid in the target "
@@ -1161,39 +1171,45 @@ msgstr ""
11611171
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1711
11621172
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1724
11631173
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1747
1174+
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1748
11641175
msgid "Error moving SQL file into ZIP archive"
11651176
msgstr ""
11661177

11671178
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1806
11681179
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1819
11691180
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1842
1181+
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1843
11701182
#, php-format
11711183
msgid "End of data contents of table %s"
11721184
msgstr ""
11731185

11741186
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1931
11751187
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1944
11761188
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1967
1189+
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1968
11771190
msgid "WordPress MySQL database migration"
11781191
msgstr ""
11791192

11801193
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1933
11811194
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1946
11821195
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1969
1196+
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1970
11831197
#, php-format
11841198
msgid "Generated: %s"
11851199
msgstr ""
11861200

11871201
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1934
11881202
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1947
11891203
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1970
1204+
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1971
11901205
#, php-format
11911206
msgid "Hostname: %s"
11921207
msgstr ""
11931208

11941209
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1935
11951210
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1948
11961211
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1971
1212+
#: src/wp-migrate-db-pro/class/Common/Sql/Table.php:1972
11971213
#, php-format
11981214
msgid "Database: %s"
11991215
msgstr ""

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: migrate, push pull, clone, import site, export site, transfer, restore, ba
44
Requires at least: 5.2
55
Tested up to: 6.7
66
Requires PHP: 5.6
7-
Stable tag: 2.7.1
7+
Stable tag: 2.7.2
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -117,6 +117,9 @@ Yes, WP Migrate Lite includes `export` and `find-replace` commands. Qualifying l
117117

118118
== Changelog ==
119119

120+
= WP Migrate 2.7.2 - 2025-02-12 =
121+
* Fixed: Export command initiated via WP-CLI once again operates without errors related to unknown column keys, fixing a regression introduced in version 2.7.1
122+
120123
= WP Migrate 2.7.1 - 2025-02-11 =
121124
* New: Dependencies have been updated for improved security and stability
122125
* Fixed: Compatibility with WP Go Maps has been improved through support for the MySQL `POINT` data type

vendor/composer/installed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
namespace DeliciousBrains\WPMDB\Container;
44

5-
return array('root' => array('name' => 'deliciousbrains/composer-tmp', 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'd11ad64419763ac38730fa5dea578f69ab413399', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('brumann/polyfill-unserialize' => array('pretty_version' => 'v2.0.0', 'version' => '2.0.0.0', 'reference' => '46e5c18ee87d8a9b5765ef95468c1ac27bd107bf', 'type' => 'library', 'install_path' => __DIR__ . '/../brumann/polyfill-unserialize', 'aliases' => array(), 'dev_requirement' => \false), 'container-interop/container-interop' => array('pretty_version' => '1.2.0', 'version' => '1.2.0.0', 'reference' => '79cbf1341c22ec75643d841642dd5d6acd83bdb8', 'type' => 'library', 'install_path' => __DIR__ . '/../container-interop/container-interop', 'aliases' => array(), 'dev_requirement' => \false), 'container-interop/container-interop-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'deliciousbrains/composer-tmp' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'd11ad64419763ac38730fa5dea578f69ab413399', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'mnapoli/php-di' => array('dev_requirement' => \false, 'replaced' => array(0 => '*')), 'php-di/invoker' => array('pretty_version' => '1.3.3', 'version' => '1.3.3.0', 'reference' => '1f4ca63b9abc66109e53b255e465d0ddb5c2e3f7', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '5.4.0', 'version' => '5.4.0.0', 'reference' => 'e348393488fa909e4bc0707ba5c9c44cd602a1cb', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/phpdoc-reader' => array('pretty_version' => '2.1.1', 'version' => '2.1.1.0', 'reference' => '15678f7451c020226807f520efb867ad26fbbfcf', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/phpdoc-reader', 'aliases' => array(), 'dev_requirement' => \false), 'phpoption/phpoption' => array('pretty_version' => '1.7.5', 'version' => '1.7.5.0', 'reference' => '994ecccd8f3283ecf5ac33254543eb0ac946d525', 'type' => 'library', 'install_path' => __DIR__ . '/../phpoption/phpoption', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.0.0', 'version' => '1.0.0.0', 'reference' => 'b7ce3b176482dbbc1245ebf52b181af44c2cf55f', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-ctype' => array('pretty_version' => 'v1.19.0', 'version' => '1.19.0.0', 'reference' => 'aed596913b70fae57be53d86faa2e9ef85a2297b', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', 'aliases' => array(), 'dev_requirement' => \false), 'vlucas/phpdotenv' => array('pretty_version' => 'v4.3.0', 'version' => '4.3.0.0', 'reference' => '67a491df68208bef8c37092db11fa3885008efcf', 'type' => 'library', 'install_path' => __DIR__ . '/../vlucas/phpdotenv', 'aliases' => array(), 'dev_requirement' => \false)));
5+
return array('root' => array('name' => 'deliciousbrains/composer-tmp', 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'f5c5cef3a941d2e4edb6c8857eeda2898cee34dc', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('brumann/polyfill-unserialize' => array('pretty_version' => 'v2.0.0', 'version' => '2.0.0.0', 'reference' => '46e5c18ee87d8a9b5765ef95468c1ac27bd107bf', 'type' => 'library', 'install_path' => __DIR__ . '/../brumann/polyfill-unserialize', 'aliases' => array(), 'dev_requirement' => \false), 'container-interop/container-interop' => array('pretty_version' => '1.2.0', 'version' => '1.2.0.0', 'reference' => '79cbf1341c22ec75643d841642dd5d6acd83bdb8', 'type' => 'library', 'install_path' => __DIR__ . '/../container-interop/container-interop', 'aliases' => array(), 'dev_requirement' => \false), 'container-interop/container-interop-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'deliciousbrains/composer-tmp' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'f5c5cef3a941d2e4edb6c8857eeda2898cee34dc', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'mnapoli/php-di' => array('dev_requirement' => \false, 'replaced' => array(0 => '*')), 'php-di/invoker' => array('pretty_version' => '1.3.3', 'version' => '1.3.3.0', 'reference' => '1f4ca63b9abc66109e53b255e465d0ddb5c2e3f7', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '5.4.0', 'version' => '5.4.0.0', 'reference' => 'e348393488fa909e4bc0707ba5c9c44cd602a1cb', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/phpdoc-reader' => array('pretty_version' => '2.1.1', 'version' => '2.1.1.0', 'reference' => '15678f7451c020226807f520efb867ad26fbbfcf', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/phpdoc-reader', 'aliases' => array(), 'dev_requirement' => \false), 'phpoption/phpoption' => array('pretty_version' => '1.7.5', 'version' => '1.7.5.0', 'reference' => '994ecccd8f3283ecf5ac33254543eb0ac946d525', 'type' => 'library', 'install_path' => __DIR__ . '/../phpoption/phpoption', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.0.0', 'version' => '1.0.0.0', 'reference' => 'b7ce3b176482dbbc1245ebf52b181af44c2cf55f', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-ctype' => array('pretty_version' => 'v1.19.0', 'version' => '1.19.0.0', 'reference' => 'aed596913b70fae57be53d86faa2e9ef85a2297b', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', 'aliases' => array(), 'dev_requirement' => \false), 'vlucas/phpdotenv' => array('pretty_version' => 'v4.3.0', 'version' => '4.3.0.0', 'reference' => '67a491df68208bef8c37092db11fa3885008efcf', 'type' => 'library', 'install_path' => __DIR__ . '/../vlucas/phpdotenv', 'aliases' => array(), 'dev_requirement' => \false)));

vendor/vlucas/phpdotenv/src/Repository/AbstractRepository.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,31 +129,31 @@ public function has($name)
129129
/**
130130
* {@inheritdoc}
131131
*/
132-
#[\ReturnTypeWillChange]
132+
#[ReturnTypeWillChange]
133133
public function offsetExists($offset)
134134
{
135135
return $this->has($offset);
136136
}
137137
/**
138138
* {@inheritdoc}
139139
*/
140-
#[\ReturnTypeWillChange]
140+
#[ReturnTypeWillChange]
141141
public function offsetGet($offset)
142142
{
143143
return $this->get($offset);
144144
}
145145
/**
146146
* {@inheritdoc}
147147
*/
148-
#[\ReturnTypeWillChange]
148+
#[ReturnTypeWillChange]
149149
public function offsetSet($offset, $value)
150150
{
151151
$this->set($offset, $value);
152152
}
153153
/**
154154
* {@inheritdoc}
155155
*/
156-
#[\ReturnTypeWillChange]
156+
#[ReturnTypeWillChange]
157157
public function offsetUnset($offset)
158158
{
159159
$this->clear($offset);

version-lite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?php
2-
$GLOBALS['wpmdb_meta']['wp-migrate-db']['version'] = '2.7.1';
2+
$GLOBALS['wpmdb_meta']['wp-migrate-db']['version'] = '2.7.2';

wp-migrate-db.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Plugin URI: https://deliciousbrains.com/
55
Description: Migrate your database. Export full sites including media, themes, and plugins. Find and replace content with support for serialized data.
66
Author: WP Engine
7-
Version: 2.7.1
7+
Version: 2.7.2
88
Author URI: https://deliciousbrains.com/wp-migrate-db-pro/?utm_source=plugin-header&utm_medium=plugin&utm_campaign=plugin-author&utm_content=wp-migrate-author
99
Update URI: false
1010
Network: True

0 commit comments

Comments
 (0)