Changeset 1883423
- Timestamp:
- 05/29/2018 02:56:23 PM (8 years ago)
- Location:
- phototools/trunk
- Files:
-
- 2 edited
-
phototools.php (modified) (6 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
phototools/trunk/phototools.php
r1882795 r1883423 2 2 /** 3 3 * @package phototools 4 * @version 1. 04 * @version 1.1 5 5 */ 6 6 /* … … 9 9 Description: Dashboard widgets for photosites 10 10 Author: Gerhard Hoogterp 11 Version: 1. 011 Version: 1.1 12 12 Author URI: https://www.funsite.eu/ 13 13 */ … … 21 21 const FS_TEXTDOMAIN = 'phototools'; 22 22 const FS_PLUGINID = 'phototools'; 23 const NO_IMAGE = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 39.687 39.688" height="150" width="150"><g transform="matrix(1.76368 0 0 1.6497 -8.564 -130.72)" fill="#fff" stroke="gray" stroke-width=".155"><rect width="22.34" height="23.898" x="4.936" y="79.318" ry=".399" stroke-linecap="round" stroke-miterlimit="0" paint-order="fill markers stroke"/><path d="M4.936 79.318l22.34 23.898M27.275 79.318l-22.34 23.898" fill-rule="evenodd"/></g></svg>'; 23 24 24 25 public function __construct() { … … 382 383 383 384 function publishingSoon() { 385 384 386 $phototools_options = get_option('phototools_options'); 385 387 $args = array( … … 392 394 'date_query' => array( 393 395 array( 394 'after' => strftime('%T %D', time()) , 395 'inclusive' => false, // Don't include the current post in the query 396 396 'after' => current_time( 'mysql' ) , 397 'inclusive' => true, // Don't include the current post in the query, 397 398 ) 398 399 ) … … 417 418 'date_query' => array( 418 419 array( 419 'before' => strftime('%T %D', time()) ,420 'before' => current_time( 'mysql' ) , 420 421 'inclusive' => false, // Don't include the current post in the query 421 422 422 ) 423 423 ) -
phototools/trunk/readme.txt
r1882795 r1883423 5 5 Tested up to: 4.9.5 6 6 Requires PHP: 5.6 7 Stable tag: 1. 07 Stable tag: 1.1 8 8 Donate link: https://www.funsite.eu/plugins/&utm_source=readme&utm_campaign=phototools 9 9 License: GPLv2 or later … … 41 41 First release 42 42 43 = 1.1 = 44 Fixed timezone issue 45 43 46 == Upgrade Notice == 44 47
Note: See TracChangeset
for help on using the changeset viewer.