This file contains hidden or 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
| { | |
| "require": { | |
| "altis/cloud": "^2.0", | |
| "altis/cms-installer": "0.3.2", | |
| "altis/core": "^2.0", | |
| "altis/media": "^2.0", | |
| "johnpbloch/wordpress": "5.3.*", | |
| }, | |
| "require-dev": { | |
| "altis/dev-tools": "^2.0", |
This file contains hidden or 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 | |
| /* ********************************************************* * | |
| * WARNING WARNING WARNING! * | |
| * Written in about ten minutes, only roughly tested. * | |
| * ********************************************************* */ | |
| /** | |
| * Do not allow meta caps unrelated to posts. | |
| * | |
| * @param string[] $caps Array of required capabilities. |
This file contains hidden or 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
| // After WP Core's comment-reply.js is loaded. | |
| (function () { | |
| if ( typeof addComment === 'undefined' ) { | |
| return; | |
| } | |
| // Source: Jetpack comments module by Automattic. | |
| // See https://github.com/Automattic/jetpack/blob/2e9efb22810cbd0e60ad2d2a9158e47a4432577c/modules/comments/comments.php#L375-L413 | |
| addComment._myPlugins_moveForm = addComment.moveForm; |
This file contains hidden or 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
| @-moz-document url-prefix(https://www.abc.net.au/news), | |
| domain(www.linkedin.com), | |
| domain(twitter.com), | |
| domain(www.theage.com.au), | |
| domain(www.smh.com.au) { | |
| html::before { | |
| content:"It's all terrible and depressing." !important; | |
| display: block !important; | |
| position: fixed !important; | |
| top: 0 !important; |
This file contains hidden or 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 | |
| // Start the Loop. | |
| while ( have_posts() ) : the_post(); | |
| // post_class(); | |
| ?> | |
| <p><?php the_ID(); ?></p> | |
| <?php | |
| endwhile; | |
| ?> |
This file contains hidden or 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 | |
| /** | |
| * Register assets required by the theme. | |
| */ | |
| function pwcc_register_assets() { | |
| wp_register_style( | |
| 'pwcc-styles', | |
| get_stylesheet_uri(), | |
| array(), |
This file contains hidden or 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 | |
| class ahRemoveYoastNag_Remove_Yoast_SEO_Nag { | |
| private $yoastPluginFile; | |
| public function __construct() { | |
| $this->yoastPluginFile = "wordpress-seo/wp-seo.php"; |
This file contains hidden or 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
| "\uD83D\uDC3C\uD83C\uDDE8\uD83C\uDDF3" |
This file contains hidden or 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
| --- keyring-importer-instagram.php | |
| +++ (clipboard) | |
| @@ -55,7 +55,11 @@ | |
| // First import starts from now and imports back to day-0. | |
| // Auto imports start from the most recently imported and go up to "now" | |
| + | |
| + $post_type = apply_filters( 'keyring_post_type', 'post', static::SLUG ); | |
| + | |
| $latest = get_posts( array( |
This file contains hidden or 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
| diff --git a/content/plugins/wordpress-seo/js/wp-seo-metabox.js b/content/plugins/wordpress-seo/js/wp-seo-metabox.js | |
| index ecbbf24..62a6a46 100644 | |
| --- a/content/plugins/wordpress-seo/js/wp-seo-metabox.js | |
| +++ b/content/plugins/wordpress-seo/js/wp-seo-metabox.js | |
| @@ -282,12 +282,12 @@ function yst_updateDesc() { | |
| snippet.find('.desc span.content').html(''); | |
| yst_testFocusKw(); | |
| - if (tinyMCE.get('excerpt') !== null) { | |
| + if ( window.tinyMCE && tinyMCE.get('excerpt') !== null) { |