I hereby claim:
- I am ironprogrammer on github.
- I am ironprogrammer (https://keybase.io/ironprogrammer) on keybase.
- I have a public key ASBkabFHTiblx8yQIc2ualSeQ_5nqPARBEsD_xs0COLDeQo
To claim this, I am signing this object:
| <?php | |
| /** | |
| * Plugin Name: Set featured image | |
| * Plugin URI: http://wpengineer.com/2460/set-wordpress-featured-image-automatically/ | |
| * Description: Set featureed image automaticly on save post/page | |
| * Version: 1.0.1 | |
| * Author: Frank Bültge | |
| * Author URI: http://bueltge.de | |
| * License: GPLv3 | |
| */ |
| <!-- 1. Take your Campaign Monitor subscribe form as generated from within your account: --> | |
| <form action="http://myaccount.createsend.com/t/r/s/aljhk/" method="post" id="subForm"> | |
| <div> | |
| <label for="name">Name:</label><br /><input type="text" name="cm-name" id="name" /><br /> | |
| <label for="aljhk-aljhk">Email:</label><br /><input type="text" name="cm-aljhk-aljhk" id="aljhk-aljhk" /><br /> | |
| <input type="submit" value="Subscribe" /> | |
| </div> | |
| </form> |
| function oenology_add_menu_parent_class( $items ) { | |
| $parents = array(); | |
| foreach ( $items as $item ) { | |
| if ( $item->menu_item_parent && $item->menu_item_parent > 0 ) { | |
| $parents[] = $item->menu_item_parent; | |
| } | |
| } | |
| foreach ( $items as $item ) { |
| /* allow scroll */ | |
| body>div.ember-view>div.ember-view { | |
| overflow: visible !important; | |
| } | |
| /* hide links */ | |
| .ember-view a[href]:after { | |
| content: '' !important; | |
| } | |
| .t__em-link { |
I hereby claim:
To claim this, I am signing this object:
Hint: Preceding the following
wpcalls with thetimecommand will provide execution timing to help with before and after patch comparisons. E.g.time wp plugin update --all.
# install the Rollback Update Failure plugin (plugin to test)
wp plugin install rollback-update-failure --activate
# [OPTIONAL] install the Rollback Update Testing plugin (to simulate failures)See comments below for images.
| { | |
| "landingPage": "/wp-admin/site-editor.php", | |
| "preferredVersions": { | |
| "php": "8.0", | |
| "wp": "beta" | |
| }, | |
| "features": { | |
| "networking": true | |
| }, | |
| "steps": [ |
| #!/bin/bash | |
| PORT="${PORT:-1738}" | |
| DONE_COLOR="${DONE_COLOR:-"black"}" | |
| PROGRESS_COLOR="${PROGRESS_COLOR:-"white"}" | |
| INITIAL_COLOR="${INITIAL_COLOR:-"white"}" | |
| BUILD_ERROR_COLOR="${BUILD_ERROR_COLOR:-"red"}" | |
| TEST_ERROR_COLOR="${TEST_ERROR_COLOR:-"purple"}" | |
| HAS_ERROR=0 |
| <?php | |
| /** | |
| * Plugin Name: Simulate Plugin Update Failure | |
| * Description: This MU plugin simulates an update failure for a specific plugin based on its slug. | |
| * | |
| * Install this script into your `/wp-content/mu-plugins/` directory. Remove file when testing is complete. | |
| */ | |
| // Define the plugin slug to target for the simulated failure. | |
| $target_plugin_slug = 'akismet/akismet.php'; // Change this to the slug of the plugin you want to target. |