Giter Club home page Giter Club logo

plugin-notes-plus's People

Contributors

brianhenryie avatar jamiebergen avatar ramiy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

plugin-notes-plus's Issues

Feature request: Global Notes on Multisite

It would be SUPER EXCELLENT BEYOND GREAT if when making a note, we can set it as a

GLOBAL NOTE that appears on the plugin page of every site on a multisite network
OR
SITE SPECIFIC NOTE so the note only appears on the site where it is added

GLOBAL NOTES would always display IN ADDITION TO SITE SPECIFIC NOTES on every site.
GLOBAL NOTES would also display on the network plugin page.

Is there any chance for this feature to be added in a future update?

Thank you for considering this request.

Sincerely,
Phil D

From: https://wordpress.org/support/topic/feature-request-for-global-notes-on-multisite/

WP 5.7: wp_localize_script requires array

Looks like a deprecation with the latest WordPress.

Affecting:

wp_localize_script( 'pnp_updates_script', 'updates', $updates_json_str );

{
  "function": "WP_Scripts::localize",
  "message": "The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead.",
  "version": "5.7.0",
  "exception": "
    #0 /path/to/wp-includes/class.wp-scripts.php(496): _doing_it_wrong('WP_Scripts::loc...', 'The <code>$l10n...', '5.7.0')
    #1 /path/to/wp-includes/functions.wp-scripts.php(221): WP_Scripts->localize('pnp_updates_scr...', 'updates', '[[],{\"62\":{\"not...')
    #2 /path/to/wp-content/plugins/plugin-notes-plus/admin/class-plugin-notes-plus-admin.php(118): wp_localize_script('pnp_updates_scr...', 'updates', '[[],{\"62\":{\"not...')
    #3 /path/to/wp-includes/class-wp-hook.php(292): Plugin_Notes_Plus_Admin->enqueue_scripts('update-core.php')
    #4 /path/to/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #5 /path/to/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #6 /path/to/wp-admin/admin-header.php(102): do_action('admin_enqueue_s...', 'update-core.php')
    #7 /path/to/wp-admin/update-core.php(980): require_once('/home/customer/...')
    #8 {main}
  "
}

I only noticed this in the logs. The notes are appearing fine on the updates screen!

Move language files to translate.wordpress.org

@jamiebergen

You should delete all the PO/MO files from the plugin. All the translation strings should be uploaded to https://translate.wordpress.org/projects/wp-plugins/plugin-notes-plus/ . This way the plugin stays small and efficient.

WordPress will automatically download the language files. And only the languages used by the site, not all the languages.

WP Core has a cron job every 12 hours. It check for core/plugins/themes updates. In adittion it check for new translation strings. If some plugin have new strings, WordPress will download the PO/MO files to /wp-content/languages/plugins/

Abandoned plugin?

On its official page, the following warning can be found:
"This plugin has not been tested with the latest 3 larger versions of WordPress. It may no longer be maintained or supported. There may also be compatibility issues when used with more recent versions of WordPress."

Has this (very useful) plugin been abandoned?

Notes on WordPress updates screen feature request

I'd like to suggest the feature of also showing the notes on the WordPress updates screen.

Here's my use case. I have a plugin that was recently updated and the new version breaks my site. I rolled back to the prior version and added a note about the situation to the plugin. But if another admin decides to apply updates through the update screen it is possible that will happen without ever seeing the note.

Feature request: Option to add background color to notes

See feature requests here:

"I also liked the way Plugin Notes coloured the background to make the notes stand out, although the method of selecting the colour by hex code was very poor to use."

"The old has some nice background selection,. easier to identify them in group. instance i use red bg for danger /dont deactivate series of plugins, is that possible here ?"

Feature request: Option to place notes in the description column

See feature request here: https://wordpress.org/support/topic/request-for-different-placement-of-notes/

"Plugin Notes places its notes in the description column, rather than adding an extra column. I find this much preferable because there is plenty of width available and it avoids widening the screen width required and deepening the height used for each plugin, as happens when there is only a narrow space available in the extra column. I also liked the way Plugin Notes coloured the background to make the notes stand out, although the method of selecting the colour by hex code was very poor to use.

Please consider the alternative placement, either as a change or option. I can supply examples or copy of the code if required. Thanks."

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.