This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SVN override to prevent commits that try to implicitly commit more than one file. | |
# Has weaned me off of svn ci -m very effectively. I now almost always use svn ci, | |
# which usually results in me writing longer and more helpful commit messages. | |
# Also, it prevents me from committing unrelated code, so there's that. | |
function svn() { | |
if [ "$1" == "ci" ] && [ "$2" == "-m" ] && [ -z "$4" ] && [ "$(svn stat --ignore-externals | grep '^[^?X]' | wc -l | awk '{print $1}')" -gt 1 ]; then | |
svn stat --ignore-externals | grep '^[^?X]' | |
echo "" | |
echo $3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var metas = document.getElementsByTagName('meta'); | |
img = document.getElementsByTagName('img'), | |
send = [], | |
raw = new Image(); | |
for (m in metas){ | |
if ( metas[m].property == 'og:image') | |
send.push(metas[m].content); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
o wp-admin/js/about.js | |
o wp-admin/js/accordion.js | |
o wp-admin/js/color-picker.js | |
o wp-admin/js/comment.js | |
o wp-admin/js/common.js | |
o wp-admin/js/custom-background.js | |
o wp-admin/js/custom-header.js | |
o wp-admin/js/customize-controls.js | |
o wp-admin/js/dashboard.js | |
o wp-admin/js/edit-comments.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// embed the javascript file that makes the AJAX request | |
wp_enqueue_script( 'my-ajax-request', plugin_dir_url( __FILE__ ) . 'js/ajax.js', array( 'jquery' ) ); | |
// declare the URL to the file that handles the AJAX request (wp-admin/admin-ajax.php) | |
wp_localize_script( 'my-ajax-request', 'ajax_object', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ) ) ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/wp-admin/css/common.css | |
=================================================================== | |
--- src/wp-admin/css/common.css (revision 31694) | |
+++ src/wp-admin/css/common.css (working copy) | |
@@ -1942,6 +1942,10 @@ | |
display: block; | |
} | |
+#request-filesystem-credentials-dialog { | |
+ display: none; |