Git Product home page Git Product logo

draft-list's People

Contributors

dartiss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

alexclassroom

draft-list's Issues

Rename plugin

Renaming from Draft List to To Be Published, to promote the fact that this is no longer about drafts.

Add Github links

  • Need to change plugin URL to that of Github in plugin header
  • Add Github link to plugin meta, before Support link

Include pending posts

They're still technically drafts (Gutenberg show them as such, just pending drafts) so should be included in all list (front and back end).

Padding around draft count

Currently looking at a draft count of 6 in the admin bar and there's too much padding one side. There was issue with padding with the recent admin upgrade and I wonder if this has got left behind. Confirm that I'm using the same CSS as the 'official' sidebar totals.

Fix PHPCS issues

Need to bring all code into line with WordPress and WordPress VIP standards.

Warning: Use of undefined constant artiss_draft_list_version

Warning: Use of undefined constant artiss_draft_list_version - assumed 'artiss_draft_list_version' (this will throw an Error in a future version of PHP) in /var/sites/a/artiss.uk/public_html/sandbox/wp-content/plugins/simple-draft-list/includes/generate-code.php on line 86

Change draft tag

Need to change {{draft}} tag to {{post}} tag, as it may not be a draft anymore.

Remove caching

Caching was OTT and new performance changes should negate the need.

Will remove.

Scheduled - only

Hello,

is there an option to add "ONLY" for scheduled parameter that will ONLY add these drafts that have a future publish date already setted up?
It would be great to show readers what will come and what is already ready to publish but waiting.
Maybe even with new template tag {{publish_date}} to show even that information?
Thank you and have a nice day
also - this plugin is great!

Parameter inconsistency

For the scheduled parameter it has to be yes or no, but I see pending being set to true with no errors thrown. What's the truth here?

Not predefined variable $Code

Hey

My issue is:
2022/06/21 08:19:51 [error] 21441#21441: *2242291 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined variable $code in /PATHblog/wp-content/plugins/simple-draft-list/inc/create-lists.php on line 241" while reading upstream, client: [[IP]], server: [[MYDOMAIN]], request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.0-fpm.sock:", host: "[[MYDOMAIN]]"

Could you please check it?
For me it was enough to add
$code = "";
in line 75 of INC/Create-list.php

i`m not sure if it is a proper way but it worked and i dont have this error in logs for each site recreation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.