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 | |
| global $wpdb; | |
| $myid = 157; | |
| $views = $wpdb->get_results($wpdb->prepare( | |
| 'SELECT p.ID | |
| FROM `wp_posts` as p | |
| LEFT JOIN `wp_postmeta` as m ON p.ID=m.post_id | |
| WHERE m.meta_id IN ( | |
| SELECT meta_id FROM wp_postmeta |
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
| /vendor/ | |
| /ua-detector.phar | |
| composer.lock |
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
| var callback = function(event) { | |
| //Protection contre le hack, on n'autorise que les event venant de la frame cible | |
| var origin = event.origin || event.originalEvent.origin; | |
| if (origin !== 'http://domaine.de.ton.iframe.com') { | |
| return; | |
| } | |
| if (event.data === 'tonmessage') { | |
| //Ici tu peux déclencher ton tracker | |
| } |
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 declare(strict_types=1); | |
| namespace App\Tests\Features\SynchronousJob; | |
| use App\Tests\Features\SynchronousTestCase; | |
| use App\Tests\Features\SynchronousTestKernel; | |
| class PushJobWithRetryOnTaskFailTest extends SynchronousTestCase | |
| { | |
| protected static function createKernel(array $options = []) |
OlderNewer