golden hour
/home/doctorbruno/public_html/pgmed.org/wp-content/plugins/worker/src/MWP/WordPress/Query
⬆️ Go Up
Upload
File/Folder
Size
Actions
Abstract.php
1.12 KB
Del
OK
Comment.php
871 B
Del
OK
Interface.php
431 B
Del
OK
Post.php
2.06 KB
Del
OK
User.php
1.64 KB
Del
OK
index.php
28 B
Del
OK
Edit: Comment.php
<?php /* * This file is part of the ManageWP Worker plugin. * * (c) ManageWP LLC <contact@managewp.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ class MWP_WordPress_Query_Comment extends MWP_WordPress_Query_Abstract { public function query(array $options = array()) { $options += array( 'query' => null, 'prefixName' => '{{prefix}}', 'deserialize' => array(), 'tryDeserialize' => array(), ); $query = str_replace($options['prefixName'], $this->getDb()->prefix, $options['query']); $comments = $this->getDb()->get_results($query, ARRAY_A); $this->deserialize($comments, $options['deserialize'], $options['tryDeserialize']); return $comments; } }
Save