Changeset 3078475
- Timestamp:
- 04/29/2024 07:42:47 AM (22 months ago)
- Location:
- mxp-dev-tools
- Files:
-
- 7 edited
- 18 copied
-
tags/3.1.5 (copied) (copied from mxp-dev-tools/trunk)
-
tags/3.1.5/includes/assets/js/dashboard/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/dashboard/app.js)
-
tags/3.1.5/includes/assets/js/db-optimize/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/db-optimize/app.js) (1 diff)
-
tags/3.1.5/includes/assets/js/plugins-list/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/plugins-list/app.js)
-
tags/3.1.5/includes/assets/js/search-plugins/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/search-plugins/app.js)
-
tags/3.1.5/includes/assets/js/site-manager (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/site-manager)
-
tags/3.1.5/includes/assets/js/site-manager/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/site-manager/app.js)
-
tags/3.1.5/includes/class_plugins_list_table.php (copied) (copied from mxp-dev-tools/trunk/includes/class_plugins_list_table.php)
-
tags/3.1.5/includes/db-optimize.php (copied) (copied from mxp-dev-tools/trunk/includes/db-optimize.php) (1 diff)
-
tags/3.1.5/includes/hooks-usage.php (copied) (copied from mxp-dev-tools/trunk/includes/hooks-usage.php)
-
tags/3.1.5/includes/plugins-list.php (copied) (copied from mxp-dev-tools/trunk/includes/plugins-list.php)
-
tags/3.1.5/includes/utility.php (copied) (copied from mxp-dev-tools/trunk/includes/utility.php)
-
tags/3.1.5/index.php (copied) (copied from mxp-dev-tools/trunk/index.php) (4 diffs)
-
tags/3.1.5/mxp-login-path.php (copied) (copied from mxp-dev-tools/trunk/mxp-login-path.php) (1 diff)
-
tags/3.1.5/mxp-site-manager.php (copied) (copied from mxp-dev-tools/trunk/mxp-site-manager.php) (2 diffs)
-
tags/3.1.5/mxp-snippets.php (copied) (copied from mxp-dev-tools/trunk/mxp-snippets.php) (1 diff)
-
tags/3.1.5/readme.txt (copied) (copied from mxp-dev-tools/trunk/readme.txt) (3 diffs)
-
tags/3.1.5/uninstall.php (copied) (copied from mxp-dev-tools/trunk/uninstall.php)
-
trunk/includes/assets/js/db-optimize/app.js (modified) (1 diff)
-
trunk/includes/db-optimize.php (modified) (1 diff)
-
trunk/index.php (modified) (4 diffs)
-
trunk/mxp-login-path.php (modified) (1 diff)
-
trunk/mxp-site-manager.php (modified) (2 diffs)
-
trunk/mxp-snippets.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mxp-dev-tools/tags/3.1.5/includes/assets/js/db-optimize/app.js
r3077135 r3078475 231 231 } 232 232 }); 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 233 411 $('#go_reset_wp').click(function() { 234 412 var yes = confirm('你確定知道自己正在將網站內容全部清除��新建置嗎?'); -
mxp-dev-tools/tags/3.1.5/includes/db-optimize.php
r3077135 r3078475 1371 1371 } 1372 1372 } 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1373 1450 public function mxp_ajax_clean_orphan() { 1374 1451 if (!isset($_REQUEST['type']) || $_REQUEST['type'] == '') { -
mxp-dev-tools/tags/3.1.5/index.php
r3077135 r3078475 4 4 * Plugin URI: https://goo.gl/2gLq18 5 5 * Description: 一介資男の常用外掛整理與常用開發功能整合外掛。 6 * Version: 3.1. 46 * Version: 3.1. 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ … … 35 35 use SearchReplace; 36 36 use Utility; 37 static $VERSION = '3.1. 4';37 static $VERSION = '3.1.'; 38 38 private $themeforest_api_base_url = 'https://api.envato.com/v3'; 39 39 protected static $instance = null; … … 67 67 add_action('wp_ajax_mxp_background_pack_batch_mode', array($this, 'mxp_ajax_background_pack_action_batch_mode')); 68 68 add_action('wp_ajax_mxp_ajax_db_optimize', array($this, 'mxp_ajax_db_optimize')); 69 70 69 71 add_action('wp_ajax_mxp_ajax_clean_orphan', array($this, 'mxp_ajax_clean_orphan')); 70 72 add_action('wp_ajax_mxp_ajax_clean_mxpdev', array($this, 'mxp_ajax_clean_mxpdev')); … … 261 263 echo '<button id="go_clean_options" data-step="1" type="button" class="button button-primary">取得清除清單</button></br>'; 262 264 echo '<div id="go_clean_options_result"></div></br>'; 265 266 267 268 269 270 263 271 echo '<h3>清除孤立的 Post/Comment Meta 資料</h3>'; 264 272 echo '<p>不論是手動刪除或是外掛刪除內容,可能沒連帶刪除的 Meta 關聯資料,堆積在資料庫裡變成垃圾。</p>'; -
mxp-dev-tools/tags/3.1.5/mxp-login-path.php
r3077135 r3078475 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 隱藏後台登入位置工具。啟用即更改預設登入網址為 /admin-staff/ 6 * Version: 3.1. 46 * Version: 3.1. 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/tags/3.1.5/mxp-site-manager.php
r3077135 r3078475 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 管理多個 WordPress 站點的工具。 6 * Version: 3.1. 46 * Version: 3.1. 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ … … 35 35 class MDTSiteManager { 36 36 public $plugin_slug = 'mdt-site-manager'; 37 public static $VERSION = '3.1. 4';37 public static $VERSION = '3.1.'; 38 38 39 39 public function __construct() { -
mxp-dev-tools/tags/3.1.5/mxp-snippets.php
r3077135 r3078475 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 整合 GitHub 中常用的程式碼片段。請注意,並非所有網站都適用全部的選��,有進階需求可以透過設定 wp-config.php 中此外掛預設常數,啟用或停用部分功能。 6 * Version: 3.1. 46 * Version: 3.1. 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/tags/3.1.5/readme.txt
r3077135 r3078475 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.5 8 Stable tag: 3.1. 48 Stable tag: 3.1. 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 47 47 1. 上傳外掛至外掛目錄 `wp-content/plugins/` 下。 Upload the plugin files to the `/wp-content/plugins/` directory 48 48 2. 於後台外掛功能處啟動外掛。 Activate the plugin through the 'Plugins' screen in WordPress 49 3. 啟用後在後台選單可找到「 FB工具箱設定」進行參數調整。 Use the 「FB工具箱設定」 screen to configure the plugin49 3. 啟用後在後台選單可找到「工具箱設定」 screen to configure the plugin 50 50 4. 完成。 Done 51 51 … … 78 78 79 79 == Changelog == 80 81 82 83 80 84 81 85 = 3.1.4 = -
mxp-dev-tools/trunk/includes/assets/js/db-optimize/app.js
r3077135 r3078475 231 231 } 232 232 }); 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 233 411 $('#go_reset_wp').click(function() { 234 412 var yes = confirm('你確定知道自己正在將網站內容全部清除重新建置嗎?'); -
mxp-dev-tools/trunk/includes/db-optimize.php
r3077135 r3078475 1371 1371 } 1372 1372 } 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1373 1450 public function mxp_ajax_clean_orphan() { 1374 1451 if (!isset($_REQUEST['type']) || $_REQUEST['type'] == '') { -
mxp-dev-tools/trunk/index.php
r3077135 r3078475 4 4 * Plugin URI: https://goo.gl/2gLq18 5 5 * Description: 一介資男の常用外掛整理與常用開發功能整合外掛。 6 * Version: 3.1. 46 * Version: 3.1. 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ … … 35 35 use SearchReplace; 36 36 use Utility; 37 static $VERSION = '3.1. 4';37 static $VERSION = '3.1.'; 38 38 private $themeforest_api_base_url = 'https://api.envato.com/v3'; 39 39 protected static $instance = null; … … 67 67 add_action('wp_ajax_mxp_background_pack_batch_mode', array($this, 'mxp_ajax_background_pack_action_batch_mode')); 68 68 add_action('wp_ajax_mxp_ajax_db_optimize', array($this, 'mxp_ajax_db_optimize')); 69 70 69 71 add_action('wp_ajax_mxp_ajax_clean_orphan', array($this, 'mxp_ajax_clean_orphan')); 70 72 add_action('wp_ajax_mxp_ajax_clean_mxpdev', array($this, 'mxp_ajax_clean_mxpdev')); … … 261 263 echo '<button id="go_clean_options" data-step="1" type="button" class="button button-primary">取得清除清單</button></br>'; 262 264 echo '<div id="go_clean_options_result"></div></br>'; 265 266 267 268 269 270 263 271 echo '<h3>清除孤立的 Post/Comment Meta 資料</h3>'; 264 272 echo '<p>不論是手動刪除或是外掛刪除內容,可能沒連帶刪除的 Meta 關聯資料,堆積在資料庫裡變成垃圾。</p>'; -
mxp-dev-tools/trunk/mxp-login-path.php
r3077135 r3078475 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 隱藏後台登入位置工具。啟用即更改預設登入網址為 /admin-staff/ 6 * Version: 3.1. 46 * Version: 3.1. 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/trunk/mxp-site-manager.php
r3077135 r3078475 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 管理多個 WordPress 站點的工具。 6 * Version: 3.1. 46 * Version: 3.1. 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ … … 35 35 class MDTSiteManager { 36 36 public $plugin_slug = 'mdt-site-manager'; 37 public static $VERSION = '3.1. 4';37 public static $VERSION = '3.1.'; 38 38 39 39 public function __construct() { -
mxp-dev-tools/trunk/mxp-snippets.php
r3077135 r3078475 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 整合 GitHub 中常用的程式碼片段。請注意,並非所有網站都���用全部的選項,有進階需求可以透過設定 wp-config.php 中此外掛預設常數,啟用或停用部分功能。 6 * Version: 3.1. 46 * Version: 3.1. 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/trunk/readme.txt
r3077135 r3078475 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.5 8 Stable tag: 3.1. 48 Stable tag: 3.1. 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 47 47 1. 上傳外掛至外掛目錄 `wp-content/plugins/` 下。 Upload the plugin files to the `/wp-content/plugins/` directory 48 48 2. 於後台外掛功能處啟動外掛。 Activate the plugin through the 'Plugins' screen in WordPress 49 3. 啟用後在後台選單可找到「 FB工具箱設定」進行參數調整。 Use the 「FB工具箱設定」 screen to configure the plugin49 3. 啟用後在後台選單可找到「工具箱設定」 screen to configure the plugin 50 50 4. 完成。 Done 51 51 … … 78 78 79 79 == Changelog == 80 81 82 83 80 84 81 85 = 3.1.4 =
Note: See TracChangeset
for help on using the changeset viewer.